ROM Hack WIP Diablo III Save Editor

Visual Studio

Developer
OP
Developer
Joined
Aug 25, 2016
Messages
123
Trophies
0
Age
30
XP
1,707
Country
United States
I wrote a python script for editing Diablo III saves and I put it here on github.

I know this thread is super small for a save editor but what else am I supposed to put?

Here's a mini-tut for anyone wanting to use it thanks to @muskieratboi :
Instructions for the Technologically impaired:

  1. Download Python 3.x (at current writing this is 3.71) - https://www.python.org/ftp/python/3.7.1/python-3.7.1.exe
  2. Install Python. make sure you check the "set PATH" checkbox when installing.
  3. It's recommended you reboot after installing.
  4. Open up a Command Prompt. open the start menu and type "CMD" then hit enter.
  5. In the command prompt, type
    Code:
    pip install protobuf
    to install the required dependencies.
  6. Go to https://github.com/VisualStudio-zz/D3Edit , click "Clone or download", then click "Download Zip".
  7. Unzip this to a folder.
  8. Navigate to that folder in the command prompt (use the CD command. if you're having trouble, look here: https://www.digitalcitizen.life/command-prompt-how-use-basic-commands )
  9. Back up your Diablo III Save on your Switch. I prefer Checkpoint, but you can use whatever works for you.
  10. Transfer your backed up save to your PC.
  11. Move
    Code:
    account.dat
    to the folder you unzipped the D3Editor to.
  12. In the command Prompt, if you wish to change All Currencies, type
    Code:
    D3Edit.py -i account.dat -o account_mod.dat -s x --all-currencies xxxx
    where -s x is the character slot you want to change (Your first character is Slot 0!) and all-currencies xxxx is the amount you want to update all currencies to.
  13. If you want to change only one, or multiple separate currency types, replace
    Code:
    --all-currencies
    with the currency type you want to change:

    --gold
    --blood-shards
    --reusable-parts
    --arcane-dust
    --veiled-crystals
    --deaths-breath
    --forgotten-souls
    --khanduran-runes
    --caldeum-nightshade
    --arreat-war-tapestries
    --corrupted-angel-flesh
    --westmarch-holy-water
    --hearts-of-fright
    --vials-of-putridness
    --idols-of-terror
    --leorics-regrets
    --vengeful-eyes
    --writhing-spines
    --devils-fangs

    For example, if I want to give my First slot character 1 million gold, 5000 Blood Shards, and 200 Death's Breath, I would type
    Code:
    D3Edit.py -i account.dat -o account_mod.dat -s 0 --gold 1000000 --blood-shards 5000 --deaths-breath 200

  14. Move
    Code:
    account_mod.dat
    to the folder that previously contained account.dat, and then rename it to
    Code:
    account.dat
    .
  15. Transfer the newly edited save folder back to the switch.
  16. Use your Save backup tool to restore the edited save.
  17. Launch Diablo III and have fun!
 

bennie85

Member
Newcomer
Joined
Sep 6, 2018
Messages
9
Trophies
0
Age
38
XP
155
Country
Singapore
If it's working with seasonal character, which slot is the seasonal character in?

hey just an update, i did exactly as per instructions. I saw my cmd updating slot 0 to have all currencies to 9999999. I transfered account_mod.dat back to the switch folder and rename back to account.dat.

Restored using checkpoint but nothing happens. Could it be i just updated the game that's why?
 
Last edited by bennie85,

Visual Studio

Developer
OP
Developer
Joined
Aug 25, 2016
Messages
123
Trophies
0
Age
30
XP
1,707
Country
United States
If it's working with seasonal character, which slot is the seasonal character in?

hey just an update, i did exactly as per instructions. I saw my cmd updating slot 0 to have all currencies to 9999999. I transfered account_mod.dat back to the switch folder and rename back to account.dat.

Restored using checkpoint but nothing happens. Could it be i just updated the game that's why?
An updated game wouldn't change it.

--------------------- MERGED ---------------------------

Is there any way to make a seasonal character with a save editor?
What would you want to mod? Paragon?
 

JoshDevious

Well-Known Member
Member
Joined
Nov 4, 2007
Messages
194
Trophies
1
XP
1,782
Country
United States
An updated game wouldn't change it.

--------------------- MERGED ---------------------------


What would you want to mod? Paragon?

I think the benefit to being able to manually insert a seasonal flagged character would be for banned consoles that cannot go online which is required at least once to start a seasonal character and play as one. I would definitely use that feature.
 

Aisuga

Active Member
Newcomer
Joined
Mar 10, 2016
Messages
33
Trophies
0
XP
569
Country
France
Thanks for working on an editor. Could you look into non legendary gems? They're quite important to reroll jewelry.
 

Oracleofire

Well-Known Member
Newcomer
Joined
Mar 14, 2009
Messages
91
Trophies
1
XP
695
Country
United States
I think the benefit to being able to manually insert a seasonal flagged character would be for banned consoles that cannot go online which is required at least once to start a seasonal character and play as one. I would definitely use that feature.
To add onto this, there are certain rewards that only Seasonal characters can get, which I imagine is the main draw in "enabling" Seasonal status. Users need to be online to make a Seasonal character, but after that the character can be played completely offline, including redeeming the rewards which are achievement-based. I'm not sure whether it's merely a flag in the save or something server-side, but I think that's the gist of what people are asking for.

Users can probably just edit in the rewards when you implement item editing, but I guess some people want to do it "semi-legit"?

EDIT: Ah, just thought of probably the biggest benefit for certain people: when playing local wireless, non-seasonal characters cannot play with seasonal characters. So if someone's friend made a seasonal character, they wouldn't be able to play with them.
 
Last edited by Oracleofire,
  • Like
Reactions: JoshDevious

AriseChickenArise

New Member
Newbie
Joined
Nov 16, 2018
Messages
3
Trophies
0
Age
123
XP
61
Country
United States
An updated game wouldn't change it.

--------------------- MERGED ---------------------------


What would you want to mod? Paragon?

I think just the basic crafting materials would be enough. If you have access to the horadric cache materials, death's breath, and forgotten souls... you can get pretty much anything you want in the game. If seasonal edits are possible, this should take priority over anything else (and dare I say anything else is not needed)
 

Aisuga

Active Member
Newcomer
Joined
Mar 10, 2016
Messages
33
Trophies
0
XP
569
Country
France
I don't think adding seasonal character flag is going to work, because you can only play offline so long as you once went online (to create or load that character) and don't close the game. But in order to backup/edit/inject your save you have to close the game.

I think just the basic crafting materials would be enough. If you have access to the horadric cache materials, death's breath, and forgotten souls... you can get pretty much anything you want in the game. If seasonal edits are possible, this should take priority over anything else (and dare I say anything else is not needed)

Imperial gems are needed to reroll jewelry and you need a lot of them unless you get lucky.
 

Yharnam

New Member
Newbie
Joined
Nov 17, 2018
Messages
1
Trophies
0
Age
26
XP
54
Country
Argentina
Hello, sorry for bothering you, but I had some problems with Python that prevent the development of the modification of my game of Diablo III, and I was going to ask you if there is no way to create a launcher with Visual Studio or something similar, I have tried for hours and I have not got the 3.71 python to adapt, I ask you for help, or could you upload the folder of your python?, so I pass the libraries, it would be very helpful :D
 

AriseChickenArise

New Member
Newbie
Joined
Nov 16, 2018
Messages
3
Trophies
0
Age
123
XP
61
Country
United States
Imperial gems are needed to reroll jewelry and you need a lot of them unless you get lucky.

Fair enough but I'm honestly never in need of gems. I'm in the top 100 necro on Switch seasonal and I've never been like "oh shoot, I can't reroll because I'm out of gems". Gems are probably easy enough to implement, but the main crafting mats are the most important hands down. Get souls + horadric cache mats, get primals, perfect rerolls.

I don't think adding seasonal character flag is going to work, because you can only play offline so long as you once went online (to create or load that character) and don't close the game. But in order to backup/edit/inject your save you have to close the game.

Honestly, this might be for the better. I, too, thought that seasonal probably wouldn't work. However, try the following:

open game > connect > airplane mode on > make offline changes to character/inventory/whatever > close game > open game > airplane mode off > connect > changes made to character while offline are still there (probably uploaded to the server upon connecting)

This indicates there is some kind of local save file that PERHAPS could be edited for seasonal characters
 
Last edited by AriseChickenArise,

Twinbladez

Active Member
Newcomer
Joined
Nov 9, 2018
Messages
42
Trophies
0
Age
36
XP
140
Country
Canada
Fair enough but I'm honestly never in need of gems. I'm in the top 100 necro on Switch seasonal and I've never been like "oh shoot, I can't reroll because I'm out of gems". Gems are probably easy enough to implement, but the main crafting mats are the most important hands down. Get souls + horadric cache mats, get primals, perfect rerolls.



Honestly, this might be for the better. I, too, thought that seasonal probably wouldn't work. However, try the following:

open game > connect > airplane mode on > make offline changes to character/inventory/whatever > close game > open game > airplane mode off > connect > changes made to character while offline are still there (probably uploaded to the server upon connecting)

This indicates there is some kind of local save file that PERHAPS could be edited for seasonal characters

Ok so make offline changes you mean take off sd card and use @Virtual Studio file using checkpoint and put back sd card then close game? or we can edit it while everything is on swirch during airplane mode? im confused now. I also want to edit my seasonal.
 

Aisuga

Active Member
Newcomer
Joined
Mar 10, 2016
Messages
33
Trophies
0
XP
569
Country
France
Fair enough but I'm honestly never in need of gems. I'm in the top 100 necro on Switch seasonal and I've never been like "oh shoot, I can't reroll because I'm out of gems". Gems are probably easy enough to implement, but the main crafting mats are the most important hands down. Get souls + horadric cache mats, get primals, perfect rerolls.

I am out of gems lol. I've been testing several builds on my Wiz and also changed followers (used to go with Enchantress because all my stuff always had Int stats and replaced with a more appropriate Templar for endgame) and yeah gems are difficult to find in enough quantities. What I'm doing now is to save scum when I reroll (with a save backup).

Honestly, this might be for the better. I, too, thought that seasonal probably wouldn't work. However, try the following:

open game > connect > airplane mode on > make offline changes to character/inventory/whatever > close game > open game > airplane mode off > connect > changes made to character while offline are still there (probably uploaded to the server upon connecting)

This indicates there is some kind of local save file that PERHAPS could be edited for seasonal characters

Yeah, I didn't mean you can't cheat/edit the seasonal character save, but all the people who requested it to not go online ever (banned or w/e), won't be able to play that character. Not much point adding the flag since you have to go online either way. So it is possible to edit the character, but you need to be online to load it.
 
Last edited by Aisuga,

Visual Studio

Developer
OP
Developer
Joined
Aug 25, 2016
Messages
123
Trophies
0
Age
30
XP
1,707
Country
United States
I am out of gems lol. I've been testing several builds on my Wiz and also changed followers (used to go with Enchantress because all my stuff always had Int stats and replaced with a more appropriate Templar for endgame) and yeah gems are difficult to find in enough quantities. What I'm doing now is to save scum when I reroll (with a save backup).



Yeah, I didn't mean you can't cheat/edit the seasonal character save, but all the people who requested it to not go online ever (banned or w/e), won't be able to play that character. Not much point adding the flag since you have to go online either way. So it is possible to edit the character, but you need to be online to load it.
I still need to figure out the .gam format to extract item ID's anyone is welcome to do it but so far it's a pain in the butt.
 

Visual Studio

Developer
OP
Developer
Joined
Aug 25, 2016
Messages
123
Trophies
0
Age
30
XP
1,707
Country
United States
I made a basic GUI and some refactoring in my fork for those struggling with the CLI tool, you can find it here (https://github.com/unixtreme/D3Edit)

Note: Editing certain currencies may not work. Only works for Softcore at the moment. Make a backup of the save I tested VERY little.
I want to put that in another branch on my repo but IDK how without you repulling it on the gui branch.
 

unixtreme

Well-Known Member
Newcomer
Joined
Nov 10, 2018
Messages
73
Trophies
0
Age
54
XP
355
Country
Ireland
I think the benefit to being able to manually insert a seasonal flagged character would be for banned consoles that cannot go online which is required at least once to start a seasonal character and play as one. I would definitely use that feature.
If someone gets their hands on a save that already has a seasonal character we can look for what the flag looks like and add it in.
 

unixtreme

Well-Known Member
Newcomer
Joined
Nov 10, 2018
Messages
73
Trophies
0
Age
54
XP
355
Country
Ireland
What modifications are actually working?
Since on Github only Gold is mentioned.

On the GUI branch (the one I'm merging to) I can confirm the following works:

- Paragon Level (both SC and HC)
- Hero level (characters are saved to modded_id.dat)
- All materials
- Gold

Basically, all the modifications currently available seem to work fine while using the GUI. I cannot guarantee if they work using the CLI as I'm doing everything through the GUI.
 
  • Like
Reactions: temper999

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://www.google.com/search?q=MSU+Genesis&rlz=1C1VDKB_enUS988US988&oq=MSU+Genesis&gs_lcrp=EgZja...