Enhanced Common.lvl Builder by Phobos

Started by Phobos, April 12, 2012, 06:26:14 AM

Previous topic - Next topic
April 12, 2012, 06:26:14 AM Last Edit: April 12, 2012, 10:08:45 PM by Phobos
Enhanced Common.lvl Builder by Phobos

http://www.swbfgamers.com/index.php?action=downloads;sa=view;down=524

Post-release Info:
If you are hex editing munged scripts in the custom\common\munged folder you cannot run the clean.bat before (and also after) munging or it will delete those files. To disable this feature, edit the clean.bat located in custom\common\munged and remove this line del/q *.script

Then when you run clean it won't delete either the leftover scripts or the hex edited ones.


QuoteInformation:
The main improvements here are support for munging custom REQ and LUA scripts without having to make any modifications to the files in Data folder. The clean.bat is also improved.

- Make changes to common.req in CustomCommon folder, the Data req is a backup copy for reference.
- Modify LUA scripts directly in the CustomCommonmunged folder, the Munge.bat will take care of the rest.
- The source LUA for ifs_pausemenu is included in the custom munged folder (leaked by psych0fred).
- The REQ, scripts, and all other files in datacommon never have to be modified so the Data folder is set to read-only.
- Additional scripts may be called upon by adding them to the req and adding a ScriptCB_Dofile command to the top of ifs_pausemenu.lua
Example: ScriptCB_DoFile("ifs_cloudcity")

Credits:
BattleBelk
Phobos Developer
Psych0fred

Oh! That's cool should have looked at info...

Post-release Info:

If you are hex editing munged scripts in the custom\common\munged folder you cannot run the clean.bat before (and also after) munging or it will delete those files. To disable this feature, edit the clean.bat located in custom\common\munged and remove this line del/q *.script

Then when you run clean it won't delete either the leftover scripts or the hex edited ones.