Tomb Raider Forums  

Go Back   Tomb Raider Forums > Tomb Raider Level Editor and Modding > Tomb Raider Level Editor > Software Development

Reply
 
Thread Tools
Old 29-07-20, 13:18   #1
sapper
Member
 
sapper's Avatar
 
Joined: Sep 2007
Posts: 1,684
Default eSSe script2 decompiler

Edit: new version
Script2Decompiler0_2.zip
-------------------------------------------------------------------------------------------------------------------------

Quote:
script2.dat decompiler readme

Program to decompile script2.dat files created by eSSe scripting program.
eSSe is part of the Tomb Raider Engine Patcher (TREP) toolkit. (http://trep.trlevel.de)

Instructions:

Open script2.dat file and decompiled text will be shown.
Save the text as script2.txt.

Notes:
~ Only entries that have been changed from default values will be shown but all entries
in "aliases.txt" are compiled into script2.dat.
~ eSSe uses default values for any entry not specified in script2.txt.
~ Default values are specified in the file "aliases.txt" which is required for this program to run.
~ "aliases.txt" is included and must be in the same folder as this program.

sapper July 2020

for Fluen

Script2Decompiler.zip


Last edited by sapper; 31-07-20 at 05:31.
sapper is offline   Reply With Quote
Old 29-07-20, 17:26   #2
HeinzFritz
Member
 
Joined: Feb 2006
Posts: 536
Default

I was wondering for years why such a program was not bundled into the TREP tool kit in the first place. Absolutely necessary when trying to modify script2.dat without guessing and searching for the hiding place of the original script2.txt.
Thanks Sapper!
HeinzFritz is offline   Reply With Quote
Old 30-07-20, 19:59   #3
Kevin
Member
 
Kevin's Avatar
 
Joined: Mar 2008
Posts: 801
Default

Nice!

Now all we need is a tomb4 decompiler to see what patches have been used on an exe. But I guess that would be a tiny bit more complicated to create and not worth the stress.
Kevin is offline   Reply With Quote
Old 31-07-20, 05:30   #4
sapper
Member
 
sapper's Avatar
 
Joined: Sep 2007
Posts: 1,684
Default small update

Code:
Version 0.2 changes:

All BOOL type entries displayed as DISABLED/ENABLED.

Even though "aliases.txt" has some BOOL default values as '0' or '1', in your
script2.txt you must use 'DISABLED'/'ENABLED' to set them correctly. eSSe will
compile always '0' or '1' to DISABLED.

Script2Decompiler0_2.zip
sapper is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 09:04.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Tomb Raider Forums is not owned or operated by CDE Entertainment Ltd.
Lara Croft and Tomb Raider are trademarks of CDE Entertainment Ltd.