Reply To: Modding

Home Forums General Discussions Forum Modding Reply To: Modding

LolHacksRule
@dante-mele

Its a compiled LUA, you can actually edit it compiled but its pretty confusing, so decompile it with unluac.jar if you have Java, then recompile it with LUA 5.1.4 after changes, then pack it in a 7z, and encrypt. There may be a precompiled header error, if so, the bytecode of the file is dependent… Also it’s not possible to add the modern version editor to the PC version (4.0.0) after setting the flag, you probably will have to convert it to the newer version for it to work… Finally, yes the PC version wants identical LUA code alignment for its LUAs, meaning compiling will give extra empty bytes to make the LUA have a header error most of the time. Three empty bytes of a line means its often correct, I tried to decrypt options.lua, decompile, recompile without any changes except 08-04, encrypt and add to the game and got an error about “precompiled chunks”. I managed to get the FPS display (PC) and debug console.