Code:
▄
▄ ▄▄▄▄▄▄▄ ▄ █▀▀▀▀ ▀▀ ▀ ▄▄▄▄▄▄▄▄ ▀▄▄▄▄ ▄
▄▄▄▄▄▄ ▀ ▄▄▄▄▄▄█▀▀▀▀▀█ ▄▄▄▄▄▄ ▀ █▀▀▀▀▀▀█ █▀▀▀▀▀▀ ▄▄▄▄ █▄▄▄▄▄▄▄▄
▄▄█▀▀ ▄▄ ▀█▀▀▀ ▄▄ ▀▀ ▀▀▀ █▀▀ ▄▄ ▀▀█▄ ▀ █▀ ███▀̦ █ ▀▀▀▀ ████ ▄██ ▄▄▄▄ ▀█
▀ ▀▀ ▄▄██▀█▓▄ ▄▄██▀█▓▓▄ ███ ▄▄██▀██▓▄ █▀▀▀▀█ ███¦ █▄▄¦Ì███¦Ì███¦Ì███▄Ì███¦ ▄
▄▓▓██▀ ▀▀▄██▀ Ì██▓¦Ì██¦▄██▀ Ì██▓¦ ▄▄█▓▄ Ì████▄▄▄ ▓███ ████ █ ▄▄▄▄███▓
Ì▓██¦ ░ Ì▓██¦ ▀▀████ ███ ▓█¦ ▄███▀▄███▀ ▓███ ▀██▓▓ ██¦Ì███¦ ▄███▀ Ì██▓¦
▓███▀ █ ▓███ ░Ì███¦Ì██▓ ███ ░▀▀ Ì▓██¦ ▄¦Ì▓██¦Ì¦Ì██▓¦Ì█ ████ Ì▓██¦ ▄██▓▓▀
▀ Ì███¦Ì█¦Ì███¦ ▀▀▀▀ ▀▀ Ì███¦ ▀ ▀▓██▄██ ▀▀▀▀ ██ ███▓ Ì▓██¦ ▀▓██▄██▀▀ ▄▄ ▄
█ ▀▀▀▀ ██ ▀▀▀▀ █▀▀▀▀▀▀█▄ ▀▀▀▀ █▀█▄▄ ▀▀ ▄▄█▀▀▀▀█¦Ì███¦Ì ▀▓▓██▄░ ▀▀ ▄▄█▀▀
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▄ ▀ ▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀ !f █ ▀▀▀▀ ██▄▄ ▀▀▀▀ █▀▀▀▀
▀ ▀▀▀▀▀▀▀▀▀▀▀ ▀▀ p r e s e n t s . . ▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀ █▀ ▀
▀ ▀▀▀▀▀ ▀ ▀
Dungeon Defenders Compression Toolkit by fairchild
======================================================= version 0.3.0b ===
Usage: dd.exe [options] <input> <output>
Options:
-d - Decompress.
-c - Compress.
Release notes:
Yet again a compression toolkit, this time for Dungeon Defenders!
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.
To use it you will need to copy/move/extract the following files to
a directory of your choice:
* Toolkit ("dd.exe").
* Your savegame that your extracted from its CON file.
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>\dd.exe -d <PTEF>\<my savegame filename> <PTEF>\save.decompressed
Example: c:\test\dd.exe -d c:\test\DunDefHeroes.dun 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>\dd.exe -c <PTEF>\save.decompressed <PTEF>\<my savegame filename>
Example: c:\test\dd.exe -c c:\test\save.decompressed c:\test\DunDefHeroes.dun
This will take the decompressed block, named "save.decompressed" and
compress them, rebuild the package to a file named "DunDefHeroes.dun.rebuilt" then
fix the checksum.
The file to inject back into your CON file is the file ending with ".rebuilt" !
NOTE:
Always make backup of your savegames!!
Have fun :-)
Greetings goes to the following people:
unknown_v2, aluigi, Dualla, feudalnate, Renegade, Sephiroth, pureIso
Nathan, Mojobojo, dvs, and those i forgot...
The decompress and compress function might need some tweaking, but should work. Please test and let me know if something still not working.
Update:
Beta version with support for multiple compressed blocks are here!! But as always with a beta, expect bugs (and probably alot of them).
Always make backup of your savegame before using any of my tools!
Download: dungeon_defenders_compress_v3.0b.rar
GUI:
I have now made a simple GUI for all you who don't understand how the command prompt works, put the executable in the same directory as "dd.exe".
Download: fairchildGUI.rar