[Paritee's Better Farm Animal Variety] BFAV Dodos will not load: Can't parse JSON file at E:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods\[BFAV] Dodos Fake Babies\content.json. This doesn't seem to be valid JSON. Technical details: After parsing a value an unexpected character was encountered: ". Path 'Categories[0].Types[0].Sprites.Baby', line 14, position 6.
okay so the non-experimental version is missing a bunch of commas from the content.json and is calling for Brown Dodo.png instead of Brown_Dodo.png, which is the actual name of the file, this is what a fixed one should look like: { "Format": "1.0", "Categories": [ { "Action": "Create", "Category": "Dodos", "Types": [ { "Type": "Brown Dodo", "DeluxeProduceLuck": 0.0, "Data": "1/0/182/254/cluck/8/32/48/32/8/32/48/32/0/false/Coop/16/16/16/16/4/7/null/641/800/Brown Dodo/Coop", "Sprites": { "Baby": "assets/Baby_Brown_Dodo.png", "Adult": "assets/Brown_Dodo.png", }, }, { "Type": "White Dodo", "DeluxeProduceLuck": 0.0, "Data": "1/0/174/254/cluck/8/32/48/32/8/32/48/32/0/false/Coop/16/16/16/16/4/7/null/641/800/White Dodo/Coop", "Sprites": { "Baby": "assets/Baby_White_Dodo.png", "Adult": "assets/White_Dodo.png", }, }, ], "Buildings": [ "Big Coop", "Deluxe Coop" ], "AnimalShop": { "Name": "Dodo", "Description": "Flightless birds that aren't known for their intelligence", "Icon": "assets\\animal_shop_dodo.png", "Exclude": [ "Void Chicken" ] }, "ForceRemoveFromShop": false, "ForceOverrideTypes": true, "ForceOverrideBuildings": true, "ForceOverrideExclude": true, }, ], }
I'm just going to trust that ty2manie knows more about this than I do because I've had a heck of a time finding references for the new format for BFAV. I'll have a fixed one up in a moment, hopefully thanks to the help of other modders this will finally be the one that works right. And thank you all for your patience!
That's very strange, I must have done something wrong in the uploading process. But good to hear that the test branch works! That being the case, I'll make that the main version as I'd originally intended. Thank you so much for your help!
I do have the corrected code, I just didn't upload it correctly. Also I didn't see much point in keeping that version when there aren't currently any baby sprites. If someone wants to make baby sprites I will happily make a version to incorporate them.
11 comments
Technical details: After parsing a value an unexpected character was encountered: ". Path 'Categories[0].Types[0].Sprites.Baby', line 14, position 6.
{
"Format": "1.0",
"Categories": [
{
"Action": "Create",
"Category": "Dodos",
"Types": [
{
"Type": "Brown Dodo",
"DeluxeProduceLuck": 0.0,
"Data": "1/0/182/254/cluck/8/32/48/32/8/32/48/32/0/false/Coop/16/16/16/16/4/7/null/641/800/Brown Dodo/Coop",
"Sprites": {
"Baby": "assets/Baby_Brown_Dodo.png",
"Adult": "assets/Brown_Dodo.png",
},
},
{
"Type": "White Dodo",
"DeluxeProduceLuck": 0.0,
"Data": "1/0/174/254/cluck/8/32/48/32/8/32/48/32/0/false/Coop/16/16/16/16/4/7/null/641/800/White Dodo/Coop",
"Sprites": {
"Baby": "assets/Baby_White_Dodo.png",
"Adult": "assets/White_Dodo.png",
},
},
],
"Buildings": [
"Big Coop",
"Deluxe Coop"
],
"AnimalShop": {
"Name": "Dodo",
"Description": "Flightless birds that aren't known for their intelligence",
"Icon": "assets\\animal_shop_dodo.png",
"Exclude": [
"Void Chicken"
]
},
"ForceRemoveFromShop": false,
"ForceOverrideTypes": true,
"ForceOverrideBuildings": true,
"ForceOverrideExclude": true,
},
],
}
"Type": "Brown Dodo",
"DeluxeProduceLuck": 0.0,
"Data": "1/0/182/254/cluck/8/32/48/32/8/32/48/32/0/false/Coop/16/16/16/16/4/7/null/641/800/Brown_Dodo/Coop",
"Sprites": {
"Baby": "assets/Baby_Brown_Dodo.png",
"Adult": "assets/Brown_Dodo.png"
}
},
{
"Type": "White Dodo",
"DeluxeProduceLuck": 0.0,
"Data": "1/0/174/254/cluck/8/32/48/32/8/32/48/32/0/false/Coop/16/16/16/16/4/7/null/641/800/White_Dodo/Coop",
"Sprites": {
"Baby": "assets/Baby_White_Dodo.png",
"Adult": "assets/White_Dodo.png"