ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Thu Oct 22, 2020 6:19 pm

All times are UTC




Post new topic  Reply to topic  [ 23 posts ]  Go to page 1 2 Next
Author Message
PostPosted: Sun Apr 16, 2017 11:43 am 

Joined: Sun Apr 16, 2017 11:40 am
Posts: 4
Hello community

I am looking for a tool or program which can open with L32 / l64 file which is only lua sciprte included for the game Farming Simulator 17 you have an idea or even a tool for it

Many thanks for your crates

Mfg
Bruse


Top
   
PostPosted: Mon Apr 17, 2017 2:45 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 11688
Upload the files although I highly suspect they are precompiled dlls by judging their names.


Top
   
PostPosted: Mon Apr 24, 2017 3:32 pm 

Joined: Sun Apr 16, 2017 11:40 am
Posts: 4
Sorry i will upload you a file tonight
If that is ok it could tell me how to decrypt this
When they get it

Many thanks already times for their effort


Top
   
PostPosted: Mon Apr 24, 2017 7:39 pm 

Joined: Sun Apr 16, 2017 11:40 am
Posts: 4
Be the first
The date

Mfg
Bruse


Attachments:
Datas.zip [6.07 KiB]
Downloaded 369 times
Top
   
PostPosted: Mon Apr 24, 2017 8:50 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 11688
Ok it's Lua 2.0 ("\x1bLJ"): http://wiki.luajit.org/Bytecode-2.0

I don't know what's the best decompiler for it, I hope other users with such knowledge can help you.


Top
   
PostPosted: Fri May 12, 2017 7:51 am 

Joined: Fri May 12, 2017 7:41 am
Posts: 1
Hey there,
I think this thread must be pushed up, because its very interesting how to read the *SPAM**** buggi scripts from Giants.

I hope here is a user who knows how to decombile the scripts legibly


Top
   
PostPosted: Sun Mar 04, 2018 3:46 pm 

Joined: Thu Jan 18, 2018 11:29 am
Posts: 2
Hello

are the .l32 files not encrypted as in ls13?
I have two different .l32 versions here, one version is encrypted and the other is not.
This would only have to be decompiled with LuaJit. grins
I've ever looked at the descriptions to make a BMS script, but then my calcified brain never gets through. :)

It would be really cool if that could look at the programmers one time.

Thank you!!

MfG Chrisu


Top
   
PostPosted: Wed Aug 08, 2018 9:43 pm 

Joined: Fri Oct 03, 2014 3:36 pm
Posts: 6
bump...if anyone can help please


Top
   
PostPosted: Sun Dec 09, 2018 4:00 pm 

Joined: Sun Dec 09, 2018 3:56 pm
Posts: 1
bonjour a tous le monde . je recherche de l aide pour modifier le script bms pour farming simulator . pour que ce scripot puisse convertir les fichiers L32/L64 au format . Lua contenu dans les 2 fichiers .gar de farming simulator 19 . merci a tous pour l aide


Attachments:
2.png [106.42 KiB]
Not downloaded yet
1.png [77.76 KiB]
Not downloaded yet
0.png [802.39 KiB]
Not downloaded yet
Top
   
PostPosted: Mon Dec 10, 2018 10:53 am 

Joined: Thu Dec 06, 2018 2:21 pm
Posts: 7
Translation:
Quote:
Hello everybody . I'm looking for help editing the bms script for farming simulator. so that this script can convert L32 / L64 files to. Lua content in the 2 .gar files of farming simulator 19. Thanks for the help everyone

You're not the only one:
viewtopic.php?f=9&t=8942
https://github.com/jjdredd/ljd/issues/7


Top
   
PostPosted: Tue Oct 22, 2019 7:58 pm 

Joined: Wed Jul 15, 2015 3:05 am
Posts: 2
Any update on this and progress towards reading FS19's L32/L64 files?

If it helps I have one encoded (l64) and one working (lua) file here.

Maybe someone can figure our how to read/convert the L64 files.


Attachments:
File comment: Lua and L64 files
files.zip [4.43 KiB]
Downloaded 310 times
Top
   
PostPosted: Sun Feb 09, 2020 7:31 am 

Joined: Sun Feb 09, 2020 7:27 am
Posts: 4
just like FS13 luc


Top
   
PostPosted: Wed May 13, 2020 7:18 pm 

Joined: Wed May 13, 2020 6:56 pm
Posts: 2
Seems that the .l64 luajit byte code files have been encrypted, after being dumped with luajit. If somebody could find the decrypt algorithm, I could use a luajit-decompiler to get (close to) the original Lua source. Based on the 2 files by kenny2801, I attach a sample of the plain and encrypted .l64 files.

Ok, solved. The l64 files are obfuscated by a 64-bit key that gets decreased by 8 for each consecutive 8-byte block. After de-obfuscating, you can feed the l64 files to luajit-decompiler to get readable Lua sources.

Since I was interested in the field mission system, I attach AbstractFieldMission.lua, AbstractMission.lua as an example.


Attachments:
File comment: decompiled lua files
Archive.zip [5.98 KiB]
Downloaded 128 times
Top
   
PostPosted: Fri Jul 24, 2020 7:18 pm 

Joined: Fri Jul 24, 2020 7:04 pm
Posts: 2
Mmtrx wrote:
Seems that the .l64 luajit byte code files have been encrypted, after being dumped with luajit. If somebody could find the decrypt algorithm, I could use a luajit-decompiler to get (close to) the original Lua source. Based on the 2 files by kenny2801, I attach a sample of the plain and encrypted .l64 files.

Ok, solved. The l64 files are obfuscated by a 64-bit key that gets decreased by 8 for each consecutive 8-byte block. After de-obfuscating, you can feed the l64 files to luajit-decompiler to get readable Lua sources.

Since I was interested in the field mission system, I attach AbstractFieldMission.lua, AbstractMission.lua as an example.


Can you possibly convert these files I've attached to be readable in Notepad++ for example. I've used this https://github.com/chill1Penguin/l64decode l64 decoder but the LuaJit decompiler, you provided a link for, is only able to do 2 files out of bunch, the rest just end up with IO error.


Attachments:
LUAs_dec.7z [14.61 KiB]
Downloaded 65 times
Top
   
PostPosted: Thu Jul 30, 2020 7:11 am 

Joined: Wed May 13, 2020 6:56 pm
Posts: 2
Thanks for the link to l64decode on git. That program does exactly the same as mine. I think your original .l64 files are corrupted: the decoded .lua files do not end with x00. Maybe you should repeat the quickBMS extraction from dataS.gar (https://zenhax.com/viewtopic.php?f=13&t=12491&hilit=datas.gar)


Attachments:
economy.zip [12.35 KiB]
Downloaded 38 times
Top
   
PostPosted: Thu Jul 30, 2020 1:41 pm 

Joined: Fri Jul 24, 2020 7:04 pm
Posts: 2
Mmtrx wrote:
Thanks for the link to l64decode on git. That program does exactly the same as mine. I think your original .l64 files are corrupted: the decoded .lua files do not end with x00. Maybe you should repeat the quickBMS extraction from dataS.gar (https://zenhax.com/viewtopic.php?f=13&t=12491&hilit=datas.gar)


Thanks much, appreciate it! I'll try to extract again. I ended up just switching economy to 'easy' for now. Good enough.


Top
   
PostPosted: Tue Aug 04, 2020 8:24 am 

Joined: Tue Aug 04, 2020 6:22 am
Posts: 1
Hello,
I'm trying to see .l64 content with this script but I think I have the same issue than other people with corrupted l64 files.
I noticed that some xml / i3d files were truncated on the last line after quickbms extraction. It's difficult to tell for binary files like l64 but it might be the case.
Do you use 0.3.3 bms file for the extraction ?
I'm really interested in lua extraction since lua doc is old and a lot of classes are missing.
Thx for your help

Edit:
I understood my error. I missed this part
Quote:
After de-obfuscating, you can feed the l64 files to luajit-decompiler to get readable Lua sources.

It works perfect now.
Thanks guys it's awesome


Top
   
PostPosted: Sun Sep 06, 2020 7:04 pm 

Joined: Sun Sep 06, 2020 6:49 pm
Posts: 2
hello, I'm new and I'm not the best expert of these things, someone can help me, I got the lua files, but I don't know how to make work luajit decomplier


Top
   
PostPosted: Thu Sep 17, 2020 6:57 pm 

Joined: Sun Feb 09, 2020 7:27 am
Posts: 4
Нow about decrypting the file .shapes? ))


Top
   
PostPosted: Thu Sep 17, 2020 7:47 pm 

Joined: Sun Feb 09, 2020 7:27 am
Posts: 4
Here is the file for quickbms (l32/l64).


Attachments:
lua17_19.bms [619 Bytes]
Downloaded 30 times
Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 23 posts ]  Go to page 1 2 Next

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