LEGO Marvel Char Mod Manager - v0.1.2

For Users:
 This program allows easy characters managing for LEGO Marvel game.
 At first run it'll ask to point it to LEGOMarvel.exe and will unpack game archives if it hasn't been done yet. This will take several gbs of space on your hard drive.
 Warning: This will automatically delete anything inside LEGO Marvel folder with .dat extension.
 
 Warning: If you have used previous CMM Versions, run those version and use revert to original function, before updating.

 How to install characters:
 1. Download character, unpack and copy/move into \mods folder so that \modname folder including "modfile.ini" was in \mods folder.
 2. Run LegoMarvelCMM.exe
 3. Choose mod in left list, choose character slot in right list, press "add" button.
    Warning: Do not use same character for several character slots. Game will work, but it'll break deletion process.
 4. If you have been notified that character has been installed - everything is done. Close LegoMarvelCMM and run the game.

 From v0.1.2 characters can be more complex and use additional indexed slots. Available slots number for each group can be seen in CMM window.
 If a char requires an additional slot but all are taken - char won't be installed, until slots are freed. Or it'll be, but won't work properly, what's even worse.

 How to delete characters:
 1. Run LegoMarvelCMM.exe
 2. Choose character slot in right list, press "delete" button.
 3. If you have been notified that character has been deleted - everything is done. Close LegoMarvelCMM and run the game.

 How to revert to original:
 1. Run LegoMarvelCMM.exe
 2. Open "file" menu and press "revert".
 3. This will revert almost any changes done by the manager (it won't repack game archives) and close LegoMarvelCMM




For Modders:
 \mods - general folder to store char mods
 \mods\modname - mod folder
 \mods\modname\files - mod files. Everything from here will be copied to Lego Marvel folder. If file already exists at path, it'll be backupped.
 \mods\modname\modfile.ini - general mod definition file
   dataname=somename              //Will be used as char name for marvel_minifig.cpj and for tag search (Max = 14 chars)
   name=cool name                 //Manager name
   description=Some char it is.   //Manager description
   has_colldef=y                  //If char has colldef.ini specified
   has_items=y 			  //If char has itemdata.ini specified 
   has_abilities=y                //If char has abilitiesdata.ini specified
   has_icon=y                     //If char has charicon.tga specified 
   has_text=y                     //If char has textdata.ini specified
   has_bolts=n                    //If char has boltdata.ini specified
   has_sound=n                    //If char has sounddata.ini specified
   add_animslot=Something\=Something        //Additional slot for indexed anims data. Path and Name respectively. Path Max = 48 chars, Name Max = 32 chars.
   add_faceslot=Something\=Something        //Additional slot for indexed faces data. Path and Name respectively. Path Max = 48 chars, Name Max = 32 chars.
   add_miscslot=Something\=Something        //Additional slot for indexed misc data. Path and Name respectively. Path Max = 48 chars, Name Max = 32 chars.
   add_charslot=Something\=Something        //Additional slot for indexed chars data. Path and Name respectively. Path Max = 48 chars, Name Max = 32 chars.
					    //Can be used for character packs, however intended to use with transforming chars.	
   add_icon=iconname.tga		    //Additional icon 	
  \mods\modname\colldef.ini - special definitions for collection. Everything inside this file will be copied to collection.txt. If hasn't been specified - will use default string: collect "dataname" no_progress
  \mods\modname\itemdata.ini - special definitions for item types. Everything inside this file will be copied to playeritemtypes.txt.
  \mods\modname\abilitiesdata.ini - special definitions for abilities. Everything inside this file will be copied to mod_abilities.txt.
  \mods\modname\charicon.tga - character icon. Will replace chosen character's slot in icontpage_nxg.tex. If hasn't been specified - will use default character icon.
  \mods\modname\textdata.ini - special definitions for text strings. Everything inside this file will be copied to text.csv. Should be in utf-8 encoding.		
  \mods\modname\boltdata.ini - special definitions for bolttypes. Everything inside this file will be copied to bolttypes.txt.
  \mods\modname\sounddata.ini - special definitions for sound samples. Everything inside this file will be copied to samples_nxg.cfg.

Changelog:
v0.1 - Initial Release
v0.1.1 - Fixed boltdata.ini not being used. Added sounddata.ini for sound samples.
v0.1.2 - Additional slots for anims, chars, misc and faces, several bugfixes.


Thanks:
FreeImage (http://freeimage.sourceforge.net/) and wxWidgets(https://www.wxwidgets.org/)
Crunch (http://code.google.com/p/crunch/) - for Crunch texture compression library
Luigi Auriemma (http://aluigi.altervista.org) and Xentax Community (forum.xentax.com) - for QuickBMS and Traveller's Tales games DAT files extractor
Traveller's Tales (http://www.ttgames.com) - for the game
Marvel (http://marvel.com) - for obvious reasons

Disclaimer:

BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.



--Keep the data free--
DarkelUncut aka BalinDMK


