View Full Version : Dungeon Defenders Compression Toolkit
Tinkerbell
05-29-2012, 02:28 AM
Hi Fairchild. I think that Trendy updated something because dd.exe no longer works for my May 26 & 28 save games but I can decompress May 23 and prior with no problems. Is your compression toolkit still working for you? I noticed that everyone uses your compression toolkit in their modding tuts. Thanks for your work on it. I had a blast while it still worked for me (the last 67 days).
Skullkeeper
05-29-2012, 10:54 AM
Hi Fairchild. I think that Trendy updated something because dd.exe no longer works for my May 26 & 28 save games but I can decompress May 23 and prior with no problems. Is your compression toolkit still working for you? I noticed that everyone uses your compression toolkit in their modding tuts. Thanks for your work on it. I had a blast while it still worked for me (the last 67 days).
Just loaded my game up(haven't played in a while) and did a mission then saved. Then used Fairchild's program and it worked fine for me. Must be something on your end.
XboxRainbowMods
06-03-2012, 09:56 AM
That was a quick assumption Skullkeeper, were you running the most recent title update?
Tinkerbell I have same situation, more or less, here it is:
I can confirm that the decompression tool frooze on me (FOR THE FIRST TIME EVER) today when redoing a game save from scratch (more or less). Been making a save to release to the public again that'll be better then the last with cool stuff but I needed to do some changes via playing the game, after extracting the save after a couple days of work and running dd.exe from command line and GUI (not that it would make a difference but decided to test to be thorough) it froze when trying to decompress my game save. Now the save is not normal as it's a full tavern (60 items, the current max) and a full item box (255 items, the current max) and full characters (6. the current max). This is the first time I needed to decompress a save that's been altered by the new title update. Now Fairchild's decompression tool still works with all my older game saves without an issue, and I moved the new game save and dd.exe into drive root to see if that would help, no go. When looking at hex of a new title update game save (compressed) compared to a pre-title update(same exact save, simply loaded into game with new title update then exit).. they are definitely different!
Example:
Pre - update:
0000001C00005F500003D7DF9E2A83C1000200000000461600 03D7DF00001C3400020000000029E20001D7DF0A3820100000 00002332503400005F00767776EDDFD6B5B656ABEAB6A9D65D 6DDF7FD46CFFB6C9B6FA76CDDE90ACCE92F5DA9DDB76DB6D7B C2ADD6D65ABF3FA84804813F50148B844808E5B32011044A00 22C68A5240562CC628240314599816
and after update:
0000001C00005F500003D7DF9E2A83C1000200000000461800 03D7DF00001C3600020000000029E20001D7DF0A3820100000 00002332503400005F00767776EDDFD6B5B656ABEAB6ABD65D 6DD7769AFDDF96D9F6DF2ED95B92B569125EDB73BB6EBB6DCF B8B5DA5AEBD7075589E0F007CA27911009617C1624A2400940 8458110AC88A4518C564C0228BD382
I think the developers pulled either a Gears of War on us and/or they changed the crc/compression method.
Any thoughts? Idle what you think?
(btw I have all 3 DLCs but that should make a difference in the save being re-rendered as it is, I believe this only has to do with the title update)
chadmiller
06-03-2012, 11:26 AM
The file dd.exe is corrupt every time i download it any suggestions please
Skullkeeper
06-03-2012, 07:52 PM
That was a quick assumption Skullkeeper, were you running the most recent title update?
Yes I just went online again and finished a level and let is save. I went through the whole modding process manually and with Cybersam's editor. No problems here. I understand you and others are having a problem. I was just letting it be known that I have the title updates and DLC as well and I am not having any problems.
XboxRainbowMods
06-04-2012, 11:17 AM
That's just the thing.. you're using Eternia crystal to mod... I do things that, from what I heard, that editor does not... but does it uncompress a file and save it locally? If so I may just use it to decompress/recompress.
I still mod this game the old fashion way:
http://i.imgur.com/2xNK3l.png
Skullkeeper
06-04-2012, 04:03 PM
In my previous post I stated that I modded it both ways with the editor and manually and had no problems. I actually prefer to manually mod it because as you stated some things can be done that the editor is not capable of. Post your save and let me see if I have any problems with it if you don't mind. Just curious.
XboxRainbowMods
06-04-2012, 08:18 PM
You'll have the same error as me, I tried eternia crystal to see if it would open the save and it uses dd.exe as well so of course no go on that..
.. well here's a bunch of snippets on what's going on:
Eternia Crystal:
78787877
debug info for eternia:
System.Exception was unhandled
Message=Invalid Package
Source=ISOLib
StackTrace:
at ISOLib.CONPackage.Initialize.Initiate(String filePath, Boolean isBigEndian, FileMode fileMode, FileAccess fileAccess, FileShare fileShare)
at ISOLib.CONPackage.Initialize..ctor(String filePath)
at EterniaCrystal.ReadFile.openFile(MainWindow main)
at EterniaCrystal.MainWindow.MainForm_OpenFile(Object sender, RoutedEventArgs e)
at EterniaCrystal.Controls.Main_Menu.OpenButton_Click (Object sender, RoutedEventArgs e)
at System.Windows.RoutedEventHandlerInfo.InvokeHandle r(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Objec t source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(Dependency Object sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArg s e)
at System.Windows.Controls.Primitives.ButtonBase.OnCl ick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMo useLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk( Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEv entHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Deleg ate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandle r(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Objec t source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(Dependency Object sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEv entHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Deleg ate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandle r(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Objec t source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(Dependency Object sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedE ventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArg s args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingAr ea()
at System.Windows.Input.InputManager.ProcessInput(Inp utEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput (InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.Repo rtInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.Filt erMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessa ge(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation( Object o)
at System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCat chWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.InvokeImpl(Dis patcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl( DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(Disp atcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at EterniaCrystal.App.Main()
InnerException:
Decompressor GUI version:
78807879
DD.exe version 0.3.0b:
78827881
As you may see in the above picture on the right I am running in administrator mode..
The save loads on any xbox (I own 3) and looks like this, it's a new template:
7883788478857886
The only thing left I can think of the might work but probably not is to delete the title update and try to play the save offline so it compresses it in the old method that dd.exe supports...
Edit:
Verified: removing title update does not work as new game saves will show up as corrupt.
Playing offline in trial mode does not revert back to original compression either.
Looking online for a tool that checks for compression method. Fingers crossed.
fairchild
06-06-2012, 02:20 PM
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.
Windows version of the game is not supported, proably uses a different compression method than the xbox 360 version.
If the Toolkit needs to be updated due to some Title Update i need new savegames to look at to be able to update the toolkit.
XboxRainbowMods
06-07-2012, 08:06 PM
If the Toolkit needs to be updated due to some Title Update i need new savegames to look at to be able to update the toolkit.
How many do you need.. or rather what different data do you want? actually.. here you go...
EDIT... these uncompressed fine... so it's a problem unique with my max items save.
Zero items in inventory, 4 characters (each class), naked characters minus their weapons, each character has a different class weapon,
about 21 items or so thrown back into the tavern walls out of reach, map play set on Aquanos easy, last 3 characters experience handicap glitched,
1st character (squire) with kill gun (kill ur friends in tavern by leaving before plasma ball hits), 1st character (squire) active on load, 800,000 Mana in bank(I can't get it to stay at 0 in game w/ out modding, lol):
this decompresses fine (none of the new maps are played on this one)
http://www27.zippyshare.com/v/76148581/file.html
Here's another.. but it uncompresses too (not max items)..
http://www63.zippyshare.com/v/55770854/file.html
EDIT: Conclusion, you don't need to update... it's an issue unique to one of my saves
... ... But my game save with 355 items and all new DLC's beat won't uncompress...
Other than me being absolutely no help here and it looks like I was VERY WRONG in that your compression tool is absolutely fine do you think my situation may be something to do with the amount of items I have in it? It still plays.. just the dun won't uncompress.
I don't want to post it (the one I'm having a problem with) publicly though because people in general have abuse the crap out of the one with 255 items before by selling tons of duplicates for cash, really f'd up because the buyers end up loosing all their items. And 255 items, with people selling like 8 items for 1600 Microsoft points... that's getting too greedy and carried away... I don't want to be the one who contributed/gave opportunity to that kind of behavior.
So... again.. I was wrong.. it's an issue unique to my save.
also, you were right Skullkeeper, it works fine with the title update, my problem is one of those fluke type things.. not many people max everything out to the limit.
Tinkerbell
06-13-2012, 11:32 PM
This is all a little too technical for me but I think I've narrowed it down to something specific to my profile. For some reason I can still mod my bf's gamesaves from the same xbox and using the same computer/programs/decompression toolkit. It is very weird. Both of our accounts have a completely full item box so I don't think that's what it is. Unfortunately I don't know how to check if he has a different hex with the new title update. Thank you for the decompression toolkit. I just have to mod on my bf's game save from now on.
StretchNutS
07-14-2012, 02:55 PM
not sure if this is now a dead thread or not but ive tried to mod on my own for the past 3 days.. on all 3 computers i have access to when i try to do anything in the cmd window it tells me that the file im trying to get into isnt recognized as an internal or external command.. i realized i really dont know what im doing and if anyone on here would be awesome and help me out i would really appreciate it.. gamertag is StretchNutS87
Serious_M
08-09-2012, 08:30 AM
nice job on this toolkit fairchild
CloudStrife7x
08-09-2012, 04:31 PM
very awesome toolkit fairchild :)
MysticModZ
12-02-2012, 09:56 AM
XD i always delete by axsident good thing this forum still here Keep up the good work
Freshmeat
02-19-2013, 12:21 PM
Is it possible to make it work with the latest version of DunDef?
It's not working for me.
GlazierHot
03-13-2013, 03:47 AM
▄
▄ ▄▄▄▄▄▄▄ ▄ █▀▀▀▀ ▀▀ ▀ ▄▄▄▄▄▄▄▄ ▀▄▄▄▄ ▄
▄▄▄▄▄▄ ▀ ▄▄▄▄▄▄█▀▀▀▀▀█ ▄▄▄▄▄▄ ▀ █▀▀▀▀▀▀█ █▀▀▀▀▀▀ ▄▄▄▄ █▄▄▄▄▄▄▄▄
▄▄█▀▀ ▄▄ ▀█▀▀▀ ▄▄ ▀▀ ▀▀▀ █▀▀ ▄▄ ▀▀█▄ ▀ █▀ ███▀̦ █ ▀▀▀▀ ████ ▄██ ▄▄▄▄ ▀█
▀ ▀▀ ▄▄██▀█▓▄ ▄▄██▀█▓▓▄ ███ ▄▄██▀██▓▄ █▀▀▀▀█ ███¦ █▄▄¦Ì███¦Ì███¦Ì███▄Ì███¦ ▄
▄▓▓██▀ ▀▀▄██▀ Ì██▓¦Ì██¦▄██▀ Ì██▓¦ ▄▄█▓▄ Ì████▄▄▄ ▓███ ████ █ ▄▄▄▄███▓
Ì▓██¦ ░ Ì▓██¦ ▀▀████ ███ ▓█¦ ▄███▀▄███▀ ▓███ ▀██▓▓ ██¦Ì███¦ ▄███▀ Ì██▓¦
▓███▀ █ ▓███ ░Ì███¦Ì██▓ ███ ░▀▀ Ì▓██¦ ▄¦Ì▓██¦Ì¦Ì██▓¦Ì█ ████ Ì▓██¦ ▄██▓▓▀
▀ Ì███¦Ì█¦Ì███¦ ▀▀▀▀ ▀▀ Ì███¦ ▀ ▀▓██▄██ ▀▀▀▀ ██ ███▓ Ì▓██¦ ▀▓██▄██▀▀ ▄▄ ▄
█ ▀▀▀▀ ██ ▀▀▀▀ █▀▀▀▀▀▀█▄ ▀▀▀▀ █▀█▄▄ ▀▀ ▄▄█▀▀▀▀█¦Ì███¦Ì ▀▓▓██▄░ ▀▀ ▄▄█▀▀
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▄ ▀ ▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀ !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...
thanx my decpmpression unit can't handle larger files
The decompress and compress function might need some tweaking, but should work. Please test and let me know if something still not working.
Thanx...been looking for a new fairchild...mine ca't handle larger files
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
thanks my fairchild can't handle theses larger files that we are making......
GlazierHot
03-13-2013, 04:03 AM
this new one can't handle the larger saves either...:021:
datkido
06-04-2013, 10:57 AM
good work here, thanks
ollsie
06-14-2013, 10:46 PM
thank you, good stuff
PGCAClaptrap
06-17-2013, 12:09 AM
uhh... can anyone help me? whenever i try and decompress the save file, it keeps saying dd.exe has stopped working, i've tried redownnloading it, running as admin, and nothing seems to work, was wondering if any of you guys could help me out? Can't seem to figure it out, I can mod most things with just straight cheat engine, but i can't mod colors :(
Rummikubs
06-17-2013, 07:38 AM
thank you! :)
simplyamazin
11-27-2013, 07:00 PM
Thank you, worked for me.
Tinkerbell
05-10-2014, 07:21 PM
Hi, I'm getting the same error mentioned earlier. When dd.exe is trying to decompress it states !xbox 360 container detected. I've tried searching for a solution. I used to be able to mod but now I get this error. I tried reconfiguring my usb as another posted mentioned it solved the problem for them, but it didn't work for me. Does anyone have any advice?
Tinkerbell
05-14-2014, 04:48 AM
Nevermind, I solved the problem by downloading the latest version of horizon. The problem was the .con file wasn't extracting so dd.exe could decompress it. The decompression toolkit works fine. Thank you so much for the toolkit! I am able to mod again =)
xcoremajin
07-07-2014, 05:32 AM
i can't compress my save it keep saying "dd.exe has stopped working" and i tried running the gui and cmd both won't work even as an admin
vBulletin Solutions, Inc. All rights reserved.