Yet again a compression toolkit, this time for Borderlands 2...
I would like to first say a big thank you to Mojobojo for making the initial
research and utils. Without him i wouldn't have come this far. Thanks!
This is not an Savegame Editor, that will be taken care of by the team behind
WillowTree 2.
NOTE: This is a WIP release, compression is barely supported now..
Update:
0.2.0b * Added compression support (probably buggy as hell).
0.2.1b * Bug fixes. (Thanks Idlehands for pointing these out.)
Code:▄ ▄ ▄▄▄▄▄▄▄ ▄ █▀▀▀▀ ▀▀ ▀ ▄▄▄▄▄▄▄▄ ▀▄▄▄▄ ▄ ▄▄▄▄▄▄ ▀ ▄▄▄▄▄▄█▀▀▀▀▀█ ▄▄▄▄▄▄ ▀ █▀▀▀▀▀▀█ █▀▀▀▀▀▀ ▄▄▄▄ █▄▄▄▄▄▄▄▄ ▄▄█▀▀ ▄▄ ▀█▀▀▀ ▄▄ ▀▀ ▀▀▀ █▀▀ ▄▄ ▀▀█▄ ▀ █▀ ███▀̦ █ ▀▀▀▀ ████ ▄██ ▄▄▄▄ ▀█ ▀ ▀▀ ▄▄██▀█▓▄ ▄▄██▀█▓▓▄ ███ ▄▄██▀██▓▄ █▀▀▀▀█ ███¦ █▄▄¦Ì███¦Ì███¦Ì███▄Ì███¦ ▄ ▄▓▓██▀ ▀▀▄██▀ Ì██▓¦Ì██¦▄██▀ Ì██▓¦ ▄▄█▓▄ Ì████▄▄▄ ▓███ ████ █ ▄▄▄▄███▓ Ì▓██¦ ░ Ì▓██¦ ▀▀████ ███ ▓█¦ ▄███▀▄███▀ ▓███ ▀██▓▓ ██¦Ì███¦ ▄███▀ Ì██▓¦ ▓███▀ █ ▓███ ░Ì███¦Ì██▓ ███ ░▀▀ Ì▓██¦ ▄¦Ì▓██¦Ì¦Ì██▓¦Ì█ ████ Ì▓██¦ ▄██▓▓▀ ▀ Ì███¦Ì█¦Ì███¦ ▀▀▀▀ ▀▀ Ì███¦ ▀ ▀▓██▄██ ▀▀▀▀ ██ ███▓ Ì▓██¦ ▀▓██▄██▀▀ ▄▄ ▄ █ ▀▀▀▀ ██ ▀▀▀▀ █▀▀▀▀▀▀█▄ ▀▀▀▀ █▀█▄▄ ▀▀ ▄▄█▀▀▀▀█¦Ì███¦Ì ▀▓▓██▄░ ▀▀ ▄▄█▀▀ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▄ ▀ ▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀ !f █ ▀▀▀▀ ██▄▄ ▀▀▀▀ █▀▀▀▀ ▀ ▀▀▀▀▀▀▀▀▀▀▀ ▀▀ p r e s e n t s . . ▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀ █▀ ▀ ▀ ▀▀▀▀▀ ▀ ▀ Borderlands 2 Compression Toolkit by fairchild ======================================================= version 0.1.0b === Usage: borderlands2.exe [options] <input> <output> Options: -d - Decompress. -c - Compress. Release notes: Yet again a compression toolkit, this time for Borderlands 2... I would like to first say a big thank you to Mojobojo for making the initial research and utils. Without him i wouldn't have come this far. Thanks! This is not an Savegame Editor, that will be taken care of by the team behind WillowTree 2. To use this toolkit you must first extract the savegame from within the xbox 360 container (CON), then use this toolkit on the extracted file. If you try to use this on the CON file itself it will give you a warning. This is not a click 'n play tool, you need to use it from the Command Prompt or any other methods that handles this tool. WARNING! Always backup your saves, this tool may corrupt remove your savegames. Decompress ========== Now to decompress a savegame you run the application by entering the following: * <PTEF> = the path to the extracted files, ex: c:\test <PTEF>\borderlands2.exe -d <PTEF>\<my savegame filename> <PTEF>\save.decompressed Example: c:\test\borderlands2.exe -d c:\test\SaveGame.sav c:\test\save.decompressed The toolkit will process the savegame and decompress it's compressed data block to the file names "save.decompressed". Open "save.decompressed" in your favorite hex editor :-) Compress ======== To compress and inject the uncompressed blocks back into your savegame use the following command: NOTE: !! make a copy of your orginal savegame !! * <PTEF> = the path to the extracted files, ex: c:\test <PTEF>\borderlands2.exe -c <PTEF>\save.decompressed <PTEF>\SaveGame.sav Example: c:\test\borderlands2.exe -c c:\test\save.decompressed c:\test\SaveGame.sav This will take the decompressed block, named "save.decompressed" and compress them, rebuild the package to a file named "SaveGame.sav.rebuilt". The file to inject back into your CON file is the file ending with ".rebuilt" ! NOTE: Always make backup of your savegames!! Have fun :-)