How to mod - Darksiders (using offzip and packzip)

JizzaBeez Jan 6, 2010

  1. Ji

    JizzaBeez The One and Only
    0/47

    Joined:
    Nov 15, 2009
    Messages:
    384
    Likes Received:
    129
    Trophy Points:
    0
    Gender:
    Male
    Location:
    Cerebral Cortex.
    Console:
    Xbox
    DarkSiders' saves are compressed. So in order to edit them you need to extract and decompress the data from the save, and then compress and inject the data back in. That's where these two small command prompt apps come in...

    How to use offzip.exe and packzip.exe with DarkSiders saves.

    Legend:
    -RED = app name
    -BLUE = original save
    -PURPLE = extracted/unzipped file
    -GREEN = offset
    -ORANGE = option
    -YELLOW = output directory

    Note: your directories will be different than mine. In this example all the files I'm using are located on my Desktop. And if you're new to command prompt then you can drag 'n' drop the file or folder onto the window to write the text for you.

    1) open offzip.exe in command prompt (view image)

    P9F5mZ1rstzytvMy0mZh7Pw_SxQZcf2W.jpeg

    2) type (view image): offzip.exe -a dssave0.sav Desktop 0

    -it then decompresses and extracts .DAT files to the Desktop named by the offset in which they were extracted from...This is important to know because you'll need to inject the edited files back to the offset they were extracted from.

    P9F5mZ1rstzytvMy0mZh7Pw_SxQZcf2W.jpeg

    3) open the extracted file named 0000d035.dat in any hex editor.

    -That's where you begin to see all the values/strings and it's the closest to where the save data starts.

    4) edit the file and save. (see editing below)

    5) then run packzip.exe in command prompt (view image)

    P9F5mZ1rstzytvMy0mZh7Pw_SxQZcf2W.jpeg

    6) type : packzip.exe -o 0x0000d035 0000d035.dat dssave0.sav

    -it then zips and injects the specified data back in the specified file at the specified offset.

    P9F5mZ1rstzytvMy0mZh7Pw_SxQZcf2W.jpeg



    Editing Darksiders' Saves.

    Legend:
    -RED = type indicator
    -GREEN = value (depends on indicator- either stored as long or float, also stored as little-endian/intel byte order)
    -BLUE = end, always there.
    -PURPLE = extracted file

    You must use offzip.exe to get the data files from the original save to edit. The original save's data is zipped/compressed. offzip.exe extracts and decompresses it. Once that data is uncompressed and extracted then you are able to edit the data. After you have your extracted data files from the save....

    1) open the .dat file in a hex editor (The files will be named by the offset that they were extracted from). The main values will be in the file 0000d035.dat (if you extract like I said and get that file).

    2) now that the data is uncompressed you can read it... take a look at the text and see what you're looking for...

    Example: editing Souls...

    -search for the word "Souls" in text.

    -now position yourself right after the last "s" in the word...

    In hex, you'll see something like this (your value will be different):

    03 28 6B 6E 4E 01

    -If the first byte is a "03" means that the value is stored as a float(32) little-endian/intel byte-order.

    P9F5mZ1rstzytvMy0mZh7Pw_SxQZcf2W.jpeg

    -If the first byte is a "02" means that the value is stored as a long/int32 little-endian/intel byte-order.

    P9F5mZ1rstzytvMy0mZh7Pw_SxQZcf2W.jpeg

    -Then after that byte is your value, 4 bytes. (either stored as float or long, little-endian/intel byte-order).

    -There is always a "01" right after your value, so you know.

    You must edit the value accordingly or else it may not work. Also don't use values too high or else it may not work or either freeze the game.

    View of 0000d035.dat File:

    P9F5mZ1rstzytvMy0mZh7Pw_SxQZcf2W.jpeg

    (There is more to edit, this was all I took a screenshot of...)

    3) Edit how you like and save.

    4) Then refer to how to use packzip.exe and inject/compress the data back into the original save...

    5) Rehash your save AFTER using packzip.exe. DO NOT REHASH THE EXTRACTED DATA!!! (actually HBC won't even open the extracted files because they aren't CONs)

    Note: some of the things you can edit...

    "*" means it can be edited to gain an achievement. Just edit to one number less than what the achievement calls for, then get one more of that thing and the achievement pops!

    -kills*
    -kill types/riding*
    -souls
    -wrath
    -health
    -amount of armor pieces*
    -amount of chests opened*
    -weapon levels*
    -weapon XP
    -item amounts
    -deaths
    -damage received
    -damage dealt/blood spilled*
    -damage dealt by weapons
    -distance traveled
    -distance riding*
    -and probably more, can't remember right now...

    Video:


    Tutorial and research by JizzaBeez

    I have attached offzip.exe, packzip.exe, base converter, a tutorial and a modded save at start of game.
     

    Attached Files:

    Last edited by a moderator: Jun 24, 2016
    • Like Like x 3
  2. villan4eva

    villan4eva Ultimate Ninja!
    0/47

    Joined:
    Aug 16, 2009
    Messages:
    1,987
    Likes Received:
    169
    Trophy Points:
    0
    Gender:
    Male
    Location:
    On A Long Road To Ninja-ness!!
    Console:
    Xbox
    This will helps loads

    Kudos to you :D
     
  3. Ji

    JizzaBeez The One and Only
    0/47

    Joined:
    Nov 15, 2009
    Messages:
    384
    Likes Received:
    129
    Trophy Points:
    0
    Gender:
    Male
    Location:
    Cerebral Cortex.
    Console:
    Xbox
    Editing Darksiders (the easier way)

    Feudalnate has made an app that will do all of the extracting/injecting/resigning/rehashing automatically. (As described in my main tutorial using offzip and packzip)

    QGOJL2AGxWd-OWmqHJYOC16KWh_VzJzt.jpeg

    Instructions for use:

    1) open the app "Darksiders Compression Tool"

    2) click "Open" and browse for and open your save.

    3) then click "Operations" then "Extract" to decompress and extract the data.
    -it will output 2 files, data0 and data1, you need to edit data0.

    4) edit the file data0 in your hex editor and then save.

    5) back in the app "Darksiders Compression Tool" (with the save still open) click "Operations" then "Inject" and browse for the data0 file.
    -next the app injects/compresses the file data0 back into the save and resigns and rehashes the save (and optionally data1, but it's only need to if you edit it).

    6) now all you have to do is transfer back to 360 and load the save.

    I attached "Darksiders Compression Tool".

    The credits for the app can be viewed by clicking "About".
     

    Attached Files:

    Last edited by a moderator: Jun 24, 2016
    • Like Like x 2
  4. Co

    ColeTekBiz Newbie
    0/47

    Joined:
    Oct 22, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    i put the offzip program in my win32bit dirotry then i put the save file on to c:\ that way be easier. then i bring up command prompt i type in offzip.exe -a dssave1.sav Desktop 0 but i get this

    -open input file: dssave1.sav
    Error: No such file or diectory

    do you got to put offzip.exe -a c:\dssave1.sav c:\user\user\desktop 0 ? i try that still gives me same thing though
    must be missing a step?
     
  5. Nkosi

    Nkosi Newbie
    0/47

    Joined:
    Oct 8, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Gender:
    Male
    Location:
    Johannesburg
    Console:
    Other
    I'm new to this and i followed this process to the end, but i'm stuck, I don't know how to find My PC's "profile ID" and "Device ID". I'm using CONcept 0.3 for rehashing & resigning. Please Help!
     
  6. se

    serginhortv Newbie
    0/47

    Joined:
    Oct 28, 2015
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    0
    bom trabalho
     
  7. se

    serginhortv Newbie
    0/47

    Joined:
    Oct 28, 2015
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    0
    bom trabalho
     

Share This Page

Close