XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Fri Aug 18, 2017 12:18 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: l32 / l64 to lua
PostPosted: Thu Jul 13, 2017 5:52 pm 
Offline
ultra-n00b

Joined: Thu Jul 13, 2017 5:42 pm
Posts: 1
Has thanked: 0 time
Have thanks: 0 time














You can make the ads go away by registering

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


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: l32 / l64 to lua
PostPosted: Mon Jul 17, 2017 8:58 am 
Offline
beginner
User avatar

Joined: Sat Sep 27, 2014 9:19 am
Posts: 36
Location: 127.0.0.1
Has thanked: 0 time
Have thanks: 14 times
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: Fyyre, Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group