Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

THN decompiler

Here you can find the postings on the different editing utilities found for Freelancer

Post Sat Mar 29, 2003 9:46 am

THN decompiler

Hello,

http://hosted.nihilogic.dk/freelancer/fled-thorn.zip

This is a decompiler for the .thn files in /data/scripts/ and /data/missions/

It uses the lua compiler (which is included in the zip) to undump the bytecode and then turns it into readable code. The scripts do not need to be recompiled for the game to use them.

I'm not sure how much we can do with these files, but my station now has different lighting depending on the time of day =)

Edit: Please use [email protected] for bugs, questions, etc. as I don't read these forums anymore.

Edited by - dixi on 28-07-2003 20:37:10

Post Sat Mar 29, 2003 10:11 am

great work
this will be very usefull

Post Sat Mar 29, 2003 11:38 pm

I ran into a problem though..
It says something like "unable to create temporary file"

Post Sat Mar 29, 2003 11:41 pm

OHHH!


This will be VERY usefull for creating custom missions! TYVM

Post Sun Mar 30, 2003 2:02 pm

RubberEagle: any chance that the program can't write to the folder it's located in?

Post Sun Mar 30, 2003 3:45 pm

Moved it to the root of the HD, now it works.. sorta... it only produces empty files
*argh* what am i doing wrong?

Edited by - RubberEagle on 30-03-2003 16:48:46

Post Sun Mar 30, 2003 4:39 pm

Gah..stupid spaces.

Think I fixed it now.

Post Sun Mar 30, 2003 7:00 pm

yep, works great now
Thanks

Post Tue May 06, 2003 7:29 am

But after compiling files had not the same structure as original!... And makes a animation crashes! I found that in some places the "06" appears instead "08" as in original file? How do you win this problem?

Sorry my bad English

Post Tue May 06, 2003 2:33 pm

Which file caused the problem?

Post Thu May 08, 2003 10:41 am

s002xe_nrml_sinclair_li_01_cityscape_01.thn.lua for examle

Post Thu May 08, 2003 12:30 pm

Ok, I'll take a look at it. Could you perhaps email me your decompiled .thn file? ([email protected])

Post Tue May 27, 2003 12:06 pm

Hi all! To view and edit .THN files, just grab this tool SciTE at the follow address: http://www.scintilla.org and get all the info possible about Lua language (currently at ver.5.xx). There are links to the Lua site, too.

Me, myself & the others.

Post Tue May 27, 2003 8:01 pm

I hope this works....

Post Thu May 29, 2003 9:24 am

And so... smb could edit scripts and make smth like new missions in single player?

Return to Freelancer Editing Utilities Forum