Sorry guys, the manifest should be working now. Apologies for all the incremental updates. Just in case I've left the original in the older versions section.
I don't use the stardrop mod manager, rather MO2, so if that's still experiencing issues please holler - I did change the encoding. But I can at least verify it works for me!
Thanks minkshaman for continuing to bug my lazyass about updating this. Appreciate you and everyone else's reports!
A project for another day I think, it's not enough added functionality for it to be critical, and I have some major Skyrim project deadlines looming. Which sounds like an incredibly weird thing to say now that I've typed it out. I will check it out though!
Hey! Just saw this topic, just to let you know what the issue with the manifest is (or was!): Encountering ZWNBSPIs a common problem when creating files on windows. It may create them with Byte-Order-Mark (BOM).
Not all tools can work with this.
So if this happens again in the future, use a Text Editor that can remove the BOM (notepad++ for example).
XD I *was* using Notepad++... It reverted the encoding multiple times. Ended up using regular notepad. But thanks for the note, I'll keep that in mind.
- FriendsForever because parsing its manifest failed: Newtonsoft.Json.JsonReaderException: Can't parse JSON file at C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods\FriendsForever\manifest.json. This doesn't seem to be valid JSON. Technical details: Unexpected character encountered while parsing value: . Path '', line 0, position 0. at StardewModdingAPI.Toolkit.Serialization.JsonHelper.ReadJsonFileIfExists[TModel](String fullPath, TModel& result) in E:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Serialization\JsonHelper.cs:line 86 at StardewModdingAPI.Toolkit.Framework.ModScanning.ModScanner.ReadFolder(DirectoryInfo root, DirectoryInfo searchFolder, Boolean useCaseInsensitiveFilePaths) in E:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Framework\ModScanning\ModScanner.cs:line 161
I dont know what to do because I'm dumb when it comes to this.
Hi Kriana, confirming that it's working fine for me, and likely most users.
If other users are having issues, I'd suggest making sure you have deleted all the old files before updating. This can be especially troublesome if you use Vortex.
There's some sort of invalid character at the start of the manifest.json file.
[SMAPI] - FriendsForever because parsing its manifest failed: Newtonsoft.Json.JsonReaderException: Can't parse JSON file at D:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods\FriendsForever\manifest.json. This doesn't seem to be valid JSON. Technical details: Unexpected character encountered while parsing value: . Path '', line 0, position 0. at StardewModdingAPI.Toolkit.Serialization.JsonHelper.ReadJsonFileIfExists[TModel](String fullPath, TModel& result) in E:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Serialization\JsonHelper.cs:line 86 at StardewModdingAPI.Toolkit.Framework.ModScanning.ModScanner.ReadFolder(DirectoryInfo root, DirectoryInfo searchFolder, Boolean useCaseInsensitiveFilePaths) in E:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Framework\ModScanning\ModScanner.cs:line 161
err, I'm sorry, but I think the manifest doesn't work for me again, did I do something wrong?
[SMAPI] - FriendsForever because parsing its manifest failed: Newtonsoft.Json.JsonReaderException: Can't parse JSON file at C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods\FriendsForever\manifest.json. This doesn't seem to be valid JSON. Technical details: Unexpected character encountered while parsing value: . Path '', line 0, position 0. at StardewModdingAPI.Toolkit.Serialization.JsonHelper.ReadJsonFileIfExists[TModel](String fullPath, TModel& result) in E:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Serialization\JsonHelper.cs:line 86 at StardewModdingAPI.Toolkit.Framework.ModScanning.ModScanner.ReadFolder(DirectoryInfo root, DirectoryInfo searchFolder, Boolean useCaseInsensitiveFilePaths) in E:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Framework\ModScanning\ModScanner.cs:line 161
145 comments
I don't use the stardrop mod manager, rather MO2, so if that's still experiencing issues please holler - I did change the encoding. But I can at least verify it works for me!
Thanks minkshaman for continuing to bug my lazyass about updating this. Appreciate you and everyone else's reports!
did you have a chance to check out the other Repo with an update?
https://github.com/akoessler/Minidew-Mods/tree/master/FriendsForever
It has some good additions, like a debug output setting to read out friendship levels every morning.
If I can't be buggered trying to re-learn how to compile, I can hardly expect you to do more than you already have can I?
Cross-post your Skyrim stuff, I've been meaning to get back into it!
Feel free to join my discord if you'd like to chat: https://discord.gg/9B3KQd69S7
Encountering
ZWNBSP
Is a common problem when creating files on windows. It may create them with Byte-Order-Mark (BOM).Not all tools can work with this.
So if this happens again in the future, use a Text Editor that can remove the BOM (notepad++ for example).
- FriendsForever because parsing its manifest failed:
Newtonsoft.Json.JsonReaderException: Can't parse JSON file at C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods\FriendsForever\manifest.json. This doesn't seem to be valid JSON.
Technical details: Unexpected character encountered while parsing value: . Path '', line 0, position 0.
at StardewModdingAPI.Toolkit.Serialization.JsonHelper.ReadJsonFileIfExists[TModel](String fullPath, TModel& result) in E:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Serialization\JsonHelper.cs:line 86
at StardewModdingAPI.Toolkit.Framework.ModScanning.ModScanner.ReadFolder(DirectoryInfo root, DirectoryInfo searchFolder, Boolean useCaseInsensitiveFilePaths) in E:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Framework\ModScanning\ModScanner.cs:line 161
I dont know what to do because I'm dumb when it comes to this.
EDIT: Solved with the new version ✅
ZWNBSP{
when it should just be{
Everything else is fine!If other users are having issues, I'd suggest making sure you have deleted all the old files before updating. This can be especially troublesome if you use Vortex.
[SMAPI] - FriendsForever because parsing its manifest failed:
Newtonsoft.Json.JsonReaderException: Can't parse JSON file at D:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods\FriendsForever\manifest.json. This doesn't seem to be valid JSON.
Technical details: Unexpected character encountered while parsing value: . Path '', line 0, position 0.
at StardewModdingAPI.Toolkit.Serialization.JsonHelper.ReadJsonFileIfExists[TModel](String fullPath, TModel& result) in E:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Serialization\JsonHelper.cs:line 86
at StardewModdingAPI.Toolkit.Framework.ModScanning.ModScanner.ReadFolder(DirectoryInfo root, DirectoryInfo searchFolder, Boolean useCaseInsensitiveFilePaths) in E:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Framework\ModScanning\ModScanner.cs:line 161
Unexpected token ","{
"Na"... is not valid JSON
[SMAPI] - FriendsForever because parsing its manifest failed:
Newtonsoft.Json.JsonReaderException: Can't parse JSON file at C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods\FriendsForever\manifest.json. This doesn't seem to be valid JSON.
Technical details: Unexpected character encountered while parsing value: . Path '', line 0, position 0. at StardewModdingAPI.Toolkit.Serialization.JsonHelper.ReadJsonFileIfExists[TModel](String fullPath, TModel& result) in E:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Serialization\JsonHelper.cs:line 86
at StardewModdingAPI.Toolkit.Framework.ModScanning.ModScanner.ReadFolder(DirectoryInfo root, DirectoryInfo searchFolder, Boolean useCaseInsensitiveFilePaths) in E:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Framework\ModScanning\ModScanner.cs:line 161