ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Mon Dec 10, 2018 8:26 pm

All times are UTC




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Oct 10, 2018 9:16 am 

Joined: Sun Sep 30, 2018 1:58 pm
Posts: 9
Greetings,

so new World using LUA Files, currently they using Lua Compiled Files ("LuaQ Header"). However, they still have propper LUA Files in as well, sadly I was not able to recompile the Source File to LUA Bytecode, since they use a different compiler.

I am curious if anyone can help me to Compile the files propperly so the game will accept them?

I uploaded both files as refference:

https://www36.zippyshare.com/v/OdnQilat/file.html
https://www36.zippyshare.com/v/BuaqbayZ/file.html


Top
   
PostPosted: Fri Oct 12, 2018 6:42 pm 
User avatar

Joined: Sat Dec 27, 2014 8:49 pm
Posts: 104
Based on the start of the header, it shows LuaQ which is usually Lua 5.1.x. The Q is 51 in hex, which is the LUAC_VERSION id that it was compiled with.
The next 0 is the LUAC_FORMAT which is standard to be 0.

The rest of the header looks normal. The only difference is there is a 03 00 at the start of the file that is normally not there. So you may need to manually add that back after you recompile the Lua.

_________________
My personal site: http://atom0s.com
Donations can be made via Paypal: Click Here


Top
   
PostPosted: Sat Oct 13, 2018 8:03 pm 

Joined: Sun Sep 30, 2018 1:58 pm
Posts: 9
Got it working with a real Lua Compiler thanks :) 5.1 was the Hint I needed.


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

All times are UTC


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:
Powered by phpBB® Forum Software © phpBB Limited