LuaQ files

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
hackspeedok
Posts: 404
Joined: Mon Oct 06, 2014 6:41 pm

LuaQ files

Post by hackspeedok »

Help me, aluigi ?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: LuaQ files

Post by aluigi »

unluac seems to give some results:
http://sourceforge.net/projects/unluac/files/
hackspeedok
Posts: 404
Joined: Mon Oct 06, 2014 6:41 pm

Re: LuaQ files

Post by hackspeedok »

I got a new file, but can't display character, can you tell me ?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: LuaQ files

Post by aluigi »

I suppose they are utf8 characters used, for example, in asian alphabets and so it displays them as a sequence of bytes.

The following script should be able to make the lua script more readable:
http://aluigi.org/papers/bms/unescape_strings.bms

*edit*
I confirm, it works. The resulted strings are in chinese :)
hackspeedok
Posts: 404
Joined: Mon Oct 06, 2014 6:41 pm

Re: LuaQ files

Post by hackspeedok »

aluigi wrote:I suppose they are utf8 characters used, for example, in asian alphabets and so it displays them as a sequence of bytes.

The following script should be able to make the lua script more readable:
http://aluigi.org/papers/bms/unescape_strings.bms

*edit*
I confirm, it works. The resulted strings are in chinese :)

Thanks so much Aluigi. You work perfect :)
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: LuaQ files

Post by aluigi »

I have also updated it to version 0.2 to work seriously on any string escape (you don't need to reuse it because the output is the same of the previous version for that decompiled CN.lua).
I hope it will be useful not only for this specific case but also in other situations... who knows.
Rulesless
Posts: 39
Joined: Mon Mar 02, 2020 3:32 am

Re: LuaQ files

Post by Rulesless »

aluigi wrote:unluac seems to give some results:
http://sourceforge.net/projects/unluac/files/

Error "Exception in thread "main" java.lang.NegativeArraySizeException", latest version with this file
Thanks for help