Raklik
01-20-2012, 11:05 PM
This is in no way my original work what so ever. Original props should go out to Ssstonerrr, godslam, Fairchild, and Idlehands88 for their work they did and their original tutorials they wrote. I've had a couple people ask me to teach them due to how cluttered all the tutorials are, so I'm taking all their work and putting it into one easier to handle tutorial. I'm being the good little monkey i am and doing all their dirty work for them, maybe master will be nice and even give me a cookie after my work is done........maybe.......can dream big right? At least i can help you make big weapons and beastly characters though. So lets get to business then.
First things we need are:
1) 1gb usb flash drive for transporting saves, need to configure it to xbox which is explained later
2) modio or horizon for reading save files, horizon is http://www.xboxmb.com/horizon/ and modio is http://www.game-tuts.com/community/modio.php
3)after you need a hex editor, i use hex workshop which is located http://www.hexworkshop.com/
4)Then you need to create a save folder under your c:\ drive so it looks like c:\Saves
5) Fairchilds tool decompression kit main pagehttp://www.360haven.com/forums/showthread.php?7460-Dungeon-Defenders-Compression-Toolkit&highlight=fairchilds+decompression+tool+kit
5a)Fairchilds tool decompression kit download http://www.360haven.com/forums/attachment.php?attachmentid=4176&d=1322065236
5b) Ssstonerrr also created a gui based platform for the decompression toolkit. Main download is here for gui based program http://www.mediafire.com/?bwmhv772h5yij7a Main thread for the GUI program is here http://www.360haven.com/forums/showt...sion-Interface
6)Picture to Idlehand88s pic help assist with item modding for hex placements http://www.mediafire.com/?9je2nqf0bnper3i
7)Picture to Ssstonerrr pic to assist with character modding for hex placements http://www.mediafire.com/?xj1aic5ksvyk1zc
here is godslam's initial tutorial
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
18*(my addition). make sure to re-save to device after all is said and done
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"
Now this will take you through all the parts of being able to open save, edit the save, and reload the save.
Now lets start talking about big part number 11, the actual editing of the stuff. I'll start off with items/ armor first
When item modding, make sure to reference back to Idlehand88's picture so you know how many spaces you need to skip / so on for what you are looking to do with each item.
now here is godlams guide on hex editing
http://www.360haven.com/forums/showt...geon+defenders
Key:
7F = 127
FE = 254
FF = 255
(At "7F" stats are disabled and below they are negative. Stats can be set to any number from 1-128. Take your number add it to 127 and then convert it from a dec to hex. Example: I want 47 hero health. 47 + 127 = 174 = AE)
Steps:
1. Open "save.decompressed" in Hex Workshop.
2. Find your weapon. (The easiest way to do this is to level it up fully and rename it, then look for the name)
3. Find the beginning of the stats. (The stats for each weapon are before the name. Look for the end of the previous weapon and follow the end look for "01 02 03". This is where the stats begin)
4. The first four bytes (two numbers/letters together) following "01 02 03" are Resistances. These should only be changed for pieces of armor.
Changing these to "FF" or "FE" will suffice.
5. The fifth byte does nothing (that I know of) and should be left alone.
6. The next four bytes control hero stats. These can also be set to "FF" or "FE" to max them out.
7. The next two are hero abilities. Thse can also be set to "FE" or "FF" to max them out.
8. The next four are tower stats and can also be maxed out.
9. Next is physical damage. I change mine to "00 FF FD FE". This is more than enough attack.
10. Additional projectiles is next. This should not be set high because it will make your game lag. Setting it to "93" may even be a bit high.
11. Projectile speed can be a bit crazy and I use "00 00 FF FF".
12. Elemental damage type follows and has a few settings.
01 = Poison
02 = Fire
03 = Electric
13. With elemental damage you should follow the same rules as physical damage. "00 FF FD FE"
14. The next four are item size and should just be left alone unless you have a good understanding of hex.
15. Skip four bytes and then you are at current upgrades. This can be changed to "01" to reset the upgrades you have used.
16. Skip four more and then you are at weapon ranged. This can be set to "FE" for Huntress and Apprentice weapos. Even Monk weapons should work.
17. Skip four and you're at clip size. This can be set t "00 FF FD FE" for a large clip on a gun/bow.
18. Reload speed should only be changed for a bow/gun. Set it to "FE" for maximum.
19. Knockback bonus can be set to "FE" for maximum knockback.
20. Charge speed can also be set to "FE" for Apprentice weapons.
21. Shots per second is for Huntresses and pets. Set this to "FE" for max.
22. Primary, secondary, quality and item color can all be left alone.
23. Max upgrade level is how many times you can level it up. I suggest "64" which is 100.
There are a couple things in here i will change later, i'm just running on my way out the door to a concert right now.
Now character modding is SLIGHTLY, okay maybe a hell of a lot different. When you are character modding make sure that you refer back and forth to the character modding picture. I myself created a little guide i use for when i mod characters. When you mod anything over a certain point, it takes longer to load your characters when you start up. Right now i have 4 characters level 2 million each and it takes me 2 minutes to load roughly, so just be forewarned.
Here is Ssstonerrr's guide to character modding though
http://www.360haven.com/forums/showt...geon+defenders
Hero Information
The maximum positive Hex value is 7F FF FF FF is equivalent to 2,147,483,647
Here's a little help getting started with your Level/Skill Point modding.
{ (Level) x 4 } + 19 = Total Skill Points
...for example...
(1,000,000 x 4) + 19 = 4,000,019
Make sure to keep your Player stats, Abilities, and Tower stats combined UNDER your unique Total Skill Points, or your Character(s) that are over it WILL be RESET to level 0, and the amount of experience will decide what amount of Skill Points, maxing out at level 70 (299 Skill Points)
Keep your Tower Attack Speed low enough to keep your characters towers so they do not shot faster than .02 shots per second, it will nullify the Tower and make it as useful as a 'Magical Barricade'
~~~~Also take in to consideration, the HIGHER the level of your character and amount of skill points, the LONGER it will take your XBOX 360 to load your save (at 'Select Save Device')~~~~
Load time for ONE character under level 2,500,000 is about 5-15 seconds. (depending on your USB/HDD/MU)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Color Information
[For characters AND Weapon]
When I say "in game" I mean when you can select your colors for your characters appearance.
Brightest (Edited in game) Color Hex is 3F 80 00 00
Darkest (Edited in game) Color Hex is 3D CC CC CD
^This may not be exact depending on what color/location (Primary/Secondary/Tertiary) you are looking at, but will be close^
Brightest (Mod-able [Tried]) Color Hex is 48 A0 00 00
Darkest (Mod-able [Tried]) Color Hex is FF 80 00 00
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Bright Glow- 48 A0 00 00
Bright, little/no Glow- 40 A0 00 00
Black-3D 00 00 00 (or just put 00 00 00 00)
Pitch Black- FF 80 00 00
**Yes- if you haven't noticed the "Primary, Secondary, and Tertiary Glow" (float) Bytes actually do not affect the coloring/ intensity of the colors, they are simply a Place folder, or may as well be This is ALSO true in the case of weapons, the "Glow" effect is based off the intensity of the colors**
Knowing that the effective range of color is from 48 A0 00 00 to 3D 00 00 00 so if you want a different intensity to a color that is not listed you need to figure that out via "trial & error"
The colors you can make easily... (look at a color wheel)
Red- Red only
Green- Green only
Blue- Blue only
Yellow- Red + Green
Purple- Red + Blue
Cyan/Teal- Green + Blue
Other colors are a combination of the 3 main colors in the game, and can be created via "trial & error"
^Just go and make a NEW character and make the color you want, then copy the color hex values to your weapon/another character^
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Weapon information
If you are talking about the Default colors for a weapon (Example- a Pink "High Five" bought from the store) those colors are in the Primary and Secondary Colors (Int8) and range from 01 to 0A (as far as I know, it might be 0F)
And here is the chart i created for leveling hex codes to mod characters completely
This is just a good scale model to see the limitations of what / how many stat points you can place in each category as well as certain tower "breaking points"
---------------------- squ -------------------------- app ----------------------- monk --------------------------- hunt
ply hlth ------ 1.5mil== 00 16 e3 60 ------ 1.5mil== 00 16 e3 60 ----- 1.5mil== 00 16 e3 60 ----- 1.5mil== 00 16 e3 60
ply sped ----- 50k == 00 00 c3 50 -------- 50k == 00 00 c3 50 -------- 50k == 00 00 c3 50 ------ 50k == 00 00 c3 50
ply damg ---- 50k == 00 00 c3 50 -------- 50k == 00 00 c3 50 -------- 50k == 00 00 c3 50 ------- 50k == 00 00 c3 50
ply castspd -- 50k == 00 00 c3 50 ------- 50k == 00 00 c3 50 -------- 50k == 00 00 c3 50 ------- 50k == 00 00 c3 50
ability ------- 150k == 00 00 c3 50 ------ 50k == 00 00 c3 50 -------- 50k == 00 00 c3 50 ------- 50k == 00 00 c3 50
ability ------- 250k == 00 00 c3 50 ------ 50k == 00 00 c3 50 -------- 50k == 00 00 c3 50 ------- 50k == 00 00 c3 50
twr hlth ----- 2 mil == 00 1e 84 80 ------ 2 mil == 00 1e 84 80 ------- 2 mil == 00 1e 84 80 ------- 2 mil == 00 1e 84 80
twr atkspd -- 8000 == 00 00 1f 40 ------ 8000 == 00 00 1f 40 ------- 2 mil == 00 1e 84 80 ------ 2 mil == 00 1e 84 80
twr damg --- 2 mil == 00 1e 84 80 ------ 2 mil == 00 1e 84 80 -------- 2 mil == 00 1e 84 80 ------ 2 mil == 00 1e 84 80
twr rang ---- 2 mil == 00 1e 84 80 ------ 2 mil == 00 1e 84 80 -------- 750 == 00 00 02 ee ------ 1000 == 00 00 03 e8
char lvl ----- 2 mil == 00 1e 84 80 ------ 2 mil == 00 1e 84 80 -------- 2 mil == 00 1e 84 80 ------- 2 mil == 00 1e 84 80
So here you go everyone, i wrote this real quick in about 20 minutes so I'll be making changes here after I'm done tonight. But hope you enjoy this guys. It takes all the scattered information everywhere, and puts it about as EASY as i possibly can make it to help teach you guys how to do this. If you need any more help though do not be afraid to send me a message on here, or on xbox at Raklik (gamertag is same as account name here)
DEDICATIONS
Thanks and props goes out to all who deserve it for their original hard work in doing all this. As i said, I'm just the monkey who thought to finally put it together for all of them to make their lives all easier. Also you can direct questions my way as well for assistance instead of always bombarding them :). Thanks again guys for all your hard work and assistance with teaching me on how to do this, without which, i never would have been able to make this guide for the rest of the population. Enjoy everyone and happy modding
Ssstonerrr
Fairchild
godslam
Idlehands88
and most of all LanceyPantsy for the idea to create the complete tutorial
First things we need are:
1) 1gb usb flash drive for transporting saves, need to configure it to xbox which is explained later
2) modio or horizon for reading save files, horizon is http://www.xboxmb.com/horizon/ and modio is http://www.game-tuts.com/community/modio.php
3)after you need a hex editor, i use hex workshop which is located http://www.hexworkshop.com/
4)Then you need to create a save folder under your c:\ drive so it looks like c:\Saves
5) Fairchilds tool decompression kit main pagehttp://www.360haven.com/forums/showthread.php?7460-Dungeon-Defenders-Compression-Toolkit&highlight=fairchilds+decompression+tool+kit
5a)Fairchilds tool decompression kit download http://www.360haven.com/forums/attachment.php?attachmentid=4176&d=1322065236
5b) Ssstonerrr also created a gui based platform for the decompression toolkit. Main download is here for gui based program http://www.mediafire.com/?bwmhv772h5yij7a Main thread for the GUI program is here http://www.360haven.com/forums/showt...sion-Interface
6)Picture to Idlehand88s pic help assist with item modding for hex placements http://www.mediafire.com/?9je2nqf0bnper3i
7)Picture to Ssstonerrr pic to assist with character modding for hex placements http://www.mediafire.com/?xj1aic5ksvyk1zc
here is godslam's initial tutorial
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
18*(my addition). make sure to re-save to device after all is said and done
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"
Now this will take you through all the parts of being able to open save, edit the save, and reload the save.
Now lets start talking about big part number 11, the actual editing of the stuff. I'll start off with items/ armor first
When item modding, make sure to reference back to Idlehand88's picture so you know how many spaces you need to skip / so on for what you are looking to do with each item.
now here is godlams guide on hex editing
http://www.360haven.com/forums/showt...geon+defenders
Key:
7F = 127
FE = 254
FF = 255
(At "7F" stats are disabled and below they are negative. Stats can be set to any number from 1-128. Take your number add it to 127 and then convert it from a dec to hex. Example: I want 47 hero health. 47 + 127 = 174 = AE)
Steps:
1. Open "save.decompressed" in Hex Workshop.
2. Find your weapon. (The easiest way to do this is to level it up fully and rename it, then look for the name)
3. Find the beginning of the stats. (The stats for each weapon are before the name. Look for the end of the previous weapon and follow the end look for "01 02 03". This is where the stats begin)
4. The first four bytes (two numbers/letters together) following "01 02 03" are Resistances. These should only be changed for pieces of armor.
Changing these to "FF" or "FE" will suffice.
5. The fifth byte does nothing (that I know of) and should be left alone.
6. The next four bytes control hero stats. These can also be set to "FF" or "FE" to max them out.
7. The next two are hero abilities. Thse can also be set to "FE" or "FF" to max them out.
8. The next four are tower stats and can also be maxed out.
9. Next is physical damage. I change mine to "00 FF FD FE". This is more than enough attack.
10. Additional projectiles is next. This should not be set high because it will make your game lag. Setting it to "93" may even be a bit high.
11. Projectile speed can be a bit crazy and I use "00 00 FF FF".
12. Elemental damage type follows and has a few settings.
01 = Poison
02 = Fire
03 = Electric
13. With elemental damage you should follow the same rules as physical damage. "00 FF FD FE"
14. The next four are item size and should just be left alone unless you have a good understanding of hex.
15. Skip four bytes and then you are at current upgrades. This can be changed to "01" to reset the upgrades you have used.
16. Skip four more and then you are at weapon ranged. This can be set to "FE" for Huntress and Apprentice weapos. Even Monk weapons should work.
17. Skip four and you're at clip size. This can be set t "00 FF FD FE" for a large clip on a gun/bow.
18. Reload speed should only be changed for a bow/gun. Set it to "FE" for maximum.
19. Knockback bonus can be set to "FE" for maximum knockback.
20. Charge speed can also be set to "FE" for Apprentice weapons.
21. Shots per second is for Huntresses and pets. Set this to "FE" for max.
22. Primary, secondary, quality and item color can all be left alone.
23. Max upgrade level is how many times you can level it up. I suggest "64" which is 100.
There are a couple things in here i will change later, i'm just running on my way out the door to a concert right now.
Now character modding is SLIGHTLY, okay maybe a hell of a lot different. When you are character modding make sure that you refer back and forth to the character modding picture. I myself created a little guide i use for when i mod characters. When you mod anything over a certain point, it takes longer to load your characters when you start up. Right now i have 4 characters level 2 million each and it takes me 2 minutes to load roughly, so just be forewarned.
Here is Ssstonerrr's guide to character modding though
http://www.360haven.com/forums/showt...geon+defenders
Hero Information
The maximum positive Hex value is 7F FF FF FF is equivalent to 2,147,483,647
Here's a little help getting started with your Level/Skill Point modding.
{ (Level) x 4 } + 19 = Total Skill Points
...for example...
(1,000,000 x 4) + 19 = 4,000,019
Make sure to keep your Player stats, Abilities, and Tower stats combined UNDER your unique Total Skill Points, or your Character(s) that are over it WILL be RESET to level 0, and the amount of experience will decide what amount of Skill Points, maxing out at level 70 (299 Skill Points)
Keep your Tower Attack Speed low enough to keep your characters towers so they do not shot faster than .02 shots per second, it will nullify the Tower and make it as useful as a 'Magical Barricade'
~~~~Also take in to consideration, the HIGHER the level of your character and amount of skill points, the LONGER it will take your XBOX 360 to load your save (at 'Select Save Device')~~~~
Load time for ONE character under level 2,500,000 is about 5-15 seconds. (depending on your USB/HDD/MU)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Color Information
[For characters AND Weapon]
When I say "in game" I mean when you can select your colors for your characters appearance.
Brightest (Edited in game) Color Hex is 3F 80 00 00
Darkest (Edited in game) Color Hex is 3D CC CC CD
^This may not be exact depending on what color/location (Primary/Secondary/Tertiary) you are looking at, but will be close^
Brightest (Mod-able [Tried]) Color Hex is 48 A0 00 00
Darkest (Mod-able [Tried]) Color Hex is FF 80 00 00
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Bright Glow- 48 A0 00 00
Bright, little/no Glow- 40 A0 00 00
Black-3D 00 00 00 (or just put 00 00 00 00)
Pitch Black- FF 80 00 00
**Yes- if you haven't noticed the "Primary, Secondary, and Tertiary Glow" (float) Bytes actually do not affect the coloring/ intensity of the colors, they are simply a Place folder, or may as well be This is ALSO true in the case of weapons, the "Glow" effect is based off the intensity of the colors**
Knowing that the effective range of color is from 48 A0 00 00 to 3D 00 00 00 so if you want a different intensity to a color that is not listed you need to figure that out via "trial & error"
The colors you can make easily... (look at a color wheel)
Red- Red only
Green- Green only
Blue- Blue only
Yellow- Red + Green
Purple- Red + Blue
Cyan/Teal- Green + Blue
Other colors are a combination of the 3 main colors in the game, and can be created via "trial & error"
^Just go and make a NEW character and make the color you want, then copy the color hex values to your weapon/another character^
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Weapon information
If you are talking about the Default colors for a weapon (Example- a Pink "High Five" bought from the store) those colors are in the Primary and Secondary Colors (Int8) and range from 01 to 0A (as far as I know, it might be 0F)
And here is the chart i created for leveling hex codes to mod characters completely
This is just a good scale model to see the limitations of what / how many stat points you can place in each category as well as certain tower "breaking points"
---------------------- squ -------------------------- app ----------------------- monk --------------------------- hunt
ply hlth ------ 1.5mil== 00 16 e3 60 ------ 1.5mil== 00 16 e3 60 ----- 1.5mil== 00 16 e3 60 ----- 1.5mil== 00 16 e3 60
ply sped ----- 50k == 00 00 c3 50 -------- 50k == 00 00 c3 50 -------- 50k == 00 00 c3 50 ------ 50k == 00 00 c3 50
ply damg ---- 50k == 00 00 c3 50 -------- 50k == 00 00 c3 50 -------- 50k == 00 00 c3 50 ------- 50k == 00 00 c3 50
ply castspd -- 50k == 00 00 c3 50 ------- 50k == 00 00 c3 50 -------- 50k == 00 00 c3 50 ------- 50k == 00 00 c3 50
ability ------- 150k == 00 00 c3 50 ------ 50k == 00 00 c3 50 -------- 50k == 00 00 c3 50 ------- 50k == 00 00 c3 50
ability ------- 250k == 00 00 c3 50 ------ 50k == 00 00 c3 50 -------- 50k == 00 00 c3 50 ------- 50k == 00 00 c3 50
twr hlth ----- 2 mil == 00 1e 84 80 ------ 2 mil == 00 1e 84 80 ------- 2 mil == 00 1e 84 80 ------- 2 mil == 00 1e 84 80
twr atkspd -- 8000 == 00 00 1f 40 ------ 8000 == 00 00 1f 40 ------- 2 mil == 00 1e 84 80 ------ 2 mil == 00 1e 84 80
twr damg --- 2 mil == 00 1e 84 80 ------ 2 mil == 00 1e 84 80 -------- 2 mil == 00 1e 84 80 ------ 2 mil == 00 1e 84 80
twr rang ---- 2 mil == 00 1e 84 80 ------ 2 mil == 00 1e 84 80 -------- 750 == 00 00 02 ee ------ 1000 == 00 00 03 e8
char lvl ----- 2 mil == 00 1e 84 80 ------ 2 mil == 00 1e 84 80 -------- 2 mil == 00 1e 84 80 ------- 2 mil == 00 1e 84 80
So here you go everyone, i wrote this real quick in about 20 minutes so I'll be making changes here after I'm done tonight. But hope you enjoy this guys. It takes all the scattered information everywhere, and puts it about as EASY as i possibly can make it to help teach you guys how to do this. If you need any more help though do not be afraid to send me a message on here, or on xbox at Raklik (gamertag is same as account name here)
DEDICATIONS
Thanks and props goes out to all who deserve it for their original hard work in doing all this. As i said, I'm just the monkey who thought to finally put it together for all of them to make their lives all easier. Also you can direct questions my way as well for assistance instead of always bombarding them :). Thanks again guys for all your hard work and assistance with teaching me on how to do this, without which, i never would have been able to make this guide for the rest of the population. Enjoy everyone and happy modding
Ssstonerrr
Fairchild
godslam
Idlehands88
and most of all LanceyPantsy for the idea to create the complete tutorial