Starbound

Starbound

Crew Customization +
FelmastProMcLane  [developer] 13 Mar, 2020 @ 5:17pm
Manual fix for broken items given to NPCs
Well, here is the link on how to open and edit a .player file(save file):
https://steamhost.cn/steamcommunity_com/workshop/filedetails/discussion/882900100/133259956011112917/#c2132869574268909855

Follow the instructions until step 3.

Then in a text editor, open the generated .json file and use the search function to find "customUniforms", it will look something like this:
"customUniforms" : { "4e7b0d1550749f0e860c951b287f43e7" : null, "9f30f7f20475c2a2ed12c0849e22b602" : { "slots" : ["back", "head", "chest", "legs"], "items" : { "chest" : { "parameters" : { } }, "count" : 1, "name" : "ashechest" } } },

Now find the problematic item, copy the value in the "name" tag, it's needed to find other copies of it.
Now delete every instance that contains the same item name that looks like this:
(note that the slot "chest", "parameters", "name" will be different for you)
Also check that you don't leave any extra commas when deleting.
"chest" : { "parameters" : { } }, "count" : 1, "name" : "ashechest" }

Then you can save the file and make it a .player once again using the "make_versioned_json.exe"
Last edited by FelmastProMcLane; 8 Aug, 2021 @ 10:19pm
< >
Showing 1-2 of 2 comments
Noddharath 13 Mar, 2020 @ 9:23pm 
Took two tries at same save (two clean first try, all of them at second) but it actually worked, pretty damn clever solution. Many thanks *claps* *claps* *claps* *claps*

Thats also something really good to see, i didn't knew it was possible to edit character this way, means everysingle character can be saved at any given time from any mod corruption, but i guess its better to clean inventory before cuz well, almost 40 thousand lines lol
FelmastProMcLane  [developer] 13 Mar, 2020 @ 9:40pm 
Glad it worked!, Yeah custom items tend to have a lot of parameters and the file gets huge.
The reason i found out it's because vanilla can use a "null" uniform to set the default.
< >
Showing 1-2 of 2 comments
Per page: 1530 50