|l32 / l64 to lua
|Page 1 of 1|
|Author:||La Marchoise [ Thu Jul 13, 2017 5:52 pm ]|
|Post subject:||l32 / l64 to lua|
Hello everyone, I am modder on Farming Simulator and I will need help.
I have here 2 files in extensions l32 and l64. The game reads them in a single lua file. How can I make it possible to assemble the 2 files?
For information, as soon as I open an l32 or l64 file with a text editor, it is not LUA.
Thank you very much for your help
|Author:||atom0s [ Mon Jul 17, 2017 8:58 am ]|
|Post subject:||Re: l32 / l64 to lua|
These are compiled Lua scripts. However, they are compiled using LuaJit and not stock Lua.
The file (in a hex editor) shows the first few bytes being:
1B 4C 4A 04 FB 09 F1 6A
1B 4C 4A = the LuaJit byte code header. (BCDUMP_HEAD1, BCDUMP_HEAD2, BCDUMP_HEAD3)
04 = the LuaJit byte code header version (BCDUMP_VERSION)
Following that is the file flags and such. You will need to compile a modded version of a Lua decompiler to work with LuaJit and make sure that you are using a version that matches this header version information.
|Page 1 of 1||All times are UTC + 1 hour|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group