[TUTORIAL]Getting Started Dungeon Defenders Modding
Since Idlehands released his picture depicting what values are where, I thought I'd explain how things work a bit better.
First thing, I've had some people tell me that their saves weren't being modded properly.
This seems to be an issue with Horizon. So I suggest using Modio.
Pre-modding Steps:
Get Modio or Horizon (Modio suggested)
Get Idlehands88's Picture (link below)
Get Fairchild's Decompression Toolkit (link below)
Create folder in "C:\" named "Saves"
Put dd.exe into "C:\Saves"
Modding Steps:
1. Put save on thumbdrive.
2. Put thumbdrive into computer.
3. Extract DunDefSave into C:\Saves using Modio/Horizon
4. Open C:\Saves\DunDefSave with Modio/Horizon
5. Click "File Contents"
6. Right-click DunDefHeroes.dun
7. "Extract File" to C:\Saves
8. Open command prompt window (Windows Key+R then type "cmd" into Run window)
9. Enter "cd C:\Saves" (Now you will be in the C:\Saves folder)
10. To decompress: dd.exe -d DunDefHeroes.dun save.decompressed
11. HEX edit your file. I suggest using Idlehands' tutorial or mine.
12. To compress: dd.exe -c save.decompressed DunDefHeroes.dun
13. Open DunDefSave in Modio/Horizon
14. Click "File Contents"
15. Right-click DunDefHeroes.dun
16. "Replace File" with C:\Saves\DunDefHeroes.dun
17. (Optional) Rehash and resign
HINT: While in cmd, you can use TAB to finish file extensions more quickly. Ex. Typing "save" and hitting TAB will finish it with "save.decompressed"
Links
Idlehands88's Picture
Fairchild's Decompression Toolkit
My Hex Tutorial
Re: [TUTORIAL]Getting Started Dungeon Defenders Modding
you are god my friend thank you for the most simple tut
Re: [TUTORIAL]Getting Started Dungeon Defenders Modding
I would suggest horizon not modio so then you may have less people asking why there save has corrupted not saying it will happen but it is a bigger chance that it will happen with modio plus horizon is a lot easier to follow -my opinion but others may agree with me
Re: [TUTORIAL]Getting Started Dungeon Defenders Modding
it was not working for me on horizon but when i use modio it work fine for me idk y but godslam seen it for him self to
edit:in 12. To compress: dd.exe -d save.decompressed DunDefHeroes.dun the =d is -c godslam
Re: [TUTORIAL]Getting Started Dungeon Defenders Modding
After Editing the hero stats on a weapon to fe "127" i attempted to compress the file when doing so the coprocessor/decompress says a few things then the last line is fixing check-sum then it stops. When i Hex the newly added DufDefHeroes.Dun file its 16,384 KB of ........................................ I attempt to re decompress that and the decompressed file is 0 KB its empty.
Code/Commands Used.
1. c:\test\dd.exe -d c:\test\DunDefHeroes.Dun c:\test\save.decompressed
2. Edited in hex Edit
3. c:\test\dd.exe -c c:\test\save.decompressed c:\test\DunDefHeroes.Dun
Thanks in Advance!
Wally
Re: [TUTORIAL]Getting Started Dungeon Defenders Modding
Quote:
Originally Posted by
nightxshadow7
it was not working for me on horizon but when i use modio it work fine for me idk y but godslam seen it for him self to
edit:in 12. To compress: dd.exe -d save.decompressed DunDefHeroes.dun the =d is -c godslam
Thanks, Night. I was sleepy when I posted it.
Quote:
Originally Posted by
solder05
After Editing the hero stats on a weapon to fe "127" i attempted to compress the file when doing so the coprocessor/decompress says a few things then the last line is fixing check-sum then it stops. When i Hex the newly added DufDefHeroes.Dun file its 16,384 KB of ........................................ I attempt to re decompress that and the decompressed file is 0 KB its empty.
Code/Commands Used.
1. c:\test\dd.exe -d c:\test\DunDefHeroes.Dun c:\test\save.decompressed
2. Edited in hex Edit
3. c:\test\dd.exe -c c:\test\save.decompressed c:\test\DunDefHeroes.Dun
Thanks in Advance!
Wally
By "hero stats" do you mean just the four for health, attack, speed and casting rate?
When decompressing it will say "All done!" on the last line.
When compressing it will say "-Fixing checksum." on the last line.
Also, when you decompress, you then use the file that you decompress "DunDefHeroes.dun" into (save.decompressed in my tutorial) for HEX editing.
Then compress "save.decompressed" back into "DunDefHeroes.dun" and put it back into "DunDefSave".
The increased size was an issue people were having with Horizon and that's why I suggest using Modio.
Re: [TUTORIAL]Getting Started Dungeon Defenders Modding
I got it working thanks! If anyone has questions i can help with anything!
Re: [TUTORIAL]Getting Started Dungeon Defenders Modding
i can't seem to edit the hero values what am i doing wrong?