PDA

View Full Version : Lua Decompiler?


nickersonm
5th Sep 03, 3:38 PM
Does anyone know of any lua decompilers? I found one (http://www.geocities.com/skochinsky/) written for Escape from Monkey Island, but it complains that the HW2 luas don't have the right version ("Bad lua version in file texture.lua: found 64, expected 49."). Perhaps someone experienced in this area could ask the author (mailto:skochinsky@mail.ru) for informaiton.

- nickersonm

Rei Ayanami
5th Sep 03, 3:51 PM
Hm, i think that relic use its own .lua file format. They said something like this in the interview. Personaly i think that relic has use many own created file formats. I am no programmer so i dont know how mush time it will net to create a tool to decompile the format. But i hope it will ready soon ^^.

nickersonm
5th Sep 03, 4:03 PM
Well, if they still use the standard compiler, here is another bit of information. They use Lua 4.0, not 5.0:

>lua5 texture.lua
lua5: texture.lua too old: read version 4.0; expected at least 5.0

Rei Ayanami
5th Sep 03, 4:16 PM
Hey you reashed the right way. on the relic Homepage they talked about, that they use THIS lua (http://www.relic.com/industry/articles/scripting.php . Now we just have to find out a Prog that can read lua 4.0 files.

Lua Homepage (http://www.lua.org/)

nickersonm
5th Sep 03, 7:23 PM
Well, I have a lua 4 binary - just search on google for "lua 4.0.1 binary" and you should get it. It can read it, but it can't decompile it, that I know of ;).

- nickersonm

CmdKewin
6th Sep 03, 4:21 AM
http://www.lua.org/versions.html


and while I'm at it...


http://lua-users.org/wiki/

Rei Ayanami
6th Sep 03, 6:53 AM
I ahve tried many of these programs out but non of them could realy read all the information a claer way.