Reply To: Modding

Home Forums General Discussions Forum Modding Reply To: Modding

LolHacksRule
@dante-mele

Encrypt the LUAs? You don’t, you compile them for Lua 5.1.4 (Lua version the game uses), replace the clean ones in the archive for each (if you don’t have any, decrypt an LUA by yourself with OpenSSL or something similar then delete the first 9 bytes to get an archive based on the files you want to modify), add back the 9 byte LZMA header and finally use the key but for encrypting the archive-based LUA. JSONs are similar, config ZIPs are 7z after decryption with plaintext JSONs config.json (root) is a 7z having a plaintext JSON, other JSONs are encrypted similarly to LUAs.