XMLB Compiler/ DeCompiler
IDE

 


XMLBCUI is a front end user interface to make the process of decompiling, compiling, and editting of XML source scripts in Activision's Marvel Ultimate Alliance and X-Men Legends 2 games easier. These XMLB/ENGB files contain various command actions and attributes that govern the game API engine, and the scripts can be used to widely customize and mod the game with new, unique and fun features.

The main menu to the IDE is as follows:

main.gif

Decompile Option

Use the Decompile menu option to browse for the INPUT XMLB/ENGB compiled file you wish to decompile into the script command .XML file. the dialog is as follows:

 

decompile.gif

 

You then hit the Accept button to decompile the ENGB or XMLB file into the .XML text file script which you can edit. A console box will pop up and show you success or any errorss, so hit ENTER in it when the decompilation is completed. the  console box appears as follows:

decomp1.gif

 

Edit Option

Next, you would edit your generated .XML file with your new commands. Run the Edit menu option, and the currently selected XML script file will come up in notepad. Copy, Cut, and Paste whatever commands you see fit , then save your file.

 edit.gif

Compile Option

After you have edited you newly modded custom commands in your source .XML text file, use the Compile menu option to rebuild your XMLB or ENGB file from your source text file.  Browse for your input XML source text file, then enter/browse for your output XMLB or ENGB compiled file, and hit Accept. see below:

 

compile.gif

 

The console box will popup showing success or error, then hit ENTER in the box, and your done!

comp1.gif

 

 

Now run the game and see if your mod works the way you want it!!

 

good luck and happy modding!!!

 

 


                XMLB-COMPILE v2.2 (c) nba2kstuff

ENGB/XMLB compiler/decompiler program for MUA/XML2

Visit:

           http:\\www.nba2kstuff.org\mua

                 for latest stuff.

 

---------------------------------------------------------

New Version 2.2

- bug fix for options
- creates an original .bak file of the compiled xmlb for backup purposes

 

New version 2.1

- glitch fixes for shared_talents.engb, packagedef null files
- run silent option

---------------------------------------------------------

 

New with Version 2:

 

The syntax of the xml source script was changed to make it work with the various other XMLB ENGB game files. With version 2, the program should work for all the XMLB/ENGB files through the game including the pkgb ones. powerstyles, talents, and all the other XMLB/ENGB files should successfuly parse (decompile) and be able to be rebuilt now!!!

This new version should open up all the modding and customization possibilties the game has to offer.

--------------------------------------------

 

Background Info:

This utility should be very useful to customize Activision's Marvel Ultimate Alliance game.

You can use this program to decompile the various ENGB and XMLB files into text command script files. Then you can modify these command scripts, and compile the text file back into the ENGB/XMLB files used in the game.

The basic format of the script files is as follows:

-----------------------------------

XMLB stringtag {

 item {
  command1 = param1 ;
  command2 = param2 ;
     subitem {

        subcommand1 = param3 ;
        subcommand2 = param4 ;
     }
  }

  item {

  command1 = param2 ;
  command3 = param3 ;
     subitem {
        subcommand = param ;
        subcommand = param ;
     }
  }

 ETC...
}

-----------------------------------------------

make sure to have the braces {} proper
as well as the = and ; with a space after each command like:

command = param ;

-----------------------------------------------

run the testme.bat
and examine the

herostat.txt file
team_back.txt files

-------------------------------------------------

ok that's about it!

good luck and now there should be some powerful methods to make mods for the MUA and XML2 games!

peace all!

 


(c) nba2kstuff
http:\\www.nba2kstuff.org\mua