Awesome Matt.J, that's exactly what I was looking for. I knew someone has done it before so I didn't want to keep trying to decode that for hours. I'll keep you updated once I get there.
Thank you!
Superceb: Have you checked out Phrozen Keep (d2mods.com). There are quite a few coders there that may be able to help you out. Too bad Yohann is not active (developer of PlugY) he might have been the perfect one to contact in regards to this.
Thanks, I'll look there if I'm stuck. I'll keep working on this when I'll get back to the Character Planner.
This is an even better reason to implement this functionality, since what I'm planning to do is show specific breakpoints and stats that you wouldn't see in game. If people test characters in single player, they could easily upload it on the tool and compare it to other builds.
Sorry was forgetting this, I'm putting some hard work on the skill calculator right now since... we'll maybe you'll know soon but I won't say anything since it's not sure yet.
Sorry for taking so long but as soon as I'm getting back to the character planner I'll give you some feedback.
Thanks for the info, didn't know about the "gf" and "if". Yes, the .d2s file is pretty easy to read, but what I think I'm doing wrong is my javascript parser...
I'll give it a look and I'll keep you updated.
Didn't put much time on this feature lastly, I'm currently working on the item creator.
What I mean is that that stats aren't always at the same adress, unless I'm mistaken. It's my first time playing with files like this.
Say I want to get the hp of the character, on one save file the value will be at the 14th character while on another it will be at the 15th (random numbers here).
I tried saving a character after entering the game and doing nothing, then comparing the files before and after. A value changed. My guess is that the played time is registered there and is the value changing, and since it's at the beginning of the file, it shifts the rest of the values, making them impossible to track.
Hope I'm clear enough, sorry for my english and thanks for your help.
Hey,
I'm currently working on a tool that lets you plan your whole character: items, stats and skills.
There's one functionnality that I would like to implement, but I might need a hand, especially since I don't have much free time. I hope it's ok to talk about this here since it's about game save files. If not, then I'm sorry and delete this thread.
I'm trying to read the .d2s file so you can upload your character on the website and test new builds (the website won't modify the save file, only read it). Though I'm wondering if it's worth working on that since you can only do it with single player characters...
Here's where I'm stuck: the ascii values aren't fixed in one position in the file, so I need to find a fixed point to get the values such as the level, hp etc. I know that items all start with "JM", so this shouldn't be an issue.
Sorry if I'm not clear enough and thanks for any feedback!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Thank you!
Thanks, I'll look there if I'm stuck. I'll keep working on this when I'll get back to the Character Planner.
Sorry for taking so long but as soon as I'm getting back to the character planner I'll give you some feedback.
I'll give it a look and I'll keep you updated.
BTW, welcome to the forums
What I mean is that that stats aren't always at the same adress, unless I'm mistaken. It's my first time playing with files like this.
Say I want to get the hp of the character, on one save file the value will be at the 14th character while on another it will be at the 15th (random numbers here).
I tried saving a character after entering the game and doing nothing, then comparing the files before and after. A value changed. My guess is that the played time is registered there and is the value changing, and since it's at the beginning of the file, it shifts the rest of the values, making them impossible to track.
Hope I'm clear enough, sorry for my english and thanks for your help.
I'm currently working on a tool that lets you plan your whole character: items, stats and skills.
There's one functionnality that I would like to implement, but I might need a hand, especially since I don't have much free time. I hope it's ok to talk about this here since it's about game save files. If not, then I'm sorry and delete this thread.
I'm trying to read the .d2s file so you can upload your character on the website and test new builds (the website won't modify the save file, only read it). Though I'm wondering if it's worth working on that since you can only do it with single player characters...
Here's where I'm stuck: the ascii values aren't fixed in one position in the file, so I need to find a fixed point to get the values such as the level, hp etc. I know that items all start with "JM", so this shouldn't be an issue.
Sorry if I'm not clear enough and thanks for any feedback!