[Outdated] scripts.txt decompiler for M&B 0.960

Users who are viewing this thread

Invictus

Grandmaster Knight
This is the first release. It was extremely quick and somewhat dirty, so I'm sure there are some bugs.

This tool can decompile strings.txt file into module system's module_scripts.py file.
Unzip this archive to any folder and run. You only have to select source and destination folders and click "Decompile!".


System requirements: OS Windows, .NET framework 2.0 or later.

NOTE:
-Decompiled module_scripts.py file does not contain names for local variables and constans because they do not exist in compiled modules.
-build_module script says that some variables are not used. These warnings are not critical. Just ignore them.
-Back up your module folder just in case something goes wrong.
-This program goes through all .txt files of the module, so make sure the folder you are working with contains them.
-This tool DOES NOT WORK with M&B v1.003.

Download link: http://rapidshare.com/files/147653664/MBScriptsDecompiler_v0.50.zip.html

Feedback is much appreciated.

Next version will be able to decompile most of module system files, if have enough enthusiasm to release it  :wink:
 
Nice work!

I sort of had to half-undo troops.txt for my unit databse, so yell out if you need a hand :grin:

Looking good though.
 
Back
Top Bottom