I love the idea (Those pigs are very noisy ) but it's not loading for me. I'm getting this [SMAPI] - [CP] Pepper Rex Pig Replacer because parsing its manifest failed: Newtonsoft.Json.JsonReaderException: Can't parse JSON file at C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods\[CP] Pepper Rex Pig Replacer\manifest.json. This doesn't seem to be valid JSON. Technical details: Error parsing NaN value. Path 'UpdateKeys', line 8, position 19. at StardewModdingAPI.Toolkit.Serialization.JsonHelper.ReadJsonFileIfExists[TModel](String fullPath, TModel& result) in C:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Serialization\JsonHelper.cs:line 74 at StardewModdingAPI.Toolkit.Framework.ModScanning.ModScanner.ReadFolder(DirectoryInfo root, DirectoryInfo searchFolder) in C:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Framework\ModScanning\ModScanner.cs:line 103
Hi! So it turns out that when I was fine-tuning the mod's code prior to release, I accidentally typed in a line with the wrong formatting which broke the whole thing. My bad for not doing a final check! It's fixed now. And thank you so much for letting me know - I wouldn't have ever found out otherwise!
Just so you know, this mod is only a texture replacer, so your pigs will unfortunately still be noisy. The only thing that changes is their appearance. I hope you still enjoy it!
3 comments
[SMAPI] - [CP] Pepper Rex Pig Replacer because parsing its manifest failed:
Newtonsoft.Json.JsonReaderException: Can't parse JSON file at C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods\[CP] Pepper Rex Pig Replacer\manifest.json. This doesn't seem to be valid JSON.
Technical details: Error parsing NaN value. Path 'UpdateKeys', line 8, position 19.
at StardewModdingAPI.Toolkit.Serialization.JsonHelper.ReadJsonFileIfExists[TModel](String fullPath, TModel& result) in C:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Serialization\JsonHelper.cs:line 74
at StardewModdingAPI.Toolkit.Framework.ModScanning.ModScanner.ReadFolder(DirectoryInfo root, DirectoryInfo searchFolder) in C:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Framework\ModScanning\ModScanner.cs:line 103
Just so you know, this mod is only a texture replacer, so your pigs will unfortunately still be noisy. The only thing that changes is their appearance. I hope you still enjoy it!