Starbound

Starbound

Familiars Race Expansion
FUS 28 Aug, 2024 @ 3:42pm
Severe issue with guard.npctype.patch
Dunno if you're still around, but TL;DR, it overwrites the vanilla file it's trying to patch, deleting all the entries, which is rather gamebreaking.
Would be great if you could change it at the source so I didn't need to make a hacky patch for it.
What it patches:
[{ "op" : "add", "path" : "/items", "value" : { "familiar" : [ [0, [ { "head" : [ { "name" : "familiartier1head" } ], "chest" : [ { "name" : "familiartier1chest" } ], "legs" : [ { "name" : "familiartier1pants" } ], "primary" : [ "npcpistol", "npcmachinepistol", "npcassaultrifle" ], "sheathedprimary" : [ "npcbroadsword" ] } ] ],

What it should patch, without the arrows:
[{ "op": "add", >>> "path": "/items/familiar", <<< "value": [ [0, [ { "head" : [ { "name" : "familiartier1head" } ], "chest" : [ { "name" : "familiartier1chest" } ], "legs" : [ { "name" : "familiartier1pants" } ], "primary" : [ "npcpistol", "npcmachinepistol", "npcassaultrifle" ], "sheathedprimary" : [ "npcbroadsword" ] } ] ],
Last edited by FUS; 28 Aug, 2024 @ 3:45pm
< >
Showing 1-3 of 3 comments
Which one should I use and where do I put it? I don't understand coding that well.
FUS 5 Jan @ 11:05am 
Originally posted by catpop12343:
Which one should I use and where do I put it? I don't understand coding that well.
Fixing issues with mods is the author's responsibility.
But if you want a local fix, then you need to unpack the mod, find the file named "guard.npctype.patch", open it with any text editor, and change the "path": line in it from "/items", to "/items/familiar", as shown in the code blocks, and that'd be it.
Afterwards just rename the unpacked folder to something distinct, make sure it's in StarBound's "mods" folder, delete the .pak file you used from there, and unsubscribe from the Workshop item as to not overwrite the changes made.

How to unpack mods: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=745239455
Originally posted by FUS:
Originally posted by catpop12343:
Which one should I use and where do I put it? I don't understand coding that well.
Fixing issues with mods is the author's responsibility.
But if you want a local fix, then you need to unpack the mod, find the file named "guard.npctype.patch", open it with any text editor, and change the "path": line in it from "/items", to "/items/familiar", as shown in the code blocks, and that'd be it.
Afterwards just rename the unpacked folder to something distinct, make sure it's in StarBound's "mods" folder, delete the .pak file you used from there, and unsubscribe from the Workshop item as to not overwrite the changes made.

How to unpack mods: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=745239455

Thanks! I'll give it a try!
< >
Showing 1-3 of 3 comments
Per page: 1530 50