Just change the game path to match your game.
Then manually rename the original and decrypted files.
Code: Select all
local input = io.open("E:/Games/Good Company/manifest/gamedata.json")
local output = io.open("E:/Games/Good Company/manifest/gamedata.decrypted.json", "w")
input:read(2) -- skip first two bytes
while true do
local chars = input:read(2048)
if chars == nil then
break
end
for i = 1, #chars do
local byte = chars:byte(i)
byte = bXor(byte, 5)
local char = string.char(byte)
output:write(char)
end
end
input:close()
output:close()
print("done")
How to use this cheat table?
- Install Cheat Engine
- Double-click the .CT file in order to open it.
- Click the PC icon in Cheat Engine in order to select the game process.
- Keep the list.
- Activate the trainer options by checking boxes or setting values from 0 to 1