View Full Version : Dark Souls Save Editor Source Code (WITH Inventory editing, proper style, no typing)
undeclared
11-16-2011, 05:07 PM
Hi all,
I'm about 95% done a Dark Souls Save Editor, with full inventory editing. I don't have the time anymore to continue it, but if anyone with sufficient C# skills (and proof they actually know what they're doing) would be interested in finishing it, I'd happily share the spotlight with said person.
I am dealing with VERY minor issues. I think it could be 2-3 hours, and the save editor is done, and your name is on it :P
It currently does EVERYTHING but the inventory editor part. This is the only thing that needs to be finished, and the hex locations as well as a database of items is already finished, it's just some issues with getting it all to work together.
Post here or PM, I'll be around.
undeclared
11-16-2011, 06:11 PM
Attached is the save editor.
Some notes:
- GenerateChecksum may or may not work properly (reason: I can't seem to figure out which encoding the MD5 is looking for, experimentation will be required)
- MemoryInt fields actually write directly to the value, so it's considered changed in the save game once the MemoryStream is transferred to a FileStream, etc..
- InventoryEditor for the Equipped Items part needs to be finished
- To actually save the file, you will need to take the MemoryStream the file is stored in, copy it to a filestream, then write it to disk, THEN run the resign/rehash function
I just want this finished, I don't care if it's me. It's not my best C# work ever, there is no /// comments, but it's pretty self explanatory for the most part.
Jappi88
11-16-2011, 07:21 PM
my save editor is olmost done, already has full inventory editor working :)
Edit : just looked over your source, and program looks really cool.
you should finish this project.
olso noticed that you are editing the stfs directly... witch is not a good idea, espacialy with this game, since the Headerdata Changes.
besides that, good job, i bet it will be very usefull for manny around here :)
undeclared
11-17-2011, 12:23 AM
my save editor is olmost done, already has full inventory editor working :)
Edit : just looked over your source, and program looks really cool.
you should finish this project.
olso noticed that you are editing the stfs directly... witch is not a good idea, espacialy with this game, since the Headerdata Changes.
besides that, good job, i bet it will be very usefull for manny around here :)
STFS directly? What do you mean?
I should be using X360, take out the user_data file, then reinsert it or something?
Renegade
11-17-2011, 12:28 AM
STFS directly? What do you mean?
I should be using X360, take out the user_data file, then reinsert it or something?For games like this, you should take out the save file from the STFS Container when editing the data, that way it will be easier for you, and less errors/corruption throughout usage.
undeclared
11-17-2011, 12:32 AM
Hmm okay... wouldn't the rehash from x360 just fix these problems though?
Renegade
11-17-2011, 12:38 AM
Hmm okay... wouldn't the rehash from x360 just fix these problems though?No, that only fixes the games hash tables. Editing the STFS file directly, is a lot more complicated than it seems. It's not the way it works and it's just going to give you issues.
undeclared
11-17-2011, 02:39 AM
It would be a shame if nobody finished this though, because it's extremely close to completion.
The GUI is pretty much completed, there is some minor work to be done, some minor bug fixes, and the entire STFS ordeal (Which would mean nothing more than I THINK X360.DLL which I already use, using it to grab user_data, edit it, then reinsert it... change HexLocation.User_Data from E000 to just not using it at all.....)
Wouldn't be a lot of work, I'm happy to share credit. I don't have the time nor the patience right now.
undeclared
11-25-2011, 03:26 AM
Just a simple bump. This really should be taken over by someone.
perroflauta
12-24-2011, 11:17 PM
Good JOb, this editor should be finish :D
PD: I don know how to save, yeah i know im noob but i dont get the instructions D:
undeclared
08-01-2012, 07:06 AM
lol wow nobody finished it oh well ;)
I'm thinking this might actually work for the dark souls PC when it comes out, but then again, we'll have trainers and all that..
Bonzay0
08-31-2012, 12:15 PM
Hi
The save editor will work great if I can manage to change values and make the game read it only minor tweaks are left.
I was actually interested in making it into the PC version editor and so I downloaded it kept working on it a bit and now I only need a checksum generator so file will be able to be load by game (until then all I'll get will be save corrupted).
sorry for bump but I really need some help here (I'm good at editing stuff but not at creating them into new savefile :P )
Storm is Pro
04-06-2013, 05:32 AM
Darn. Looks like it doesn't work with PC. None the less, Good Job. Being a C# programmer I am going to look through this code.
Shidieded
07-03-2013, 12:33 AM
Hey can anyone tell me the hex value of the purple karmic justice explosive wotg thing? Help greatly appreciated.
Hydromedia
07-20-2013, 01:03 AM
I'm looking for a dark souls PC save editor and happen to be an experienced C# programmer, I'm happy to work on this myself. Can someone point me to a resource detailing the format these saves are stored in and how they're normally decoded and re-encoded? I should be able to finish this project with that knowledge in hand. That, or I'd be happy to work with Jappi on his version.
vBulletin Solutions, Inc. All rights reserved.