360haven works best with JavaScript enabled
Dungeon Defenders Compression Toolkit - Page 2
Loading
Register
Page 2 of 35 FirstFirst 12345671227 ... LastLast
Results 9 to 16 of 276
  1. #9
    Reverse Engineer


    fairchild is offline
    Join Date : Jan 2011
    Location : Spain / Sweden
    Posts : 211
    Array

    Re: Dungeon Defenders Compression Toolkit

    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:

    Code:
    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!
    Code:
    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.
    Downloads : 47 || Uploads : 4 || Rep Power : 5323 || Posts : 211 || Thanks : 71 || Thanked 737 Times in 108 Posts


    If you feel like donating some bit coins, please do so to address "1DNcjKhrVTGnKTyQYbjx8yTRoenTSySeoP", if you are interested in other projects visit www.chipit.se or www.baeckstrom.com, thanks!

  2. #10
    Developer
    Buddah is offline
    Join Date : Dec 2010
    Posts : 253
    Array

    Re: Dungeon Defenders Compression Toolkit

    mine hangs here....

    Click image for larger version. 

Name:	52ce182b22dead63e3f333ff1dc33ec0.jpg 
Views:	4089 
Size:	40.9 KB 
ID:	3765

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

  3. #11
    ★ The Exiled One ★
    Exiledone

    Idlehands88 is offline
    Join Date : Dec 2010
    Location : Whitby, Ontario
    Age : 34
    Posts : 4,709
    Array
    Twitter: @

    Re: Dungeon Defenders Compression Toolkit

    Quote Originally Posted by fairchild View Post
    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:

    Code:
    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!
    Code:
    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???
    Downloads : 71 || Uploads : 4 || Rep Power : 14301 || Posts : 4,709 || Thanks : 1,168 || Thanked 16,733 Times in 1,843 Posts



  4. #12
    Reverse Engineer


    fairchild is offline
    Join Date : Jan 2011
    Location : Spain / Sweden
    Posts : 211
    Array

    Re: Dungeon Defenders Compression Toolkit

    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
    dd_debug.rar
    Downloads : 47 || Uploads : 4 || Rep Power : 5323 || Posts : 211 || Thanks : 71 || Thanked 737 Times in 108 Posts


    If you feel like donating some bit coins, please do so to address "1DNcjKhrVTGnKTyQYbjx8yTRoenTSySeoP", if you are interested in other projects visit www.chipit.se or www.baeckstrom.com, thanks!

  5. #13
    ★ The Exiled One ★
    Exiledone

    Idlehands88 is offline
    Join Date : Dec 2010
    Location : Whitby, Ontario
    Age : 34
    Posts : 4,709
    Array
    Twitter: @

    Re: Dungeon Defenders Compression Toolkit

    Quote Originally Posted by fairchild View Post
    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
    dd_debug.rar
    Decompression:


    Compression:
    Downloads : 71 || Uploads : 4 || Rep Power : 14301 || Posts : 4,709 || Thanks : 1,168 || Thanked 16,733 Times in 1,843 Posts



  6. #14
    Developer
    Buddah is offline
    Join Date : Dec 2010
    Posts : 253
    Array

    Re: Dungeon Defenders Compression Toolkit

    Click image for larger version. 

Name:	85b40cfbe6f4780af2975b44830d4f65.jpg 
Views:	474 
Size:	28.8 KB 
ID:	3767

    lots of padding

  7. #15
    Reverse Engineer


    fairchild is offline
    Join Date : Jan 2011
    Location : Spain / Sweden
    Posts : 211
    Array

    Re: Dungeon Defenders Compression Toolkit

    Quote Originally Posted by Buddah View Post
    Click image for larger version. 

Name:	85b40cfbe6f4780af2975b44830d4f65.jpg 
Views:	474 
Size:	28.8 KB 
ID:	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.
    Downloads : 47 || Uploads : 4 || Rep Power : 5323 || Posts : 211 || Thanks : 71 || Thanked 737 Times in 108 Posts


    If you feel like donating some bit coins, please do so to address "1DNcjKhrVTGnKTyQYbjx8yTRoenTSySeoP", if you are interested in other projects visit www.chipit.se or www.baeckstrom.com, thanks!

  8. #16
    Developer
    Buddah is offline
    Join Date : Dec 2010
    Posts : 253
    Array

    Re: Dungeon Defenders Compression Toolkit

    Code:
    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)

 

 
Page 2 of 35 FirstFirst 12345671227 ... LastLast

Similar Threads

  1. [Release] XCOM Enemy Unknown Compression Toolkit
    By fairchild in forum Xbox 360 Modding Programs
    Replies: 109
    Last Post: 01-18-2017, 06:02 PM
  2. Batman Arkham City Compression Toolkit
    By fairchild in forum Xbox 360 Modding Programs
    Replies: 112
    Last Post: 11-11-2015, 01:17 AM
  3. Dungeon Defenders Compression/Decompression Interface *Fixed*
    By SSSTONERRR in forum Xbox 360 Modding Programs
    Replies: 4
    Last Post: 10-14-2013, 04:09 PM
  4. [WIP] Borderlands 2 Compression Toolkit
    By fairchild in forum Xbox 360 Modding Programs
    Replies: 62
    Last Post: 10-26-2012, 08:13 AM

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

About 360haven

    360haven is an Forum Devoted To Game modding Fans from all over the world.

    An Awesome Community of Xbox 360 Gamers, Modders and Developers who Create & Share Tutorials, Applications, Gfx, Trainers and Gamesaves.

    A haven for the l33t.
    A scarce paradise for modders.

★★★★★¯\_(ツ)_/¯