Gerys wrote:Here is the file for quickbms (l32/l64).
Thanks.
Now I have a .luc file but when I use it with luajit the output is empty. Can someone explain to me all the steps I have to do from the .l64 file to get a readable .lua file? Thanks
Gerys wrote:Here is the file for quickbms (l32/l64).
Gerys wrote:Here is the file for quickbms (l32/l64).
Mmtrx wrote:Ok, solved. The l64 files are obfuscated by a 64-bit key that gets decreased by 8 for each consecutive 8-byte block. After de-obfuscating, you can feed the l64 files to luajit-decompiler to get readable Lua sources.
random418 wrote:Mmtrx wrote:Ok, solved. The l64 files are obfuscated by a 64-bit key that gets decreased by 8 for each consecutive 8-byte block. After de-obfuscating, you can feed the l64 files to luajit-decompiler to get readable Lua sources.
Hi, could you explain how to de-obfuscate the l64 files? I've been able to run through every step, but when using the LuaJit decompiler, I get an I/O error for most files, probably due to the obfuscation you described.
Mmtrx wrote:Seems that the .l64 luajit byte code files have been encrypted, after being dumped with luajit. If somebody could find the decrypt algorithm, I could use a luajit-decompiler to get (close to) the original Lua source. Based on the 2 files by kenny2801, I attach a sample of the plain and encrypted .l64 files.
Ok, solved. The l64 files are obfuscated by a 64-bit key that gets decreased by 8 for each consecutive 8-byte block. After de-obfuscating, you can feed the l64 files to luajit-decompiler to get readable Lua sources.
Since I was interested in the field mission system, I attach AbstractFieldMission.lua, AbstractMission.lua as an example.
Mmtrx wrote:You can find a deobfuscator here: https://github.com/chill1Penguin/l64decode
thediabl0 wrote:Mmtrx wrote:You can find a deobfuscator here: https://github.com/chill1Penguin/l64decode
I can run shapesUnlocker.py with python 3.9, but l64decode.py I can't see nothing...