TelltaleGames's LUA file [How to decompile it?]

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Starnova
Posts: 16
Joined: Fri Aug 08, 2014 1:00 am

TelltaleGames's LUA file [How to decompile it?]

Post by Starnova »

Hi, as the title describes it, I need help decompiling the LUA files. If anyone knows something, the help will be appreciate...
I tried with decompilers from Lua Tools, but it didnt work for me.

Regards...
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: TelltaleGames's LUA file [How to decompile it?]

Post by aluigi »

I'm checking _resourcedescriptions_500_Fables105.lua by myself.

Please note that this is the first time I check LUA stuff.

Chunkspy and Luadec clearly state that some opcodes or even parts of the header (0x04 at offset 10) are non standard.
Even modifying them doesn't produce a result because there are multiple issues.

The LuaAssemblyTools don't work at all.

The Lua version used in the game is 5.1.4, so it may be possible that they have modified some constants in the original Lua library.

Regarding the lenc decryption, it's all correct because it's just blowfish.
Starnova
Posts: 16
Joined: Fri Aug 08, 2014 1:00 am

Re: TelltaleGames's LUA file [How to decompile it?]

Post by Starnova »

Hi, I found a pretty older but awesome tool, it never crossed my mind this was going to work. The trick is clicking on The Walking Dead 400days Dlc option. It seems that Telltale keep using its version of files. You can save the Lenc files as Lua!!! Amazing! I leave screenshots and the link for the tools.

Bennyboy is the creator of the tool.
Link: http://quickandeasysoftware.net/software/telltale-explorer

Minitut:


Image

Image

Image

Image
Starnova
Posts: 16
Joined: Fri Aug 08, 2014 1:00 am

Re: TelltaleGames's LUA file [How to decompile it?]

Post by Starnova »

Now, like you say is not enough for the lenc files in the Pack folder. The russian team Tolma4 Team did it, but maybe they dont want to share anymore, I dont know.

I also would like to know more about the .prop the .scene and the .chores files... their seem to be like Lua, too. Regards.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: TelltaleGames's LUA file [How to decompile it?]

Post by aluigi »

They look like compiled scripts but I don't know if they are related to lua.
I remember that usually people worked with the landb editor for making the translations, what are the advantages of modifying also these other files?