Coder Social home page Coder Social logo

Comments (20)

jjdredd avatar jjdredd commented on August 21, 2024

When using your ldj 2.1 branch I get the error:

On which files?
Does this work with *.l32 files and not *.l64 files in fs17 or
does it work with fs15 files but not fs17 files?

from ljd.

thefoofighter avatar thefoofighter commented on August 21, 2024

Hey, Sorry it works for FS15 and not FS17, Neither .l32 or .l64 decompiled for me.

from ljd.

KITT3000 avatar KITT3000 commented on August 21, 2024

@jjdredd If you are working on a decompiler for files from FS17, I can provide source files and compiled from this game (version 1.3.1.0).

from ljd.

jjdredd avatar jjdredd commented on August 21, 2024

I have very limited time so at this point I just hope it's an easy fix.

from ljd.

thefoofighter avatar thefoofighter commented on August 21, 2024

@KITT3000 What do you mean by Source files? the .l32/.l64 files or the Lua source?? :O

@jjdredd I understand, thanks for any help you can provide :)

from ljd.

jjdredd avatar jjdredd commented on August 21, 2024

Ok, I've added the new flag, however that doesn't seem to help.

from ljd.

KITT3000 avatar KITT3000 commented on August 21, 2024

@thefoofighter In one update, Giants left the ".lua" files by mistake before the compilation.

from ljd.

thefoofighter avatar thefoofighter commented on August 21, 2024

FS17 Lua & luc sample.zip
@KITT3000 so they did! Thank you for that info. Having the source files should help alot when making decompiler. Not expecting you to do it @jjdredd but perhaps someone someday might get a chance,

@KITT3000 you hardly have binary/ida/x64dbg knowledge? I have used them on a few occasions to unlock abandonware but reverse engineering a compiled and maybe even encrypted format looks tough..

@jjdredd what was the new flag? If you need the whole source for testing some time I also have it now thanks to @KITT3000's pointer

from ljd.

KITT3000 avatar KITT3000 commented on August 21, 2024

@thefoofighter Unfortunately not.

from ljd.

jjdredd avatar jjdredd commented on August 21, 2024

They could've changed the bytecode dump format. A binary of the game would help if it isn't stripped.
And try not to break the tos/law by posting such files on GH.

from ljd.

jjdredd avatar jjdredd commented on August 21, 2024

well it isn't really "new" 90fefbd

from ljd.

Pierrot08 avatar Pierrot08 commented on August 21, 2024

Hello,
I have a problem using the decompiler, can you help me?

Python 3.6.3 (v3.6.3:2c5fed8, Oct 3 2017, 17:26:49) [MSC v.1900 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.

== RESTART: C:\Users\pierre-antoine\Downloads\ljd-ljv2.1\ljd-ljv2.1\main.py ==
Traceback (most recent call last):
File "C:\Users\pierre-antoine\Downloads\ljd-ljv2.1\ljd-ljv2.1\main.py", line 123, in
retval = main()
File "C:\Users\pierre-antoine\Downloads\ljd-ljv2.1\ljd-ljv2.1\main.py", line 75, in main
file_in = sys.argv[1]
IndexError: list index out of range

C:/Users/pierre-antoine/Downloads/FS17.luc.files/FS17 luc files/Gui.l32
SyntaxError: invalid syntax

from ljd.

thefoofighter avatar thefoofighter commented on August 21, 2024

@Pierrot08 That is because the decompiler doesn't currently work on FS17 compiled lua code.

from ljd.

Pierrot08 avatar Pierrot08 commented on August 21, 2024

ha sorry
my error above that I launched the decomplileur in python and not in CMD
For luc no worries ^^ but for the same error as you, hoping that you find a solution
Sorry for the inconvenience

from ljd.

thefoofighter avatar thefoofighter commented on August 21, 2024

@Pierrot08 Np, if you want to have a look at the source get a hold of the 1.3.1 update and using universal extractor dump the contents to a folder, find the .gar files and extract with quickbms & giants config.

The .lua's are intact and i doubt there are too many major changes to 1.5.1
Good source to learn how Giants made some things to help with modding ^^

Good Luck :)

from ljd.

naruken16 avatar naruken16 commented on August 21, 2024

hello sorry how to start the main.py file? and what phyton version should I use?

from ljd.

KITT3000 avatar KITT3000 commented on August 21, 2024

@naruken16 Read it: https://github.com/jjdredd/ljd/blob/bugfix/README.md
I used version 3.5+ on Linux Mint and there the command was:
python3 main.py script.luc
Of course, before I went to the directory with the decompiler files and threw in the decompilation file there.

from ljd.

naruken16 avatar naruken16 commented on August 21, 2024

thanks

from ljd.

naruken16 avatar naruken16 commented on August 21, 2024

have this error
Unknown flags set: 1111111000
Failed to read raw-dump header

from ljd.

Eepsquared avatar Eepsquared commented on August 21, 2024

Any update on this and progress towards reading FS19's L32/L64 files?

More info: https://zenhax.com/viewtopic.php?t=4094

from ljd.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.