Log in

View Full Version : Dungeon Defenders Compression Toolkit



Pages : [1] 2

fairchild
10-31-2011, 06:58 PM

▄ ▄▄▄▄▄▄▄ ▄ █▀▀▀▀ ▀▀ ▀ ▄▄▄▄▄▄▄▄ ▀▄▄▄▄ ▄
▄▄▄▄▄▄ ▀ ▄▄▄▄▄▄█▀▀▀▀▀█ ▄▄▄▄▄▄ ▀ █▀▀▀▀▀▀█ █▀▀▀▀▀▀ ▄▄▄▄ █▄▄▄▄▄▄▄▄
▄▄█▀▀ ▄▄ ▀█▀▀▀ ▄▄ ▀▀ ▀▀▀ █▀▀ ▄▄ ▀▀█▄ ▀ █▀ ███▀̦ █ ▀▀▀▀ ████ ▄██ ▄▄▄▄ ▀█
▀ ▀▀ ▄▄██▀█▓▄ ▄▄██▀█▓▓▄ ███ ▄▄██▀██▓▄ █▀▀▀▀█ ███¦ █▄▄¦Ì███¦Ì███¦Ì███▄Ì███¦ ▄
▄▓▓██▀ ▀▀▄██▀ Ì██▓¦Ì██¦▄██▀ Ì██▓¦ ▄▄█▓▄ Ì████▄▄▄ ▓███ ████ █ ▄▄▄▄███▓
Ì▓██¦ ░ Ì▓██¦ ▀▀████ ███ ▓█¦ ▄███▀▄███▀ ▓███ ▀██▓▓ ██¦Ì███¦ ▄███▀ Ì██▓¦
▓███▀ █ ▓███ ░Ì███¦Ì██▓ ███ ░▀▀ Ì▓██¦ ▄¦Ì▓██¦Ì¦Ì██▓¦Ì█ ████ Ì▓██¦ ▄██▓▓▀
▀ Ì███¦Ì█¦Ì███¦ ▀▀▀▀ ▀▀ Ì███¦ ▀ ▀▓██▄██ ▀▀▀▀ ██ ███▓ Ì▓██¦ ▀▓██▄██▀▀ ▄▄ ▄
█ ▀▀▀▀ ██ ▀▀▀▀ █▀▀▀▀▀▀█▄ ▀▀▀▀ █▀█▄▄ ▀▀ ▄▄█▀▀▀▀█¦Ì███¦Ì ▀▓▓██▄░ ▀▀ ▄▄█▀▀
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▄ ▀ ▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀ !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: 4176

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: 4204

Idlehands88
10-31-2011, 08:32 PM
I might be using it incorrectly but it keeps saying that dd.exe stopped working after I try to decompress the save (the extracted file from the save). Yes I opened it in CMD...

EDIT: nvm you have to run it as admin :P

godslam
10-31-2011, 09:11 PM
My output after compression ends up being really big.

Idlehands88
10-31-2011, 09:24 PM
My output after compression ends up being really big.

Same here, mine is still growing (at 10MB lol)

fairchild
10-31-2011, 09:35 PM
Same here, mine is still growing (at 10MB lol)

I'll have a look at it to see what might be wrong, could you attach the file you were testing on?

Idlehands88
10-31-2011, 09:40 PM
I'll have a look at it to see what might be wrong, could you attach the file you were testing on?

Ya I think the file size reader is reading the file size in KB instead of Bytes. So the compression adds bytes to make the file size 102,400KB (100MB) instead of 102,400Bytes (100KB)

Here you go:

godslam
10-31-2011, 09:44 PM
Ya I think the file size reader is reading the file size in KB instead of Bytes. So the compression adds bytes to make the file size 102,400KB instead of 102,400Bytes

Here you go:

That'd make sense. I'm sure it'll be an easy thing for fairchild to fix.

Renegade
10-31-2011, 09:52 PM
There he goes again, another great compression Toolkit, Fair, you are a compressmanic :)

fairchild
10-31-2011, 09:59 PM
I'm using tellg(); to get the file size so that should not be the problem.

It works perfectly for me, this is what i did:



c:\test>dd.exe -d c:\test\DunDefHeroes.dun c:\test\save.decompressed

Dungeon Defenders Compression Toolkit by fairchild
================================================== ===== version 0.1.0 ===

- Open input file: DunDefHeroes.dun
- File size: 0x00019000 (102400)
- Reading buffer from file, done.
! Compressed data block found.
test
- Open output file: save.decompressed1

All done!




C:\test>dd -c save.decompressed DunDefHeroes.dun

Dungeon Defenders Compression Toolkit by fairchild
================================================== ===== version 0.1.0 ===

- Open output file: DunDefHeroes.dun
- File size: 0x00019000 (102400)
- Reading buffer from file, done.
- Open input file: save.decompressed1
- Compressing..
- Fixing checksum.

All done!


What's the output from the compress preceedure when you compress the file? Also if you have "gnuwin32" or similar installed, make sure you don't use the (linux)dd program as that is for copying data. In that case try rename my tool "dd.exe" to "dungeons.exe" and run that instead.

Buddah
10-31-2011, 10:11 PM
mine hangs here....

3765

and it loops through the file creating infinite null bytes...i let it got to well over 100MB

Idlehands88
10-31-2011, 10:29 PM
I'm using tellg(); to get the file size so that should not be the problem.

It works perfectly for me, this is what i did:



c:\test>dd.exe -d c:\test\DunDefHeroes.dun c:\test\save.decompressed

Dungeon Defenders Compression Toolkit by fairchild
================================================== ===== version 0.1.0 ===

- Open input file: DunDefHeroes.dun
- File size: 0x00019000 (102400)
- Reading buffer from file, done.
! Compressed data block found.
test
- Open output file: save.decompressed1

All done!




C:\test>dd -c save.decompressed DunDefHeroes.dun

Dungeon Defenders Compression Toolkit by fairchild
================================================== ===== version 0.1.0 ===

- Open output file: DunDefHeroes.dun
- File size: 0x00019000 (102400)
- Reading buffer from file, done.
- Open input file: save.decompressed1
- Compressing..
- Fixing checksum.

All done!


What's the output from the compress preceedure when you compress the file? Also if you have "gnuwin32" or similar installed, make sure you don't use the (linux)dd program as that is for copying data. In that case try rename my tool "dd.exe" to "dungeons.exe" and run that instead.

That's what the problem was, I was adding the 1 at the end of save.decompressed lol It compressed it fine now :P

EDIT: Save freezes my xbox, even if I just change the exp...

EDIT 2: Even if I decompress the save and the compress it, it still freezes, even tho I didn't edit it... I don't think the decompression/compression is right???

fairchild
10-31-2011, 10:31 PM
Here's a debug build, it has more output when compressing and decompressing, might give me more info on where it fails and starts to fill the file.

Filename: dd_debug.exe
3766

Idlehands88
10-31-2011, 10:45 PM
Here's a debug build, it has more output when compressing and decompressing, might give me more info on where it fails and starts to fill the file.

Filename: dd_debug.exe
3766

Decompression:
http://img27.imageshack.us/img27/1701/dderror.png

Compression:
http://img208.imageshack.us/img208/5579/dderrorcompression.png

Buddah
10-31-2011, 11:09 PM
3767

lots of padding

fairchild
10-31-2011, 11:12 PM
3767 lots of padding

Remove the "1" from the input file.

@Idlehands88: I'll look into the compression then, might be something in the header that needs patching or something aswell.

Buddah
10-31-2011, 11:56 PM
C:\Users\Mike>C:\Users\Mike\Desktop\test\dd_debug.exe -c C:\Users\Mike\Desktop\t
est\DunDefHeroes.Decomp C:\Users\Mike\Desktop\test\DunDefHeroes.dun

▄ ▄▄▄▄▄▄▄ ▄ ▀▀▀▀▀ ▀▀ ▀ ▄▄▄▄▄▄▄▄ ▀▄▄▄▄ ▄
▄▄▄▄▄▄ ▀ ▄▄▄▄▄▄█▀▀▀▀▀█ ▄▄▄▄▄▄ ▀ █▀▀▀▀▀▀█ █▀▀▀▀▀▀ ▄▄▄▄ █▄▄▄▄▄▄▄▄
▄▄█▀▀ ▄▄ ▀█▀▀▀ ▄▄ ▀▀ ▀▀▀ █▀▀ ▄▄ ▀▀█▄ ▀ █▀ ███▀▐▌ █ ▀▀▀▀ ████ ▄██ ▄▄▄▄ ▀█
▀ ▀▀ ▄▄██▀▓▓▄ ▄▄██▀█▓▓▄ ███ ▄▄██▀██▓▄ █▀▀▀▀█ ███▌ █▄▄▌▐███▌▐███▌▐███▄▐███▌ ▄
▄▓▓▓▓▀ ▀▀▄██▀ ▐██▓▌▐██▌▄█▓▀ ▐░░▒▌ ▄▄█▓▄ ▐██▓█▄▄▄ ▓██▒ ▒███ █ ▄▄▄▄███▓
▐▓▒░▌ ░ ▐▓▒░▌ ▀▀░░▒▒ ░░▒ ▓▒▌ ▄░██▀▄▒██▀ ░░▒█ ▀▀░▒▓ ▓░▌▐░▒▓▌ ▄█▓█▀ ▐▓█▓▌
▓░██▀ █ ▓░██ ░▐███▌▐██▓ ░░█ ░▀▀ ▐▓░▒▌ ▄▌▐▓██▌▐▌▐██░▌▐█ █░░▓ ▐▓░░▌ ▄█░▒▓▀
▀ ▐███▌▐█▌▐███▌ ▀▀▀▀ ▀▀ ▐███▌ ▀ ▀▓██▄██ ▀▀▀▀ ██ ███░ ▐▓██▌ ▀▓██▄██▀▀ ▄▄ ▄
█ ▀▀▀▀ ██ ▀▀▀▀ █▀▀▀▀▀▀█▄ ▀▀▀▀ █▀█▄▄ ▀▀ ▄▄█▀▀▀▀█▌▐███▌▐ ▀▓▓██▄░ ▀▀ ▄▄█▀▀
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▄ ▀ ▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀ !f █ ▀▀▀▀ ██▄▄ ▀▀▀▀ █▀▀▀▀
▀ ▀▀▀▀▀▀▀▀▀▀▀ ▀▀ p r e s e n t s . . ▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀ ▀▀ ▀
▀ ▀▀▀▀▀ ▀ ▀

Dungeon Defenders Compression Toolkit by fairchild
================================================== ===== version 0.1.0 ===

- Open output file: C:\Users\Mike\Desktop\test\DunDefHeroes.dun
- File size: 0x00019000 (102400)
- Reading buffer from file, done.
Found header!
- Inject position: 0x0000000c (12)
- End: 0x0000000c (12)
- Fixing padding.
- Padding: 0xfffffff0 (4294967280)

Idlehands88
11-01-2011, 03:46 AM
Any news on this?

godslam
11-01-2011, 04:41 AM
Any news on this?

My guess is it's being worked.
If you can get it working, what's the first thing you plan on modding?

Idlehands88
11-01-2011, 06:17 AM
My guess is it's being worked.
If you can get it working, what's the first thing you plan on modding?

Mana, Items and Exp :P

godslam
11-01-2011, 11:44 AM
Mana, Items and Exp :P

I'm prolly gonna use it to attempt increasing the attack of items and then use them for boss-killing. I'm gonna give them high attack, but make them seem somewhat legit.

aussiebrah
11-01-2011, 12:26 PM
such a good tool, cheers.

fairchild
11-01-2011, 12:34 PM
I have solved the compression / decompression problem, also working on some other small fixes. New release soon.

Idlehands88
11-01-2011, 12:53 PM
I have solved the compression / decompression problem, also working on some other small fixes. New release soon.

THANK YOU lol, I have been up all night waiting for you to post again :P I can't wait to sink my teeth into this game :)

godslam
11-01-2011, 01:29 PM
I have solved the compression / decompression problem, also working on some other small fixes. New release soon.

Thanks. Definitely going to be using this tool a ton.


THANK YOU lol, I have been up all night waiting for you to post again :P I can't wait to sink my teeth into this game :)

I went to sleep 'cause I was dead tired, but I've been waiting since I woke up.

Idlehands88
11-01-2011, 01:31 PM
I went to sleep 'cause I was dead tired, but I've been waiting since I woke up.

Man just seeing fairchild sitting in this topic is making me refresh the page lol (already refreshed this and page 1 like 80 times lol)

EDIT:

My Editor Preview:
http://img442.imageshack.us/img442/7893/dungeondefenderseditorp.jpg

fairchild
11-01-2011, 02:17 PM
Updated the tool, still 4 bytes that differs when recompressing decompressed data,but else everything looks good, can someone decompress then recompress and reinject a savegame and see if it still freezes? then test by modding a savegame and se if that works?

Idlehands88
11-01-2011, 02:47 PM
Updated the tool, still 4 bytes that differs when recompressing decompressed data,but else everything looks good, can someone decompress then recompress and reinject a savegame and see if it still freezes? then test by modding a savegame and se if that works?

It works !!!!!!! I just modded my character to level 70 and made my weapon have 100 upgrade slots :) Thank you fairchild!

Sephiroth
11-01-2011, 02:51 PM
A sexy compression toolkit and a sexy editor... http://www.360haven.com/forums/images/icons/meaw.png

http://i231.photobucket.com/albums/ee109/mfhooligan/Smileys/thyouguysrock.gif

godslam
11-01-2011, 04:14 PM
It's telling me that it can't open the "output" while decompressing.


It works !!!!!!! I just modded my character to level 70 and made my weapon have 100 upgrade slots :) Thank you fairchild!

Did you have any trouble decompressing?

Skullkeeper
11-01-2011, 04:44 PM
It's telling me that it can't open the "output" while decompressing.



Did you have any trouble decompressing?

Works fine for me. Thanks a lot for this Fairchild. Can't wait for your editor Idlehands88. I modded Mana to 99mil but it reset to 15mil after saving and reloading. I edited level to 70 and spent points, then I edited character stats, but when I loaded character it had reset to level 0 and I had to re-spend points. Maybe its checking for stats changes. Is there somewhere else they need editing?

Idlehands88
11-01-2011, 06:08 PM
Works fine for me. Thanks a lot for this Fairchild. Can't wait for your editor Idlehands88. I modded Mana to 99mil but it reset to 15mil after saving and reloading. I edited level to 70 and spent points, then I edited character stats, but when I loaded character it had reset to level 0 and I had to re-spend points. Maybe its checking for stats changes. Is there somewhere else they need editing?

They have a check on the save, if you have more points in your stats then what is normal for your level then the stats reset.

Skullkeeper
11-01-2011, 06:11 PM
They have a check on the save, if you have more points in your stats then what is normal for your level then the stats reset.

Thanks for the answer. I figured as much when I was leveling up my character one of the stats stopped at 70. I had edited it to 99. Is the max for each stat 70?

Just tried 70 for each stat and it reset my level. Is is it possible to edit stats to their max? And will you be including it in your editor? If it messes with online I can understand if you want be including it.

Luisek49
11-01-2011, 08:02 PM
Hey , don't know why but when I'm trying to run this program it appear for a second then it disappear. I'm using windows 7 tried to run as administrator

Skullkeeper
11-01-2011, 08:07 PM
Hey , don't know why but when I'm trying to run this program it appear for a second then it disappear. I'm using windows 7 tried to run as administrator

Are you running command prompt under administrator then running this program under command prompt?

Luisek49
11-01-2011, 08:11 PM
umm no I tried to run this from dd.exe , How tu run it from command prompt what command I need to use? Sry but I'm not good with command prompt

aft22
11-01-2011, 08:24 PM
could someone post a dummy guide for hexing this game please. I have done everything as far as the decompression I got that, but I am still newb on hex. I never know how to find the values i'm trying to change. I got lucky with dark souls because someone posted a bookmark that highlighted most everything that I would want to edit. Thanks in advance.

Skullkeeper
11-01-2011, 09:04 PM
umm no I tried to run this from dd.exe , How tu run it from command prompt what command I need to use? Sry but I'm not good with command prompt

Ok make a new folder on root of your c: drive. We will call it TEST. Copy the program to this folder. Now extract DunDefHeroes.dun from the DunDefSave container file. Put this file in TEST folder. Now run command prompt. Now type cd c:\TEST Now use these command to decompress and compress your save. Edit to your liking.

Decompress
in command prompt type dd.exe -d DunDefHeroes.dun save.decompressed

Edit the save.decompressed in Hex editor.

Compress
in command prompt type dd.exe -c save.decompressed DunDefHeroes.dun

Then inject DunDefHeroes.dun into DunDefSave container. Open in hashblock calculator and click tool calculate hash blocks. Transfer back to usb/hdd.

cowboy713
11-01-2011, 10:40 PM
Exile post up some mapping for the items, was looking over em but had no idea how you located the variables for specifics within an item, I could only find the location of them.

hi def meep
11-01-2011, 11:13 PM
Yea please map the stat locations, such as char level, mana, and item statistics. I have a feeling you can mod items really high, so if you can find those values, then we might see some really strong weapons going around.

godslam
11-01-2011, 11:44 PM
I'm having trouble modding specific stats on items. Not sure where they are stored. Adding levels and taking away what their current level is, is easy.

hi def meep
11-02-2011, 03:50 AM
oh how do you do that? I'm sure that improves the weapon's stats, so I would like to do that

cowboy713
11-02-2011, 04:37 AM
identifying the upgrades isnt hard, just upgrade you weapon, load the save, upgrade again, load the save, shouldn't be that difficult to find a byte that changing slightly everytime.

godslam
11-02-2011, 04:50 AM
identifying the upgrades isnt hard, just upgrade you weapon, load the save, upgrade again, load the save, shouldn't be that difficult to find a byte that changing slightly everytime.

I haven't tried that yet. I will tomorrow. I just couldn't find specific stats easily and found upgrading on my own worked fine.


oh how do you do that? I'm sure that improves the weapon's stats, so I would like to do that

I just search for 32 Bit Signed Long and put in the number of upgrades it has. Then it'll find the same bytes not too far from each other (assuming the weapon is maxed out). The first one is how many are in it already. The second is how many it has overall.

fairchild
11-02-2011, 07:09 AM
So it has come to my attention that when the savegame hit's a specific size (the compressed block) it's splitted into 2).

Working on an update.

cowboy713
11-02-2011, 07:09 AM
just downloaded the new compression stuff and modded my save out. only did mana and character experience so far as a test but I'm going to begin working on item next so I should have an update on modifying items within the next hour or so.

edit: Ok so I i played around with a bunch of the weapon values and was unsuccessful in tweaking individual variables for a weapon. I think the information for how much a particular upgrade will increase damage for bone bow vs a regular crossbow is stored in the game info, i.e. 1 upgrade to bone damage is +10, 1 upgrade to crossbow damage adds +8, etc.. I did manage to locate the upgrade slots for the items however. If you're looking at your item in hex in the info panel it will have an name like "Hero_DLC_Sword_08" or something similar. Starting with the "H" in hero, going 57 bytes to the left I found the number representing the maximum number of upgrade slots. Moving another 35 bytes over I found the number indicating the current number of upgrade slots.

Now what I found interesting was he item I was testing with was previously 23/23 which made it easier to locate these values. I set the upgrade variables to 1/100 and the previous increases to damage and other aspects of the weapon are still showing as their previous values. Not sure if those will auto correct down when I upgrade it to a certain level or not so thats what I'll find out next. Otherwise you could upgrade an item to 100/100 and then hex it back down to 1/100 and exponentially increase your stats.

godslam
11-02-2011, 01:48 PM
To anyone who is using this and hasn't figured it out yet, stats stored for weapons/armor are found by adding 127 to the stat and then searching for an 8 bit unsigned byte.
Good luck. Hope that helps people. I may make a tutorial later, though it won't be needed if idlehands makes a tool.
If anyone needs help just PM me or respond on here.

Epydemic
11-02-2011, 02:10 PM
Wow this is better than sliced bread. how fast do you guys thinks it will filtrate through the game community?

godslam
11-02-2011, 02:26 PM
Depends on how many people talk about it. I'd suggest keeping it quiet for a while. I'm not even playing public games. Just getting everything else done. =P

These are my directions on how to use Modio to get your save and extract everything. For modding, I will make another tutorial later.


You make your Xbox thumbdrive. Move your save over to it.
Then I suggest getting a tool called Modio for extracting the save from your drive.

Modio: Find on Game-Tuts. (just joined, don't know if I can post links)

Plug your thumb drive into your computer and open modio.
Then on Modio you'll click "Explore a device".
Then "File" > "Open/close drive".
At this point it will show you your drive.
If you move your profile, too, it'll tell you the name of the profile.
Hit the plus on the left, then you should see "Dungeon Defenders".
From there you hit the plus once more and you'll see "Game saves".
Then click on that folder and drag & drop DunDefSave into a folder/on your desktop.
I suggest putting it in the same folder as dd.exe (easier in the long run).
After you have done that, you'll go back to Modio's main window and click "Open a save". Direct it to DunDefSave.
Once it opens DunDefSave you will then click the "File contents" tab at the top.
After that right-click "DunDefHeroes.dun" > "Extract file" and then put it in the same folder as your other things.

From here you will use dd.exe to decompress "DunDefHeroes.dun" into whatever file name you'd like to use, then mod that file and compress it back into "DunDefHeroes.dun".

Epydemic
11-02-2011, 03:33 PM
thanks godslam that was very helpful

godslam
11-02-2011, 03:36 PM
thanks godslam that was very helpful

No problem. I'm gonna work more on it later today.

(it being stat changes and such)

Countryboy
11-03-2011, 01:08 AM
Any news on the update? Cant mod my game now the dd.exe stops working when i decompress.

Idlehands88
11-03-2011, 01:12 AM
Any news on the update? Cant mod my game now the dd.exe stops working when i decompress.

Patience my young padawan...

aft22
11-03-2011, 02:26 AM
Awesome work guys, got the DD down to an art, have been hex modding weapons and mana all day....my huntress now deals 200k dps

godslam
11-03-2011, 03:19 AM
Awesome work guys, got the DD down to an art, have been hex modding weapons and mana all day....my huntress now deals 200k dps

Is that you trying to look semi-legit?

I deal millions per hit.

Idlehands88
11-03-2011, 04:30 AM
Is that you trying to look semi-legit?

I deal millions per hit.

I deal 43mil damage and have 900 points in stats :P

cowboy713
11-03-2011, 04:59 AM
you're all over-achievers, you wanna do something real fun modify the projectile speed bonus to upwards of 20 thousand and you can't even see the arrows anymore.

godslam
11-03-2011, 05:03 AM
I deal 43mil damage and have 900 points in stats :P

Those are my plans. I haven't had much time to do any of that today.

aft22
11-03-2011, 05:36 AM
ok, is there a way to mod the hex so that i dont have to keep reloading the upgrade? it took me all day of upgrading, resting the upgrades and mana , rinse repeat. How are you getting your numbers up so fast? I read that you can't change the stats themselves. Thanks

Tiberius9269
11-03-2011, 07:40 AM
Can someone do a small favor for people who just absolutely cant figure this out but know how to use modio? I hate to ask but if someone could make a save with some decently modified weapons and post it. where all that is left to do is insert my gamerID and system id it would be really appreciated.

P.S. - I'm sorry i tried to use the program but i have alot to learn first. I am appreciative of your help even if you don't have time to do this for me.

SSSTONERRR
11-03-2011, 08:07 AM
*dispite sounding like a complete noob...*
Please post a indepth tutorial, bcuz my dd.exe force-closes on open... (even when ran through admin) or pm me how to fix- please and thank you :) (first time using a compression toolkit :s )

I am willing to learn how to use this tool correctly, just need a shove in the right direction.

Luisek49
11-03-2011, 08:24 AM
Would anyone upload their save? Or would tell me how to hex edit? Cuz it's too hard for me ;/ or maybe some 1 would mod my save.decompress for me? :D

fairchild
11-03-2011, 10:55 AM
Any news on the update? Cant mod my game now the dd.exe stops working when i decompress.

Your savegame is a bit strange, do you have any DLC installed for the game or have you been playing the game for a long time?

The reason is that the header of the file contains duplicate compression headers, but only one compressed block. And the first values are incorrect (corruped save)? This would be good info before i make an exception in my tool instead of fixing the savegame itself so that its in the correct format.

Anyone else having problems decompressing there savegame?

Idlehands88
11-03-2011, 11:28 AM
Your savegame is a bit strange, do you have any DLC installed for the game or have you been playing the game for a long time?

The reason is that the header of the file contains duplicate compression headers, but only one compressed block. And the first values are incorrect (corruped save)? This would be good info before i make an exception in my tool instead of fixing the savegame itself so that its in the correct format.

Anyone else having problems decompressing there savegame?

My save started doing this about an hour after Redneck's did. It worked again a few hours later but now it's not working again...

EDIT: I PM'd you my save that doesn't work.

SSSTONERRR
11-03-2011, 12:48 PM
Ignore my last comment, I got it working, now if someone could make a chart as to what hex placements corisponded to what "attributes" of the weapons/armor/pets -or- if there is a chart out that displays said attributes please pm me the url or post. Thank you in advance. :)

godslam
11-03-2011, 01:35 PM
Ignore my last comment, I got it working, now if someone could make a chart as to what hex placements corisponded to what "attributes" of the weapons/armor/pets -or- if there is a chart out that displays said attributes please pm me the url or post. Thank you in advance. :)

I think it's random and there's no way of knowing without doing all the testing on your own.

xiuhko
11-03-2011, 03:03 PM
I read a couple posts back that someone was looking into editing items? I've figured the armor bonuses. I'm doing weapons and pets later tonight if I get a chance.

Edit: PM me to exchange research

Epydemic
11-03-2011, 03:44 PM
the offsets are random? that sucks. i am still stuck on mana >_<. Are the integers reversed like in some other games?

aft22
11-03-2011, 04:42 PM
the offsets are random? that sucks. i am still stuck on mana >_<. Are the integers reversed like in some other games?

no just search for the hex value of your mana.


edit: still waiting for a reply to my question earlier. Can you mod base statistics on the weapons, armor, and pets, or do you have to keep resetting the upgrade and do it manually?

Luisek49
11-03-2011, 04:55 PM
If you just need mana here I have a character with 15mil mana

This includes both The PROFILE and GameSave Which has 15 million mana on it.

What you have to do is...

Replace the Device and Console ID's With your own Rehash and Resign.

Put the Profile on a usb or transfer it to your HDD and then start the game.

Make a character it doesnt matter (Just so you have a save folder for dungeon defenders.)

Then take your usb out and place it back into your computer.

Do what was said above to the save files aswell.

Then insert the save files into your save folder that was just created.

Place it back into the system and start the game.

Once back in the game go to single player.

Note have the gamertag you want to give the 15 million mana to as first player, and the DD profile i had made as second player.

Create a Split screen game and choose your characters.

When in game drop the mana from the DD profile to your profile and there you have it!

Tiberius9269
11-03-2011, 06:31 PM
Okay @Idlehands I found your save on modio. can you take a screenshot of hex to show the values you for upgrades edit cause i tried to tweak it and nothing happened.

Countryboy
11-03-2011, 07:42 PM
well i am still able to play on my save so its not corrupted and no i do not have any dlc installed but yes ive been playing for awhile so i think that might be the problem ill try it again today and see if its still doing the same thing and lusek that save has already been posted on this site...

Luisek49
11-03-2011, 08:12 PM
Can anyone explain why when I search for value of my weapon I can't find anything? Same as stats of hero. I just want to mod damage could anyone help me with this? Or share a save with modded weapon for hunter?

godslam
11-03-2011, 09:09 PM
Can anyone explain why when I search for value of my weapon I can't find anything? Same as stats of hero. I just want to mod damage could anyone help me with this? Or share a save with modded weapon for hunter?

The people that know how this stuff works would like to keep it a bit more secretive so that not everyone is running around with god-like items.

aft22
11-03-2011, 09:19 PM
The people that know how this stuff works would like to keep it a bit more secretive so that not everyone is running around with god-like items.

aww, so that they can have all the top spots on the leaderboard? isn't this a hack/mod sharing site? come off the info. I know how to gradually up my weapon...I dont want to have to take all day upgrading then resetting the upgrade just to have an uber weapon. share what you know.

Idlehands88
11-03-2011, 09:31 PM
aww, so that they can have all the top spots on the leaderboard? isn't this a hack/mod sharing site? come off the info. I know how to gradually up my weapon...I dont want to have to take all day upgrading then resetting the upgrade just to have an uber weapon. share what you know.

It is a modding website, but TOO many games get destroyed from modded weapons. Modding player health and mana is one thing, but modding items that other non-modders can use is a different thing. Look at Two Worlds 2, you can't join any game on there and not run into someone using modded stuff.

I don't want this game to turn out like that. And as for the "so that they can have all the top spots on the leaderboard?" part, I see no problem with that, if you mod your items yourself then you deserve to have high ranks/stats. If you just get modded items from people then EVERYONE will have modded items by the end of the day and there would be no point to the game as no legit players would play it any more and it would just be a "look at my modded weapon someone gave me that I got for doing nothing"...

reject0511
11-03-2011, 10:53 PM
So, I had this working prefectly fine earlier today. I even have a few pretty nicely modded weapons, so me and 2 of my friends beat the game on insane, becuase I wanted the achievement. Now when I try to mod my save some more it is not working. Again, I would like to stress that I don't think that I am doing anything wrong when trying to load it, because I am doing everything the same as I was earlier. This is all of the things that happen in the command prompt. I will only pm this save to the creator of the program, if they need it, as I don't want people running around with my characters and all of my gear. I would also like to add that I have no problems with my save loading on my 360, if that makes any difference.
3822
If the image is attached wrong I am sorry, this is my first time posting an image in a forum.

taizuki
11-03-2011, 11:12 PM
So, I had this working prefectly fine earlier today. I even have a few pretty nicely modded weapons, so me and 2 of my friends beat the game on insane, becuase I wanted the achievement. Now when I try to mod my save some more it is not working. Again, I would like to stress that I don't think that I am doing anything wrong when trying to load it, because I am doing everything the same as I was earlier. This is all of the things that happen in the command prompt. I will only pm this save to the creator of the program, if they need it, as I don't want people running around with my characters and all of my gear. I would also like to add that I have no problems with my save loading on my 360, if that makes any difference.
3822
If the image is attached wrong I am sorry, this is my first time posting an image in a forum.
Mine is doing the same thing. I have downloaded 2 saves from Modio that work fine but when I try to decompress my own save, dd.exe stops working... Quite frustrating.

hi def meep
11-03-2011, 11:17 PM
@idle, I agree with you partly, but i think that should only apply to giving out the weapons, not teaching others how to mod them (don't go telling people about the site though, i'm sure a lot of people already know about this site, but i don't want everyone to have the weapons). For instance, I get it decompressed and into the hex editor, i see the script on the right and locate my chars, gear and all that, but I can't find any stats(mana, health, dmg, etc) I think if people have gotten to that point, then why not tell them where the stats are located? Only people that know what they're talking about will get the items then, instead of all the people that did nothing for them.

Idlehands88
11-03-2011, 11:25 PM
I posted my tutorial on Item Modding in the VIP Forums. I will not be releasing how to mod the items outside of the VIP Forum. Sorry but that's my decision. I have noticed hundreds of new people coming onto this site and just taking stuff from the site and not even giving anything in return. I don't want this site turning into game-tuts, thetechgame or xbox360iso where 99% of the members are just leechers...

hi def meep
11-03-2011, 11:40 PM
isn't vip here a monthly pay thing? i bought it at game-tuts, but like you said, the majority of them are leechers, and no one wants to actually contribute except a select few.

EDIT:> Oh wow, I could've sworn this site was $10 monthly, but it's only $5. I'll try to get it then. Just curious though, is there a twist to hex editing this? Or is it straight forward converting to hex and editing as you see fit? Don't spoil anything, I just want to know before I waste my time.

aft22
11-04-2011, 12:26 AM
Alright then, once I figure it out I will post it on general forum for everyone. Greedy

Idlehands88
11-04-2011, 12:37 AM
Alright then, once I figure it out I will post it on general forum for everyone. Greedy

That's your choice, but just remember it will be you that ruins this game for others and makes the company not make a second game. Sooooo how does me not wanting a game to get ruined make me greedy??? It's not my fault I'm not an immature child. So have fun destroying this community like Two Worlds 2's did...

Also I was going to be posting the tutorial for everyone to see after the online legit players have moved onto different games, and not hundreds of players are still playing and enjoying it. But seeing as how immature you are I'm not, and for good reason. Have fun finding out how to mod the game kid.

reject0511
11-04-2011, 01:30 AM
It not really that hard to figure out how to mod the weapons to do insane amounts of damage. I have my character doing over like 4 billion dps or some number like that. Message me for proof....creepyorc is my gt

godslam
11-04-2011, 04:22 AM
That's your choice, but just remember it will be you that ruins this game for others and makes the company not make a second game. Sooooo how does me not wanting a game to get ruined make me greedy??? It's not my fault I'm not an immature child. So have fun destroying this community like Two Worlds 2's did...

Also I was going to be posting the tutorial for everyone to see after the online legit players have moved onto different games, and not hundreds of players are still playing and enjoying it. But seeing as how immature you are I'm not, and for good reason. Have fun finding out how to mod the game kid.

I'm with you 100% Idle. Borderlands had the same fate and was destroyed by modded guns.
Also, if you'd like to collaborate at all, feel free to add me on Skype, Xbox or PM me.

Skype: godslam

taizuki
11-04-2011, 01:00 PM
That's your choice, but just remember it will be you that ruins this game for others and makes the company not make a second game. Sooooo how does me not wanting a game to get ruined make me greedy??? It's not my fault I'm not an immature child. So have fun destroying this community like Two Worlds 2's did...

Also I was going to be posting the tutorial for everyone to see after the online legit players have moved onto different games, and not hundreds of players are still playing and enjoying it. But seeing as how immature you are I'm not, and for good reason. Have fun finding out how to mod the game kid.

I really hope it doesnt get out how to mod weapons easily... Im having alot of fun with the game and competing for leaderboards spots daily. The only reason Im even doing this is so I can take the cool looking weapons that are complete trash and make them useful. Im tired of everyone using the same 2 weapons on each character... Every huntress uses Blasticus, Every squire has either flamewarder or malf's rapier, every apprentice staff looks the same and, well, there are almost no monks...

I thank you guys for putting this much out there so I can make some cool looking weapons do the dps of the weapons I was using. Im trying to make them look legit...

To anyone who reads this, please don't make it any easier for people to mod this!

Luisek49
11-04-2011, 04:48 PM
Well that's what I don't like ;( I play offline and it's really hard to complete challenges alone ;/ I wanted to get some nice wep... ehh

aft22
11-04-2011, 05:03 PM
Not immature, just trying to be fair, why should only those who have money to pay this website be entitled to the information. I personally do not have the money to pay for a monthly subscription. So I have figured it out myself....mostly....for whatever reason my damage and fire rate are giving me issues.

Countryboy
11-04-2011, 05:27 PM
Four Words.....SUCKS TO BE YOU......now stop whining jeez this is a website for more mature people if ur gunna whine go somewhere else and DONT flame just bcuz u cant get what u want...

Luisek49
11-04-2011, 06:15 PM
cmon share it :D that's only game I play on xbox srsly... all my other games are crap and I can't afford any new game , I ran out of gold so at least let me have fun solo...

dart2086
11-04-2011, 08:08 PM
Yes please, if someone can pm me about how to mod the items and weapons to allow more upgrades. I can only play offline and do not care about all that online stuff, I just want to be able to have some fun playing with my GF.

aft22
11-04-2011, 10:21 PM
Four Words.....SUCKS TO BE YOU......now stop whining jeez this is a website for more mature people if ur gunna whine go somewhere else and DONT flame just bcuz u cant get what u want...

No one was talking to you, if i want to hear what you have to say I will take my male genitalia from your mouth and ask you. until then STFU. I am not whining, I am making a point. I no longer need you to post this information for me. I have figured it out. I'm saying you should post it for the other people. Lurkers or not they are still looking for resources. I'm sure at some point you and everyone else on this site has had hand me down information that has improved your knowledge or gameplay. What is it to you if the game ends up with modded weapons. If you don't want to play with someone with modded weapons then don't play with them.

Either way, I have the information I needed. I figured it out on my own. I will try to get a TUT around to post for people who don't have the money or desire to spend the money on a forum. I bid you good day.

Idlehands88
11-04-2011, 10:32 PM
No one was talking to you, if i want to hear what you have to say I will take my male genitalia from your mouth and ask you. until then STFU. I am not whining, I am making a point. I no longer need you to post this information for me. I have figured it out. I'm saying you should post it for the other people. Lurkers or not they are still looking for resources. I'm sure at some point you and everyone else on this site has had hand me down information that has improved your knowledge or gameplay. What is it to you if the game ends up with modded weapons. If you don't want to play with someone with modded weapons then don't play with them.

Either way, I have the information I needed. I figured it out on my own. I will try to get a TUT around to post for people who don't have the money or desire to spend the money on a forum. I bid you good day.

GOD DAMN your blind LMAO... You do realize that I released my tutorial like 10 hours ago for everyone to see right??? If you don't stop being a douche I'm going to get you banned!

Renegade
11-04-2011, 11:01 PM
No one was talking to you, if i want to hear what you have to say I will take my male genitalia from your mouth and ask you. until then STFU. I am not whining, I am making a point. I no longer need you to post this information for me. I have figured it out. I'm saying you should post it for the other people. Lurkers or not they are still looking for resources. I'm sure at some point you and everyone else on this site has had hand me down information that has improved your knowledge or gameplay. What is it to you if the game ends up with modded weapons. If you don't want to play with someone with modded weapons then don't play with them.

Either way, I have the information I needed. I figured it out on my own. I will try to get a TUT around to post for people who don't have the money or desire to spend the money on a forum. I bid you good day.Don't start flame wars, or you will receive an infraction, 3 strikes and yer' out. You have been warned.

As for those asking about the item modding, Idle has released a tutorial in the VIP section. This is his OWN research, his time and effort. If he wants to keep it so that it's VIP only that's his call. If you don't like it, you can always research the game yourself. Nobody is asking you to pay for knowledge.

hi def meep
11-04-2011, 11:03 PM
hey idle i'm having a problem compressing the decompressed file, the program runs, but nothing changes

skipper
11-04-2011, 11:21 PM
The tools seems to be not working for me, it keeps on closing when I open it

FinalFantasy
11-05-2011, 10:55 PM
This is epic but hey i am having trouble at step one the input -d and out -c and stuff so i drag my file into it so its the whole c:\ ect then add \dd.exe <-d>\DunDefSave\save.decompressed then i get a error msg its like wtf wat i doing wrong

nicholas5011
11-06-2011, 05:12 AM
when i open up "dd" on my desktop it open ups and closes right after any tips?

AOD
11-06-2011, 09:34 AM
goto page 4 of this thread and read the steps in order to open Fairchild's toolkit

TO: Fairchild and any one else, i would like to know what hex editor you are using, im using Hex Editor Neo, but it seems when i compare my hex values to the tutorial's, mine are completely different, and also i tried editing on those hex values and when i loaded my game on my xbox its says that my file was corrupt and it loads a backup (i hash blocked it and injected it into the proper files). If u dont mind me requesting, i would appreciate maybe a video tutorial or in-depth text on how and what to edit in hex??? Im new to hex code but it seems pretty easy, i just have a hard time figuring out where stuff is like items, char stats, mana, HP, e.t.c. and also figuring out what values to use like for example, this picture tutorial says that the value "FE" = "127" which is the max, my problem is, i dont understand what values are equaled to in-game and what are the lower amounts...

Sorry if this is confusing, i have been awake trying to self-teach hex since 11 pm and as of now its 3:30 am @[email protected]

wainyboy
11-06-2011, 02:20 PM
how do i decompress my dungeon defenders file????? i dont even know how to convert it to a con file any help?

Rob462
11-06-2011, 02:45 PM
The only thing I need help with is the editing I can't seem to find out where I begin. So if anyone can help me out it would be greatly appreciated

FinalFantasy
11-07-2011, 12:56 AM
yes i got it to work does anyone know the codes to change weapon size

AlkalinePro
11-07-2011, 01:31 AM
I've gotten to the point now where everytime I try to extract my save the program crashes. Is there any workaround?

Idlehands88
11-07-2011, 01:50 AM
yes i got it to work does anyone know the codes to change weapon size

Read my Item Modding Tutorial...

Darkassailant46
11-07-2011, 03:33 AM
Mastered using hex editors on my compressed file now:) I know how to change the hero stats and what the hero looks likes.

AOD
11-07-2011, 03:35 AM
teach me darkassailant!!!!
MY GT: CPT Jirara

solder05
11-07-2011, 06:19 AM
I know this may sound noob-ish but where am i able to find a program to get the .dun file out of my DunDefSave file ? just need a little help im new to this stuff. Thanks in advance.!!

kiddo88
11-07-2011, 09:00 AM
So I've tried running the the command prompt as an administrator and i'm still getting "dd.exe has stopped working" and the save.decompressed file isnt showing up in my folder. as of right now i'm typing in Microsoft Windows [Version 6.1.7601]

C:\Users\justinmorris\Downloads\dungeon_defenders_ compress_v1.5>C:\Users\justinm
orris\Downloads\dungeon_defenders_compress_v1.5\dd .exe -d C:\Users\justinmorris\
Downloads\dungeon_defenders_compress_v1.5\DunDefHe roes.dun C:\Users\justinmorris
\Downloads\dungeon_defenders_compress_v1.5\save.de compressed

Edit - Just took SkullKeepers advice

Ok make a new folder on root of your c: drive. We will call it TEST. Copy the program to this folder. Now extract DunDefHeroes.dun from the DunDefSave container file. Put this file in TEST folder. Now run command prompt. Now type cd c:\TEST Now use these command to decompress and compress your save. Edit to your liking.

Decompress
in command prompt type dd.exe -d DunDefHeroes.dun save.decompressed

Running command prompt in Admin and still getting "dd.exe" has stopped working

Garrosh
11-07-2011, 12:11 PM
When I try to open DD it immediately crashes. Please i have no idea what im doing wrong

EDIT: Forget this post, I have found a way.

dart2086
11-07-2011, 04:11 PM
Hey, if you guys have gone through and found Idlehands88's weapon modding tutorial, I've figured it out and its super easy. When you open it in Hex, look at the names of the weapons on the right. Remember, your modding the numbers for the weapon UNDERNEATH the text. So, just look for the numbers, in order, 01 02 03, and the number after 03 is the start of the area for the weapon to mod. Its not going to match up with the picture that Idlehands88 provided, by which I mean that, where, in the picture, his text starts, yours probably won't start there except for maybe one weapon. And then, using his picture, just count the numbers until you find the category you want to change, and then count out the numbers of your Hex until it matches up. PM me if you have questions.

Garrosh
11-07-2011, 06:15 PM
How do I save my modded file back to the case file?

Asareel
11-07-2011, 11:59 PM
I have a quick question, I am running cmd under admin and have dd.exe running under admin and I was able to get the dd.exe to open through command prompt but when i try to decompress my .dun file it says "! Could not open c:\test\DunDefHeros.dun, aborted!" is there something I'm not doing correctly to get this result? in command I type..

C:\Users>cd c:\test
C:\test>dd.exe -d c:\test\DunDefHeros.dun c:\test\save.decompressed

so am I inputting something wrong or what? please help me.. Running Win7 64-bit and I have the dd.exe and defdunheros.dun file both in the test folder.



figured it out >.< for some reason c:\test isn't the same as c:\TEST.

Nightstalker
11-08-2011, 07:42 PM
I dont know whats wrong, but when i open dd.exe it opens then closes in a split second. Weird. Any help? is it something to do with my paths.

EDIT - I just opened it using CMD, not to worry even thought i would like to see a fix for my problem :P

theking305
11-09-2011, 11:05 PM
the toolkit closes as soon as i open it any help y its doing this?

Asareel
11-10-2011, 12:25 AM
the toolkit closes as soon as i open it any help y its doing this?

if your using windows vista/7 goto your start menu at the bottom search bar type in cmd the press and hold Ctrl+Shift+Enter it will open your cmd prompt as admin, then from there do cd c:\Test or where ever your dd.exe file is located then it should look something like this for decompressing

c:\TEST>dd.exe -d c:\TEST\DunDefHeros.dun c:\TEST\save.decompressed

then for compression do:

c:TEST>dd.exe -c c:\TEST\save.decompressed c:\TEST\DunDefHeros.dun

if you don't know your files exact location you should be able to drag and drop the file into cmd prompt and it will auto-fill in the file path.

jjohnson120
11-10-2011, 01:32 PM
It won’t start up for me
Is there a newer version that is window 7 compatible?
that can't find in this forum

Ninto
11-10-2011, 04:25 PM
I'm sorry, but it keeps crashing for some reason. Tells me dd.exe stopped working. Started cmd in admin and dd.exe in admin.

Vulok
11-10-2011, 04:56 PM
I'm sorry, but it keeps crashing for some reason. Tells me dd.exe stopped working. Started cmd in admin and dd.exe in admin.

For me to get around that I ran it as an Admin, and that solved the issue. They mention it somewhere in these posts but, that's what worked for me.

DirtE
11-10-2011, 05:12 PM
Hey I'm hoping someone can tell me why I can't get this to work. I've read all the tutorials on how to use this and edit the save. My problem is when I try to run the command to decompress it says "cant open save aborting". Ive tried extracting save with modio and horizon with same thing happening with both. Has anyone else had this? Any and all help would be great. Thanks ahead of time. Msg me on here or my XBL GT is= CaIIMeDirtE (capital i's in call)

Letum
11-10-2011, 05:46 PM
Same problem, won't let me decompress. It stops working, also running vista 64 bit. And yes, I am running command prompt as admin.

Vulok
11-10-2011, 06:13 PM
I was having issues so I decided to redo all the steps and I am now having the same error.

dd.exe has stopped working

Also win7 64-bit, wondering if that has something to do with it. I tried the admin route on both the .exe and cmd as well as chaging how the app is ran - Service Pack 2 etc... Still same error3932

Ninto
11-10-2011, 08:21 PM
I was having issues so I decided to redo all the steps and I am now having the same error.

dd.exe has stopped working

Also win7 64-bit, wondering if that has something to do with it. I tried the admin route on both the .exe and cmd as well as chaging how the app is ran - Service Pack 2 etc... Still same error3932

I now installed Windows XP and it still gives me the same error!

DirtE
11-10-2011, 09:19 PM
OK finally got it to decompress! Now the real fun begins

Ninto
11-10-2011, 09:25 PM
OK finally got it to decompress! Now the real fun begins

Maybe a little info?

zatara
11-10-2011, 09:34 PM
thanks :-c

TruthofSorrow
11-10-2011, 10:18 PM
i'm using windows 7 and it keeps saying dd.exe has stopped working, ive ran it as admin and all the operating system compatability but idk whats going on...
any help please?

Neaderfael
11-10-2011, 10:35 PM
When ever i try and open it it just closes auto :(

phinx
11-11-2011, 03:12 AM
I tried that and it’s still closing, also could not find operating system for windows 7 could that be why it is not running?

skeolz
11-11-2011, 07:51 AM
i need help too...
using win7
dd.exe stop working
any answers...???

fairchild
11-11-2011, 09:15 AM
I will try to get some time to fix the problems in the compression toolkit this weekend, also i'm working on a generic GUI for all my applications for those who don't understand how to run my applications under the command prompt.

Stay tuned :)

demonichate
11-11-2011, 04:57 PM
come on people how many of you have sent the same thing over and over again about not being able to access Comand Prompt? go to Program Files -> Accessories -> and there is a black box with a C:\ in it thats Command Prompt then all you have to do is go to where you saved the .exe file ( for me i put d1) which you type in CD ( Change Directory) C:\AAGameSaves\d1 then to access the dd.exe program type in dd.exe after that type in dd.exe -d C:\AAGameSaves\DunDef\DunDefHeroes.dun C:\AAGameSaves\DunDef\save.decompressed this will create the save.decompressed file for you to edit in your hex editor. after you are done with the editing to compress it you type in in the command prompt ( i suggest leaving it open until you are done ) type in dd.exe C:\AAGameSaves\DunDef\dd.exe -c C:\AAGameSaves\DunDef\save.decompressed C:\AAGameSaves\DunDef\DunDefHeroes.dun an easier way to do it instead of retyping alot of stuff is pressing up or down on the arrow keys while in the command prompt because it will cycle through the prior commands so when you finish decompressing you can cycle through the commands until you find the decompression command and change the items to the compression command line. to go to the files instead of using the up and down arrows you use the left and right arrows.

all file locations are examples of the locations i placed them may be different for others.

Ninto
11-11-2011, 08:05 PM
come on people how many of you have sent the same thing over and over again about not being able to access Comand Prompt? go to Program Files -> Accessories -> and there is a black box with a C:\ in it thats Command Prompt then all you have to do is go to where you saved the .exe file ( for me i put d1) which you type in CD ( Change Directory) C:\AAGameSaves\d1 then to access the dd.exe program type in dd.exe after that type in dd.exe -d C:\AAGameSaves\DunDef\DunDefHeroes.dun C:\AAGameSaves\DunDef\save.decompressed this will create the save.decompressed file for you to edit in your hex editor. after you are done with the editing to compress it you type in in the command prompt ( i suggest leaving it open until you are done ) type in dd.exe C:\AAGameSaves\DunDef\dd.exe -c C:\AAGameSaves\DunDef\save.decompressed C:\AAGameSaves\DunDef\DunDefHeroes.dun an easier way to do it instead of retyping alot of stuff is pressing up or down on the arrow keys while in the command prompt because it will cycle through the prior commands so when you finish decompressing you can cycle through the commands until you find the decompression command and change the items to the compression command line. to go to the files instead of using the up and down arrows you use the left and right arrows.

all file locations are examples of the locations i placed them may be different for others.

This is for the retards that can't read I assume. The problem I (and many with me) have, is that dd.exe crashes.

skeolz
11-11-2011, 10:53 PM
3962

this is what im getting

Hazic
11-11-2011, 11:43 PM
3964Ok yesterday i made one weapon using Modio to extract and inject.... after the first time it wouldnt work again untill i downloaded Horizon-- I used it to inject and it worked... now im trying to decompress again to mod a new weapon i got and it wont even decompress now when before I never had an issue whats goin on with this??

DrPizzle
11-12-2011, 02:04 AM
Great thread, even better prog! Thanks for this! Kudos!

galoo
11-12-2011, 02:50 PM
i cant get it to work. it keeps saying ! COULD NOT OPEN /. ABORTING! maybe its because im a super noob but can sum1 tell me exactly how to do it and i will do it. i want to learn how to do it so i can do it myself and not have ppl keep doing it for me. i followed all the steps but keep getting that message when i try to decompress in the CMD. i put the dd.exe (space) -d (space) / (space) /dungeondefendersheroes.dun and it gives me that messages only. i even tried only 1 / and i even tried this \ (space) \ or just \. ive basically tried everything i know and cant get nothing but that messge. can sum1 help please. im doing this for the 360 with a 360 save. im a super noob so i need help badly. thanks in advance. and yes i did all this in the CMD. and how many items can u do at a time?

ok nvm i got it to decompressed.but what do i do next? i opened it in hex workshop but its a whole bunch of numbers on the left that im supposed to mess with but i dont know what it is cause the stuff on the right if a whole bunch of .......?........vm.........jh&?m........... its nothing like the picture from idlehands88. sum1 please tell me what do i do next

Crimzen
11-12-2011, 03:06 PM
i try doing this on the computers version of the game but i get this..3974

Nightstalker
11-12-2011, 09:12 PM
3962

this is what im getting

This is what i get too, it was fine today i dont know what went wrong.

Pohzessed
11-12-2011, 09:37 PM
I was using this yesterday now all of a sudden it doesnt work...

I8AB2Day
11-13-2011, 12:46 AM
After about 200,000 lines of hex, I'm kinda gad it started crashing, because I needed to take a break. I hope this is fixed when he makes the UI.
Not to put any pressure on you, fairchild, but without this tool, nobody can mod. It's like a drug now, and we need our fix *_+

This is just my guess, but for me, the crashing stared when I had almost 3 full pages of items to mod. Before that, the most I ever had was a little over 1 page. Perhaps that might be the cause... just my untested guess...

Pohzessed
11-13-2011, 12:52 AM
It keeps saying dd.exe has stopped working
can anyone help me? I tried running it as admin and it still doesnt work

SSSTONERRR
11-13-2011, 05:51 AM
It keeps saying dd.exe has stopped working
can anyone help me? I tried running it as admin and it still doesnt work

dd.exe can be ran through cmd, thats what I do lol

<folder location>\dd.exe -d <folder location>\DunDefHeroes.dun <folder location>\save.decompressed
what I do is--> C:\Users\Stoner>dd.exe -d F:\DunDefHeroes.dun F:\save.decompressed [enter]
F:\ since I have the have save located on a External Drive, and want the "save.decompressed" located on the Exteranal Drive as well.
It decompresses perfectly, I have been modding it since the 30th.

Remeber to back up your saves in case you miss hex edit and corrupt your save :)

I am willing to make a FEW modded weapons and help out ppl that did get ther save corrupted, but i am not going to be aboe to help EVERYONE- maybe 1-5people a day, if I am not busy.

Pohzessed
11-13-2011, 06:44 AM
http://gyazo.com/a0bd2cdae99b062743c4c9d364631db4

That's what keeps happening to me

Dungeon Defend
11-13-2011, 05:07 PM
PLEASE HELP ME.... WHEN EVER I OPEN THE COMPRESSION OR DECOMPRESSION KIT IT CLOSES RIGHT AWAY. AS SOON AS I OPEN IT IT CLOSES... ANY SUGGESTIONS

Nightstalker
11-13-2011, 10:25 PM
PLEASE HELP ME.... WHEN EVER I OPEN THE COMPRESSION OR DECOMPRESSION KIT IT CLOSES RIGHT AWAY. AS SOON AS I OPEN IT IT CLOSES... ANY SUGGESTIONS
Thats because dd.exe is not a program you cant open it. You need to run it throught cmd. Press your window button+r, this opens "run". Once in it type cmd. Then from there type in your location of dd.exe. For example mine is in Saves which is in C: so what i do is:
cd C:\Saves

cutino989
11-14-2011, 02:26 PM
hi i need help what i need for extracted file con i got warning warning :tristedepart:

folzy2012
11-15-2011, 04:26 AM
how would you go about making your mana to greater than 15m using hex editor.
I already know how to use the toolkit and edit.
All help is appreciated.

Nightstalker
11-15-2011, 09:29 PM
how would you go about making your mana to greater than 15m using hex editor.
I already know how to use the toolkit and edit.
All help is appreciated.

You cant, you would need a JTAG which most likely would result in an ban.

TheTool
11-16-2011, 06:15 AM
Hi all. My first post here. I must admit, I've been coming here for quite some time and am extremely grateful at the gems that originate from here. I have been hex editing files for years of all types and enjoy doing so. Little save editors are great and all, but I'm old school and do all on my own just fun and fine. I would really like to thank you fairchild for you apps to deal with compression issues. I have never has a problem with your tools, and without them I would not have enjoyed countless hours of modified fun without them. Please keep up the good work, as your work has been the only thing between me and a good hex edit. Thank you!
To all those that want something for next to easy, please do your homework, learn what an intelligent question is, and commit yourselves. Determination pays off.
..and for the record, for anyone complaining about a tutorial to mod this game save.... it's all here in this thread. I kid you not.
Read... Learn.
Thank you 360haven.

fairchild
11-16-2011, 11:38 AM
Thought i'll give some update on the progress with reverse engineering the compression routine used in this game (and some other games).

* Decompression has been implemented and has been tested, it now works as expected.
* Work on compression has begun and currently the compression seems to work (still need more testing).
* Header creation is not there yet but this is a small task and will be taken care of later.

I would like to remind people that it's a painful process of reversing compression as this is not like checksums (approx 20 lines of assembly), this compression has over 40 functions each needs to be reversed from PPC assembly into code.

The benefit of doing this is that the same compression is used on more than just this game and this work will improve other compression toolkits for other games as well.

So in the end, if "dd.exe" crashes, you need to wait for the updated toolkit as your save is not supported yet!

I8AB2Day
11-16-2011, 07:57 PM
Ohh... I haven't tried learning anything about the work you do on these toolkits. Seems way more complicated then I thought. I thought Skyrim was to blame for your delay. :-r
Soon, Saints Row 3 will be my reason to delay, but that won't stop me from answering every question you guys have to offer.
Seriously, I want to see more messages on my gamertag Shnibadab0bin. I can juggle a lot more people then I am right now.

I have confirmed that if you reduce the number of items in your file (remember the tavern floor and shop), you can stop dd.exe from crashing. Split screen helps with that really well.

smoQ89
11-16-2011, 10:15 PM
Hey i was just wondering if someone would be willing to hook me up with some B.A. Sh*t if at all possible if not add me anyway always down to defend some dungeons

josh327
11-17-2011, 08:15 PM
I have been trying to decompress my DunDefHeroes.dun file for a few days now to no avail. im using command prompt as admin and typing C:\dd\dd.exe -d C:\dd\DunDefHeroes.dun C:\dd\save.decompressed and it says it has stopped working. its driving me crazy. any help would be appreciated. thank you.

BTW dd is the name of the file i used instead of TEST

godofvallr
11-17-2011, 10:03 PM
i have a problem when trying to decompress the save file, saying xbox 360 container detected, why is this?

- Open input file: C:\TEST\DunDefSave
- File size: 0x00027000 (159744)
- Reading buffer from file, done.
! XBOX360 Container detected.

emogirl19
11-19-2011, 08:25 AM
hey guys my gamertag is TragicRosePetal im going to try and make some more of these for dungeon defenders if anyone wants to help at all

emogirl19
11-20-2011, 12:39 PM
can some one help me with this i got my game on usb but i can do something else please add me and help a lil bit please TragicRosePetal

Tunasmasher
11-20-2011, 11:52 PM
Everytime i go to decompress my file it says "Could not open DunDefHeros.Dun, Aborting!"

Can someone tell me what the hell im doing wrong?

folzy2012
11-21-2011, 02:14 AM
thank you for the great toolkit. I was just wondering if you could update it so that the chicken pet can be modded. I just got it today and it continues to say dd.exe has stopped working. . Just wondering if you could update it. thanks ps. it stops after fixing checksum

Rizzaline
11-22-2011, 05:30 PM
The toolkit was working fine a few days ago but now whenever I try to decompress, it says dd.exe has stopped working. Any thoughts?

Rizzaline
11-22-2011, 05:43 PM
The toolkit was working fine a few days ago but now whenever I try to decompress, it says dd.exe has stopped working. Any thoughts?

Alright I see the problem, I'm guessing my save is too big and that would be the reason dd.exe is crashing.

AshMyster
11-23-2011, 12:56 AM
Great stuff

fairchild
11-23-2011, 03:45 PM
Here's an update on the progress:

* All the coding is completed, 1:1 compress recreation with support for infinite number of compressed blocks.
* Currently testing this on a couple of saves i have received from some nice people :)

Beta released, expect bugs!!.

Beast808
11-23-2011, 06:31 PM
I am confused on how to decompress the file.And is the tool kit supposed to open because mine doesn't.
So HELP ME!

1234rty
11-24-2011, 12:22 AM
umm it wont work for me, it turns on and off every thime i run as admin and try it with out admin... please help

Deadll
11-24-2011, 08:01 AM
Dude can you give me a modded weapon

fairchild
11-24-2011, 08:29 AM
This tool is a command prompt (DOS) application and cannot be run by double clicking the exectuable. You need to open the command prompt and follow the readme.txt..

Beast808
11-24-2011, 07:34 PM
do you use the toolkit on the save game or the one extracted from the content.AND how do you use the toolkit on the file

Beast808
11-24-2011, 11:03 PM
when i try to decompress the file, it says that it is aborting cause it cant open dundefheroes.dun

fairchild
11-25-2011, 08:13 AM
1) Is dundefheroes.dun opened in another application?
2) Is dundefheroes.dun in the correct location you specified?

huricanex
11-25-2011, 08:36 AM
i tried to open the save with the decompresser and it opens and closes really fast not sure whats wrong

s33k3r
11-25-2011, 11:08 PM
On windows 7 x64 it fails using the command line and gui tool. This appears to be some issue with compatibility but it seems to work ok on my other system. I appreciate you doing so much hard work to allow us though!

I have been doing development in a number of languages for a couple of years and am curious what sorts of operations this decompression does. Is the data stored in some silly lzw sort of poor mans compression or are you reverse engineering a custom file format?

wrxscooby
11-27-2011, 05:17 AM
im a complete and utter noob when it comes to stuff like this but im going to give it a try....
first question: if i mod DD whats the chances of me getting banned?
second question: do i need to download the hex this if i have the decompression kit?
third question: why make a back up?
and finally last question: how much time should it take me to do this? on a scale of 1- 10 how hard is this going to be?(me being a complete and utter noob and not really know wtf im doing)

JTCLemonZz
11-27-2011, 10:40 PM
could you please tell me how you enter the command, because no offense that bit isnt clear in your tut. everything else is but telling me how to enter the command

remerton
11-28-2011, 02:22 AM
First issue: CMD gives me access is denied error when I run the command line, and the gui gives an error of:
- Reading buffer from file, done.
! XBOX360 Container detected.
System.Text.SBCSCodePageEncoding

Then never creates the file. Also when I open the save in a hex editor I can't find any of the text strings for the weapons or armor or characters. Something I'm doing wrong? Can the save be opened by a hex editor before being decompressed?

Using Hex workshop 6.6 and win 7. Tried the cmd line on xp and got same error, taken control of folder as well as disabled UAC on computer, can't find any other solutions for why I'm getting an access is denied error.

gradku
11-28-2011, 07:05 AM
i only have one question. I've gotten through all the steps except the compression and injection. that bit is a little confusing for me. not sure how to fix the check sums, much less what one is right off. still a beginner with the hex editing

scottlang
11-28-2011, 12:45 PM
it dosent load up on my computer can u help me please

gradku
11-28-2011, 05:51 PM
it dosent load up on my computer can u help me please

if you are referring to the executable file aka "dd.exe" then its not supposed to open. i believe it is made to support the decompression/compression processes

TJSmiffy
11-28-2011, 06:27 PM
when you use it run it through CMD... there's a link somewhere showing you what to do, i'll try find it for you :)

geordon2
11-29-2011, 02:46 PM
righto i got one problem everything else is fine when i put the usb devise back in to my xbox and try to load it it says its corrupt save and will not load anybody got any suggestions???

TJSmiffy
11-29-2011, 05:47 PM
righto i got one problem everything else is fine when i put the usb devise back in to my xbox and try to load it it says its corrupt save and will not load anybody got any suggestions???
use your backup (you DID make one didnt you?) then try to re-mod it that way :)

Chaotic
11-29-2011, 06:25 PM
For those of you that are DEMANDING help can just give it up. Your doing nothing but agitating those of us that are trying to solve harder problems. Your stating the same problem 100s of times and the FEW of us that are telling YOU to learn how to read are NOT helping your own situation. If you go back and read the threads you will find your answers from other members own trial and error. If you can't solve your problem provide details so that we may address them.

Win7 x64 works just fine! I know because I use it on a laptop, and that is how ive been modding.

The primary issue here is that your not attempting to solve the problem but whine and complain for someone else to. Read the Tutorial section you find beginner guides. So before you post your next headache do some research.

Thanks

ShisouKarite
11-30-2011, 03:10 AM
I keep getting an error when i try to decompress with both programs and i have no idea what im doing wrong

chrisw4909
12-03-2011, 12:26 PM
Whats With All The stuff like Mipchild in griffitie?

chrisw4909
12-03-2011, 12:27 PM
I love dungeon defenders..

chrisw4909
12-03-2011, 12:27 PM
Dungeon Defenders is sooo much fun i have 2 lvl 70s

chrisw4909
12-03-2011, 12:28 PM
I am trying to mod it but this is realy slowing it down

chrisw4909
12-03-2011, 12:28 PM
cool i am a junior member :D

chrisw4909
12-03-2011, 12:29 PM
What is Rep Power?

chrisw4909
12-03-2011, 12:29 PM
And Points And Level Completed?

TJSmiffy
12-03-2011, 12:43 PM
dont have a clue, just trying to get mine up :L back on topic: With the GUI when you click compress it basically does the same as when you run it through CMD. is it supposed to do this or not. I dont need to know it's just for the interest of other people :)

Renegade
12-03-2011, 12:51 PM
dont have a clue, just trying to get mine up :L back on topic: With the GUI when you click compress it basically does the same as when you run it through CMD. is it supposed to do this or not. I dont need to know it's just for the interest of other people :)The majority of users don't know how to execute applications via CMD. Even with that said, they still struggle to use it properly. The GUI is just what is sounds like. A user-friendly interface so the user can click the preset buttons and then let the application do all the work for them. So yes, it's supposed to do this.

SpaceBass
12-03-2011, 03:40 PM
I keep getting an error when i try to decompress with both programs and i have no idea what im doing wrong

If you are going to use the GUI, be sure to place 'dd.exe' and 'fairchildGUI.exe' in the same folder.

Try putting both those files in a root folder like the 'C:' drive or a new folder called "test" on that drive. (The compressor tends to not function if you try and use it in a path that contains spaces like "C:\A space"

You'll then drop your "DunDefHeroes.dun" and your "DunDefSave" into the same folder as those two files, which you should have extracted your .dun from your "DunDefSave" using 'Modio' or 'wxPris'.

Decompress the .dun using the GUI > Edit it at your own will > Open the GUI > Select compress > Select your decompressed file > Select your "DunDefSave" > Check the output text to make sure there are no errors > Slap the save back onto your USB > Rehash & Reassign > Save > Done.

NOTE: If you are going to use the command line, the order for compressing is (Decompressed File > DunDefHeroes.dun) NOT (Decompressed File > DunDefSave) like the GUI.

IsITcuzIblack
12-04-2011, 09:32 AM
faircild...i have win32 and it says its not a valid application

Jordan NL
12-04-2011, 11:53 AM
Could anyone give me an modded wep.
My GT Jordanld nl

jiggerjam
12-10-2011, 03:38 AM
Great information, this is probably the only forum i have ever seen with this much. Thanks Fairchild

XxSkilzShotzxX
12-11-2011, 04:24 AM
Hey im new at this stuffs and i was wondering if u can mod some weps for me my gt is Xxskilzshotzxx message me if u are willing to do that for me.

XxSkilzShotzxX
12-11-2011, 04:29 AM
hey im new at this stuff and i was wondering if you could mod some weapons with me message me on my gt its XxskilzshotzxX.

pk132
12-11-2011, 06:25 AM
program wont load

RED360
12-12-2011, 06:53 PM
Ya Thanks for all the moding tools and info has been realy helpful. Still having trouble with using the UI to compress, but I figure it out when I have more time.

you're all over-achievers, you wanna do something real fun modify the projectile speed bonus to upwards of 20 thousand and you can't even see the arrows anymore.
After doing a lot of weapons mods I tried to see what it would take to Solo Assult on insane with my hunter and it seem that increasing the projectile speed above 20k gives you better range. In the tavern on the test dummy range is not a problem.

SpaceBass
12-12-2011, 07:15 PM
Check out my above post and let me know if that helps at all. Shoot me a PM or reply here and I'll be willing to help you figure it out :)
~SpaceBass~

peckham14
12-13-2011, 03:41 AM
how do i download the decompressing toolkit ???

RED360
12-13-2011, 05:20 PM
how do i download the decompressing toolkit ???
The links are on the bottom of the first post of this thread.

zachattack308
12-18-2011, 03:05 AM
When i type the stuff into cmd it comes up saying could not open c:\DDM\DunDefHeros.dun, aborting! What am i doing wrong?

EDIT:Looks like this

4500

SpaceBass
12-18-2011, 05:41 AM
When i type the stuff into cmd it comes up saying could not open c:\DDM\DunDefHeros.dun, aborting! What am i doing wrong?

EDIT:Looks like this

4500

Did the file some how get changed to read-only? Check its properties and/or try re-extracting it.
If that doesn't work, try running your CMD window as an Administrator.

zachattack308
12-18-2011, 07:23 AM
I ran it as administrator and re extracted the file and still says the same thing :/

SpaceBass
12-18-2011, 08:37 AM
I ran it as administrator and re extracted the file and still says the same thing :/

Try: Right-click > properties > uncheck "read-only" > apply
Check the DDM folder for that as well.
Not sure what would cause you not to be able to open it.

ZeroThunderyo
12-18-2011, 08:54 AM
thanks alot i finally can mod weapons!!

zachattack308
12-18-2011, 05:23 PM
I really don't know why either cause i put the files straight to the c drive and none of them are read only. The only thing I can think of now is that what is the file supposed to open with?

AOD
12-18-2011, 11:18 PM
ok, so i have been using this tool ever since it came out and have had no problems with extracting, decompressing, compressing or hex editing and havent changed anything about it.... but for some reason whenever i try to decompress a save, it either A: keeps increasing in size or B: it doesnt decompress into a hex-able file, and THEN just to top it off sometimes it will work but after im done hexing the file i go to compress it it compresses into a file called, (dundefheroes.dun.rebuilt), i already tried redownloading the program and using a new save instead also, so if someone could help me with this inconvenience that would make my life a lot easier

SSSTONERRR
12-26-2011, 08:28 AM
When i type the stuff into cmd it comes up saying could not open c:\DDM\DunDefHeros.dun, aborting! What am i doing wrong?

EDIT:Looks like this

4500

You simply, miss spelled Heroes lol, you need the make sure it is spelled PERFECTLY!!!

You are failing to type in the location correctly. For decompressing it would be.
C:\Users\Zach>DDM\dd.exe -d C:\Users\Zach\DDM\DunDefHeroes.dun C:\Users\Zach\DDM\save.decompressed

Compressing would be

C:\Users\Zach>DDM\dd.exe -c C:\Users\Zach\DDM\save.decompressed C:\Users\Zach\DDM\DunDefHeroes.dun


ok, so i have been using this tool ever since it came out and have had no problems with extracting, decompressing, compressing or hex editing and havent changed anything about it.... but for some reason whenever i try to decompress a save, it either A: keeps increasing in size or B: it doesnt decompress into a hex-able file, and THEN just to top it off sometimes it will work but after im done hexing the file i go to compress it it compresses into a file called, (dundefheroes.dun.rebuilt), i already tried redownloading the program and using a new save instead also, so if someone could help me with this inconvenience that would make my life a lot easier

the compressing into the DunDefHeroes.dun.rebuilt is the correct file, simply replace the file on your gamesave with the .rebuilt problem solved lol

BackSmack
12-27-2011, 05:46 AM
I keep getting this but I am spelling heroes right and I am using codes (cd c:\saves) then [dd.exe -d dundefheroes.dun save.decompressed] any ideas????
4616

ThisGuyTony
12-28-2011, 08:55 AM
Hey for anyone that can give me a helping hand. I got the compression and decompression part down but when I hex it I feel like I'm not replacing the right values and what not... I try then when I replace it with my save and load the game it comes out corrupt each time. If someone can give this newbie a helping hand would greatly be appreciated and or a large mod weapon I can use for my huntress or whichever character.

My GT: TonyG00F0nY the O's in GOOFO are the numbers not the letters O.
Thanks again.

SSSTONERRR
12-28-2011, 08:58 AM
I keep getting this but I am spelling heroes right and I am using codes (cd c:\saves) then [dd.exe -d dundefheroes.dun save.decompressed] any ideas????
4616

Take a picture of your 'cmd' when you enter it in- you just took zachattack308's picture and used it, not your own, so i can't tell you what to type in.

ThisGuyTony
12-28-2011, 08:59 AM
I keep getting this but I am spelling heroes right and I am using codes (cd c:\saves) then [dd.exe -d dundefheroes.dun save.decompressed] any ideas????
4616

Did you download wxPirs so you have your dundefheroes file?

SSSTONERRR
12-28-2011, 09:13 AM
Did you download wxPirs so you have your dundefheroes file?

you can actually use almost any modding tool, like Modio, or Horizon [what i use]

BackSmack
12-28-2011, 09:03 PM
I have got mine workin but now I have got a new problem I have modded atleast 9-15 times and now when I try to recompress the save it says dd.exe has encountered a problem any ideas?

ThisGuyTony
12-29-2011, 02:44 AM
Are there any other good hex editors other than hex workshop you can use for DD?

SSSTONERRR
12-29-2011, 09:54 AM
Are there any other good hex editors other than hex workshop you can use for DD?

to be honest you need to specify "other good"
if you are looking for a 'simple' hex editor you can always try HxD it doesnt ahv all of the built in tools, so it is a basic hex editor, other wise Hex workshop is one of the best free-ish hex editors (in my opinion)

dimolina123
12-29-2011, 01:59 PM
mines doesnt even load up

BackSmack
12-29-2011, 05:05 PM
I have got mine workin but now I have got a new problem I have modded atleast 9-15 times and now when I try to recompress the save it says dd.exe has encountered a problem any ideas of how to fix me and my freind are both do same thing?

snwbrdr850
01-03-2012, 04:14 AM
Has anybody tried this for PC, i realize this is for 360 but i am trying to decompress my DunDefHeroes.dun file and DD.exe stops working saying bad::aloc'

signore
01-03-2012, 09:10 AM
Having the same issue trying to Decompress a PC(Steam) Save... Tried on windows 7 64bit as admin and then in a windows xp 32bit vm. same bad::aloc Error...

Idlehands88
01-03-2012, 09:23 AM
This only works for the xbox 360 version. The PC version of the save is reverse (Little Endian) meaning that unless fairchilds codes in support of the PC version then you can't use this.

signore
01-03-2012, 09:31 AM
sweet thanks for the reply its nice to shead some light ^.^

IamWhoIam
01-14-2012, 05:34 AM
Everytime i go to open dd.exe no matter where i get the file it opens and automaticly closes - all my firewalls are off when i try it and it still shuts it off, is there any other decompression/compression tools that could be used as an alternative?

cybersam
01-14-2012, 05:57 AM
uhm... either download the gui for the compression toolkit (found on the first page) or...

you'll need to learn how to use the cmd...
look for "cmd.exe" (should be somewhere in your windows directory)

or in the start menu (in win7) in the searchbar type "cmd" in older windows version just select "run program"(or something like that... don't have an english windows version ^-^''') from the start menu

and type "cmd" there


from there you will need to navigate to the directory where you put your dd.exe
preferably you create a folder on "C:\" and name it "dd" (you can give it another name if you like... just don't use spaces or any type of special characters)
and put your dd.exe and the extracted savegame there

then in the cmd window type "cd c:\dd"

then you can decompress/compress your save

for decompression type --> "dd -d NameOfYourSaveFile decompressed"
and for compression type --> "dd -c decompressed NameOfYourSaveFile"



all of this is stated in the readme.txt... so... next time please read that first ^-^

DatFoolz
01-18-2012, 04:00 AM
woow they really works. thx

HybridRX1
01-20-2012, 05:12 PM
Ok. I'm pretty much a retard here. But I can't seem to find this DD.exe file that is needed to be placed into the folder. Please make me feel stupid and let me know where I get this or where it is.

Raklik
01-20-2012, 06:27 PM
you download the file on the first page of the post, use winrar or other programs to extract the folder out, within the folder you downloaded off page 1 will be the dd.exe file as well as a read me, that is the dd.exe file that you put into the c:\Saves folder that you created to allow yourself to use it.

HybridRX1
01-20-2012, 06:55 PM
Oh gotcha. I'll have to find that folder now. That's within the folder of the GUI? That's the only thing I downloaded


Sweet!! Thanks. Got it. That was the only thing I couldn't figure out.

abrandnewday
01-22-2012, 05:28 PM
I haven't read through this entire thread, so I don't know if this has been reported or not, but I'm getting an error; "XBOX360 Container detected."

Can't decompress the save.

NOTE: I've examined my hard drive in Modio and can't find this "DunDefHeroes.dun" file. I'm trying to decompress the DunDefSave file, as that's all I can find.

EDIT: Well aren't I an idiot. And I'm a great modder. Completely forgot about opening the DunDefSave file itself. Found the .dun file within. Boy do I feel stupid lol.

Raklik
01-22-2012, 06:15 PM
we all have blonde moments, lol. I do the same myself on a daily basis. I'm quite literate with computers since i'm going to school for computer science / video game design right now, but when starting off i made the simplest mistake of forgetting to re-save to my usb drive after finishing up with hex-editing. Hours of work wasted due to forgetting to hit 1 button when finished. Why the forums are here though, to allow the rest of us to help you with your personal blonde moments though ;-)

abrandnewday
01-22-2012, 08:02 PM
Well the toolkit worked wonderfully. Luckily, I have some knowledge of Linux which carried over into the command prompt (such as the whole "cd <directory>" thing).

The only issue I ran into was changes to weapons not being applied.

I accidentally applied huge stats to an armor piece instead of the weapon on my squire, and all the stats showed up as "120" or "121" or something.

Tried applying them to what I thought was the stats of my sword....nothing. Still did lame damage.

I had found this tutorial on Se7ensins which had stated that four hex values were the damage, and to have damage hit the billions, to change the values to "77 35 94 00". This didn't work at all.

So I made a new character, a Huntress. Found my first bow on the first level, saved and hex edited it.

EDIT: At this point in typing this post, I noticed the guide said to upgrade the weapon and rename it. I hadn't done so for the armor, but the changes still applied. I also just found out that with all my changes, the armors value had jacked up to over 7 million mana, so I promptly sold it. Seems when I deleted my Squire, all his items went to my item box.

I'm just upgrading my crossbow as much as possible right now, but I still don't know how to go about renaming the crossbow. Here's how I modified the values of it.


01 01 00 01 02 03 7F 7F 7F 7F 7F FF FF FF FF FF FF FF FF FF FF 77 35 94 00 83 00 00 FF FF 01 77 35 94 00 3F 99 99 9A 3F 80 00 00 01 00 00 00 00 FF 77 35 94 00 77 35 94 00 FF FF 7F FF 00 03 0B 06 00 15 58 11 C0 20 E0 5C C0 00 00 00 01 0C 00 00 00 00 00 00 00 00 00 00 00 00 01 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3F 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3F 80 00 00 00 00 00 02 20 00 00 00 00 02 20 00 00 00 00 00 00 00 00 31 44 75 6E 44 65 66 45 71 75 69 70 6D 65 6E 74 2E 45 71 75 69 70 6D 65 6E 74 48 75 6E 74 72 65 73 73 2E 43 72 6F 73 73 62 6F 77 53 74 79 6C 65 33

Someone try that above code and tell me if it modifies a crossbow to have billions of damage, because it's not working (yet) for me.

EDIT 2: Was just able to rename my crossbow. But I found a neat chaingun that I'm going to try to mod. Seeing as I sold that modded armor for 7 mil, I went ahead and fully upgraded the chaingun. Renamed it "Trololo", as the game wouldn't let me rename it to "Get Fucked".

Raklik
01-22-2012, 09:34 PM
77 35 94 00 should actually be changed to 00 FF FD FE, that is the code you should use for your damage as it maxes out the capability of it.
soooo going from your last FF this is how the code should look

01 01 00 01 02 03 7F 7F 7F 7F 7F FF FF FF FF FF FF FF FF FF FF 00 FF FD FE 93 00 00 FF FF 01

pandaxpalooza
01-25-2012, 05:55 AM
when i try o open either one of them, it doesnt let me it just pulls up a download manager thing.

militia force
01-26-2012, 01:37 AM
every time i click download fairchild it just brings up a pop-up to buy winzip... is that supposed to happen or is the website as stupid as i think it is?

amp5
01-30-2012, 09:39 PM
So whenever I try to use any of the decompression tools it says "C:\Documents is not recognized as an internal or ext..." or for the GUI "Error: recheck your options, C:\Documents is not valid
System.Text.SBCSCodePageEncoding"
I'm completely clueless about modding so far, this is my first attempt at any sort. But for some reason I think this has more to do with a computer issue than my own ineptness. Can I get some sort of opinion as to whats going on here?

SSSTONERRR
01-31-2012, 03:17 AM
So whenever I try to use any of the decompression tools it says "C:\Documents is not recognized as an internal or ext..." or for the GUI "Error: recheck your options, C:\Documents is not valid
System.Text.SBCSCodePageEncoding"
I'm completely clueless about modding so far, this is my first attempt at any sort. But for some reason I think this has more to do with a computer issue than my own ineptness. Can I get some sort of opinion as to whats going on here?
Your problem is you are using Windows XP, this .exe was not entirely designed for XP, more a less for Vista+, unless you know ways to side step the directory problems.
Windows XP instead of your computer having "Users" as the folder for your profile it is called "Documents and Setting" (or something along those lines) any way, the "_" (space) is used to seperate commands in CMD. Windows XP is basically rendered useless, unless you create a folder in your C:\ folder and move your gamesave (DunDefHeroes.dun) as well as your DD.exe to the same folder. then enter the directories correctly into CMD

I hope I helped you understand your problem

Djstruck117
02-05-2012, 05:12 PM
WHY DO I NEED 7 SEMI QUALITY POSTS BEFORE DOWNLOADING?! =[

Djstruck117
02-05-2012, 05:14 PM
YOU KNOW WHY I NEED 7SEMI QUALITY POSTS??

XboxRainbowMods
02-11-2012, 12:49 AM
Fairchild, is there a way to make your tool decompress the backup file as well?


http://i.imgur.com/Hixm8.png (http://www.purchasemods.com)Visit my YouTube Channel for More Mod Support (http://www.youtube.com/user/XboxRainbowMods/featured)http://i.imgur.com/Hixm8.png (http://www.purchasemods.com)
(Click Here) (http://www.youtube.com/user/XboxRainbowMods/featured)

mattyplant
02-19-2012, 11:02 AM
Thanks alot pal :baba:

iiizuluiii
03-14-2012, 02:05 AM
I cannot get my files to compress. I couldnt get them to decompress before, DL'd the GUI and it worked.. woot! but now the GUI wont compress... my error is that "could not open" Is there something preventing me from accessing my file on windows? I tried running as admin.. im just lost.. please help

chisox8
03-25-2012, 07:06 PM
I tried to decompress a savegame using the GUI, but I got this:


Ü
Ü ÜÜÜÜÜÜÜ Üßßßßß ßß ßÜÜÜÜÜÜÜÜ ßÜÜÜÜ Ü
ÜÜÜÜÜÜ ß ÜÜÜÜÜÜÛßßßßßÛ ÜÜÜÜÜÜß ÛßßßßßßÛ Ûßßßßßß ÜÜÜÜ ÛÜÜÜÜÜÜÜÜ
ÜÜÛßß ÜÜ ßÛßßß ÜÜ ßß ßßß Ûßß ÜÜ ßßÛÜ ß Ûß ÛÛÛßÞÝ Û ßßßß ÛÛÛÛ ÜÛÛ ÜÜÜÜ ßÛ
ß ßß ÜÜÛÛß²²Ü ÜÜÛÛßÛ²²Ü ÛÛÛ ÜÜÛÛßÛÛ²Ü ÛßßßßÛ ÛÛÛÝ ÛÜÜÝÞÛÛÛÝÞÛÛÛÝÞÛÛÛÜÞÛÛÛÝ Ü
ܲ²²²ß ßßÜÛÛß ÞÛÛ²ÝÞÛÛÝÜÛ²ß Þ°°±Ý ÜÜÛ²Ü ÞÛÛ²ÛÜÜÜ ²ÛÛ± ±ÛÛÛ Û ÜÜÜÜÛÛÛ²
Þ²±°Ý ° Þ²±°Ý ßß°°±± °°± ²±Ý ܰÛÛßܱÛÛß °°±Û ßß°±² ²°ÝÞ°±²Ý ÜÛ²Ûß Þ²Û²Ý
²°ÛÛß Û ²°ÛÛ °ÞÛÛÛÝÞÛÛ² °°Û °ßß Þ²°±Ý ÜÝÞ²ÛÛÝÞÝÞÛÛ°ÝÞÛ Û°°² Þ²°°Ý ÜÛ°±²ß
ß ÞÛÛÛÝÞÛÝÞÛÛÛÝ ßßßß ßß ÞÛÛÛÝ ß ß²ÛÛÜÛÛ ßßßß ÛÛ ÛÛÛ° Þ²ÛÛÝ ß²ÛÛÜÛÛßß ÜÜ Ü
Û ßßßß ÛÛ ßßßß ÛßßßßßßÛÜ ßßßß ÛßÛÜÜ ßß ÜÜÛßßßßÛÝÞÛÛÛÝÞ ß²²ÛÛܰ ßß ÜÜÛßß
ßßßßßßßßßßßßßßßß Ü ß ßßßßßßßß ßßßßßß !f Û ßßßß ÛÛÜÜ ßßßß Ûßßßß
ß ßßßßßßßßßßß ßß p r e s e n t s . .ßßßßßßßß ßßßßßßßß ßß ß
ß ßßßßß ßß

Dungeon Defenders Compression Toolkit by fairchild
================================================== ===== version 0.3.0b ===


Error: recheck your options, C:\Documents is not valid
System.Text.SBCSCodePageEncoding

What do I need to fix?

nazgul17
03-31-2012, 02:41 PM
When I try to decompress a file, dd stops working... The error it gives is the following:

terminate called after throwing an instance of 'std::bad_alloc'

Is it a known problem?

jmoney
04-27-2012, 04:34 AM
dont think this works anymore since there was an update....

djsun
05-03-2012, 10:26 AM
i decompressed the save and did the hex editing, but when i compress it using the gui it brings up a dos screen expecting me to type something? closed out of that and the dundefsave never got the changes i made ? am i supposed to type in a command at that dos screen?

brosmans
05-12-2012, 01:49 PM
Any chance we can get an update on this file, Fairchild?

It doesnt seem to be working anymore with the newest version of DD. I get the same bad_alloc error as nazgul17.

Idlehands88
05-12-2012, 01:51 PM
Any chance we can get an update on this file, Fairchild?

It doesnt seem to be working anymore with the newest version of DD. I get the same bad_alloc error as nazgul17.

It works for me....

Xorcon
05-13-2012, 05:58 AM
I am getting same errors as those above ... I'm using the PC version of the game on Steam.


▄ ▄▄▄▄▄▄▄ ▄ ▀▀▀▀▀ ▀▀ ▀ ▄▄▄▄▄▄▄▄ ▀▄▄▄▄ ▄
▄▄▄▄▄▄ ▀ ▄▄▄▄▄▄█▀▀▀▀▀█ ▄▄▄▄▄▄ ▀ █▀▀▀▀▀▀█ █▀▀▀▀▀▀ ▄▄▄▄ █▄▄▄▄▄▄▄▄
▄▄█▀▀ ▄▄ ▀█▀▀▀ ▄▄ ▀▀ ▀▀▀ █▀▀ ▄▄ ▀▀█▄ ▀ █▀ ███▀▐▌ █ ▀▀▀▀ ████ ▄██ ▄▄▄▄ ▀█
▀ ▀▀ ▄▄██▀▓▓▄ ▄▄██▀█▓▓▄ ███ ▄▄██▀██▓▄ █▀▀▀▀█ ███▌ █▄▄▌▐███▌▐███▌▐███▄▐███▌ ▄
▄▓▓▓▓▀ ▀▀▄██▀ ▐██▓▌▐██▌▄█▓▀▐░░▓▌ ▄▄█▓▄ ▐██▓█▄▄▄ ▓██▒ ▒███ █ ▄▄▄▄███▓
▐▓▒░▌ ░ ▐▓▒░▌ ▀▀░░▒▒ ░░▒ ▓▒▌ ▄░██▀▄▒██▀ ░░▒█ ▀▀░▒▓ ▓░▌▐░▒▓▌ ▄█▓█▀ ▐▓█▓▌
▓░██▀ █ ▓░██ ░▐███▌▐██▓ ░░█ ░▀▀ ▐▓░▒▌ ▄▌▐▓██▌▐▌▐██░▌▐█ █░░▓ ▐▓░░▌ ▄█░▒▓▀
▀ ▐███▌▐█▌▐███▌ ▀▀▀▀ ▀▀ ▐███▌ ▀ ▀▓██▄██ ▀▀▀▀ ██ ███░ ▐▓██▌ ▀▓██▄██▀▀ ▄▄ ▄
█ ▀▀▀▀ ██ ▀▀▀▀ █▀▀▀▀▀▀█▄ ▀▀▀▀ █▀█▄▄ ▀▀ ▄▄█▀▀▀▀█▌▐███▌▐ ▀▓▓██▄░ ▀▀ ▄▄█▀▀
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▄ ▀ ▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀ !f █ ▀▀▀▀ ██▄▄ ▀▀▀▀ █▀▀▀▀
▀ ▀▀▀▀▀▀▀▀▀▀▀ ▀▀ p r e s e n t s . . ▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀ ▀▀ ▀
▀ ▀▀▀▀▀ ▀ ▀

Dungeon Defenders Compression Toolkit by fairchild
================================================== ===== version 0.1.5 ===

- Open input file: C:\Users\Administrator\Downloads\DunDefHeroes.dun
- File size: 0x000035ca (13770)
- Reading buffer from file, done.
- Header: 0xb6350000 (3056926720)
- Unknown: 0xfa204ac2 (4196420290)
- Compressed size: 0xc1832a9e (3246598814)
- Decompressed size: 0x00000200 (512)
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Xorcon
05-13-2012, 06:01 AM
I have tried two versions of dd.exe. 0.1.5 above and 0.3.0b below


▄ ▄▄▄▄▄▄▄ ▄ ▀▀▀▀▀ ▀▀ ▀ ▄▄▄▄▄▄▄▄ ▀▄▄▄▄ ▄
▄▄▄▄▄▄ ▀ ▄▄▄▄▄▄█▀▀▀▀▀█ ▄▄▄▄▄▄ ▀ █▀▀▀▀▀▀█ █▀▀▀▀▀▀ ▄▄▄▄ █▄▄▄▄▄▄▄▄
▄▄█▀▀ ▄▄ ▀█▀▀▀ ▄▄ ▀▀ ▀▀▀ █▀▀ ▄▄ ▀▀█▄ ▀ █▀ ███▀▐▌ █ ▀▀▀▀ ████ ▄██ ▄▄▄▄ ▀█
▀ ▀▀ ▄▄██▀▓▓▄ ▄▄██▀█▓▓▄ ███ ▄▄██▀██▓▄ █▀▀▀▀█ ███▌ █▄▄▌▐███▌▐███▌▐███▄▐███▌ ▄
▄▓▓▓▓▀ ▀▀▄██▀ ▐██▓▌▐██▌▄█▓▀ ▐░░▓▌ ▄▄█▓▄ ▐██▓█▄▄▄ ▓██▒ ▒███ █ ▄▄▄▄███▓
▐▓▒░▌ ░ ▐▓▒░▌ ▀▀░░▒▒ ░░▒ ▓▒▌ ▄░██▀▄▒██▀ ░░▒█ ▀▀░▒▓ ▓░▌▐░▒▓▌ ▄█▓█▀ ▐▓█▓▌
▓░██▀ █ ▓░██ ░▐███▌▐██▓ ░░█ ░▀▀ ▐▓░▒▌ ▄▌▐▓██▌▐▌▐██░▌▐█ █░░▓ ▐▓░░▌ ▄█░▒▓▀
▀ ▐███▌▐█▌▐███▌ ▀▀▀▀ ▀▀ ▐███▌ ▀ ▀▓██▄██ ▀▀▀▀ ██ ███░ ▐▓██▌ ▀▓██▄██▀▀ ▄▄ ▄
█ ▀▀▀▀ ██ ▀▀▀▀ █▀▀▀▀▀▀█▄ ▀▀▀▀ █▀█▄▄ ▀▀ ▄▄█▀▀▀▀█▌▐███▌▐ ▀▓▓██▄░ ▀▀ ▄▄█▀▀
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▄ ▀ ▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀ !f █ ▀▀▀▀ ██▄▄ ▀▀▀▀ █▀▀▀▀
▀ ▀▀▀▀▀▀▀▀▀▀▀ ▀▀ p r e s e n t s . . ▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀ ▀▀ ▀
▀ ▀▀▀▀▀ ▀ ▀

Dungeon Defenders Compression Toolkit by fairchild
================================================== ===== version 0.3.0b ===

- Open input file: DunDefHeroes.dun
- File size: 0x000035ca (13770)
- Reading buffer from file, done.

terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.