Dustland Delivery

Dustland Delivery

Not enough ratings
Hacking the save file to make your own characters
By Psychedelic Porcupine
A comprehensive guide on how to create multiple custom characters in your save file.
   
Award
Favorite
Favorited
Unfavorite
Explanation
This guide sometimes refers to character [0], character [1], etc.

Viewing in a JSON tree (recommended)

If you are looking at the JSON data within a JSON viewer (like the one mentioned below), it will show [0], [1], etc for each character 'slot', like this:



This is because the viewer is rendering the JSON file as a tree, and it has to label each character within the array as something. It does it with numbers.

Editing in a save file

If you are editing the save file in a text editor then you will not see [0], [1] etc preceding each characters information, you will just see the array of information for each character, like this

{"_image":0,"_battle":13,"_body":3,"_defence":8,"Gender":1,"Aptitude":0 ... ,"Mood":24}

Everything after the first opening curly bracket following NowPeople is the start of the first character's information, right up until the closing curly bracket after the next reference to Mood.

So.....

When I refer to [0], this is a reference to the first game character within the array.

It was easier to write this guide clearly if I referred to [0] or [1] etc, but if you're using a standard text editor to edit the save file then you won't see these identifiers within the JSON file.
Save Location and Editing
First of all, your save file is located here:
C:\Users\USER\AppData\LocalLow\NeutronStar\WastelandExpress

This guide covers two ways to view and edit your files. I recommend the JSON Viewer option, but will also cover the text editor method

If using the JSON Viewer (Recommended)

  • Go to https://jsoneditoronline.org/, select Open on the left hand window and load in your save file.

  • Click on the right-hand arrow in the middle of the screen under Transform. A dialog box will pop up. Just hit the Transform button in the bottom right.

  • Use the search tool (magnifying glass) to search for NowPeople, or manually expand keys [0] -> ["Value"] -> [2] -> ["Nowpeople"].



Now relax for a couple of seconds. You have successfully arrived at the part of the file we will be working on!

If using a text editor

Search the save file for NowPeople. You will see the information relating to your characters following this.

Take a second to relax and ask yourself why you are making this harder for yourself then you need to by not simply using the editor I suggested you use! :)
Editing your default (main) character
Let's assume we are working on the first character to start with. Again, that would be [0] in NowPeople within the JSON viewer, or all the data within the curly brackets following NowPeople if in a standard text editor...see the next section for more information on this if required).

The values you'll need to edit are:

  • _image: their portrait. Ranges are 0-305 and 3000-3013 (interestingly, 226 is a cat!). NOTE: There are some missing portraits in these ranges. I guess the devs deleted some and didn't re-number the files. If you encounter a blank portrait when using an _image ID within the above ranges, that's why. The gaps increase as you go beyond 227. There's actually nothing between 239 and 301, for example.

  • PeopleID: Start at 3000 for your first trucker and increment for each additional character you add.

  • _name: Not present in a save where you used a preset character and are adding additional custom characters. Can be manually added. This is the main name in the character profile.

  • _realname: The sub-name in the character profile.

  • IsYou: Default mode has you play as the truck, so this value would be false for all characters. Hero mode has you play as a character, so that character would be set to true, and any additional characters would be false.

You may also want to edit their stats, but I don't think that needs explanation. Some of the attributes are worded differently to in the game, but it's pretty obvious what's what. They all start with an underscore, too.
Creating Additional Characters
For any additional characters you create there are multiple routes to achieve this, but the easiest thing to do is edit it within the JSON viewer I linked to. https://jsoneditoronline.org/

If using the JSON Editor (recommended)

  • Find your first character, which will be [0] within the NowPeople array in tree view.
  • Right click [0] and select 'duplicate'. It will create a new entry called [1] below [0].
  • Now edit the required values in [1] as per the section above.

If using a text editor

Really ask yourself why you are taking this approach and making me write out 2 methods when I could have just done one! :) Then....

Copy all of your first character's data from BEFORE the opening curly bracket following NowPeople:

{"_image":0,"_battle":13,"_body":3,...

to AFTER the closing curly bracket, way down where you see:

..."Mood":24}

Next, put a comma after that last curly bracket following Mood, then paste the data you copied for character [0] and alter the necessary values as per above.

For clarity, it would then look something like this (I have abridged where you see "..."):

{"_image":0,"_battle":13,"_body":3,..."Mood":24},{"_image":225,"_battle":13,"_body":3,..."Mood":20}

But I want mooooore...

Calm down. You can repeat this process again for every slot you have available in your truck.
Saving it all
Time to save it and get it back into the game!

If using the JSON Viewer

  • In the right hand window, click "text" in the top left of the green bar.
  • Click the icon that compacts the JSON (3rd button after the "text, tree, table" buttons)
  • Hit save, and select to save to disk. Maybe back up your original file before overwriting it.

You should be good to go! Load the game and launch that save file.

If using a text editor

Save all changes you made to the save file. Load the game and launch that save file.

Ta-da!!

Have fun!
Hopefully this guide was useful. Let me know if there are any areas that need clearing up, or if this was helpful for you.

Thanks.
7 Comments
Skill Less 28 Sep @ 9:25am 
"Really ask yourself why you are taking this approach and making me write out 2 methods when I could have just done one! :)"

Because Notepad++

Thanks for the guide :3
𝕾𝖑𝖊𝖊𝖕𝖞 20 May @ 6:37pm 
Animal Lover 62–7063
Bloodthirsty 9–7010
Drinker 58–7059
Ex-Racer 33–7034
Flirt 64–7065
Full of Beans 17–7018
Happy Hunter 104–7105
Happy-Go-Lucky 25–7026
Heavy Drinker 59–7060
Heavy Sleeper 73–7074
Heterophile 40–7041
Homophile 39–7040
Iron Stomach 83–7084
Negotiator 36–7037
Night Driver 52–7053
Night Owl 50–7051
Nibbler 20–7021
Party Animal 45–7046
Pretty 76–7077
Puddle Lover 12–7013
Romantic 65–7066
Silver Tongue 37–7038
Sociable 71–7072
Speed Freak 81–7082
Stunning 75–7076
Town Mouse 29–7030
Veteran Driver 32–7033
Violent 8–7009
Workhorse 16–7017.
𝕾𝖑𝖊𝖊𝖕𝖞 20 May @ 6:35pm 
so i think i found the numbers for traits? Also, your traits located at "PeopleBuff":
Sweetcandykitten 14 Jan @ 1:13pm 
Awesome. I did use a custom character to begin the game and followed the formula that you wrote here. I was not aware there were big creation differences. If there is any more data I can provide to help you please let me know. I hope you are able to sort this out as I really like the custom character pics and want to use them for my party.

For now, this guide works just fine for generating the extra characters. I've simply ended up using the lower range of PeopleIDs to fish up some suitable images. The stats, the equipment, and the names of the characters are still very much configured the way you've described. So I got 90% of what I wanted and am very thankful for what you have put out for everyone.
Psychedelic Porcupine  [author] 14 Jan @ 1:19am 
@Sweetcandykitten. Thanks for your comment. After writing this guide I did notice that there is a difference in the way the game saves files for a 'normal' playthough and a playthrough that first uses the in-game custom character creator. This complicates things. I will need to go over it again with this in mind, but haven't had a chance to do so yet.
Sweetcandykitten 9 Jan @ 12:11pm 
I've tried hiring a companion and asserting character code over them. If I do not change PeopleID for the companion, then no image changes I attempt have any affect. If I set that companion to peopleID 3001+ or 2999- then they lose their job title and their image.

Yet if I set this companion from PeopleID 72 to PeopleID 73, it changes his image, even though the image range itself wasn't altered. So images appear to go blank and to change based entirely on PeopleID.

I'm seriously confused friend.

"PeopleID: Start at 3000 for your first trucker and increment for each additional character you add."

What do you mean by increment? I cannot get your guide to work and the more I try to figure out why the more it seems like several items are grossly misidentified here. Working this number is borking characters? Please help.
Sweetcandykitten 9 Jan @ 2:02am 
Hmm. I'm having some trouble with this. Everything works as described, but if I put in a PeopleID other than 3000.. like 3001, 3002, 3300, or 2999... the character's image becomes a blank white box. What's more, they don't have job titles.

I tried solving this by placing my 2 extra characters in PeopleID 3000. It shows their images but their title is "Protagonist." They also do not participate in combat.

What have I done wrong?