I wait patiently for the fashion sense version for this mod.
Edit: I am so dumb I didn't realize the fashion sense version is already uploaded. So yeah I have the same problem too where it's showing and error but not showing up in game too.
Edit 2: so for the error, you can fix it by going into the manifest.json and the nexus 19141 needs to be like this ["Nexus:19141"], With comma and no spaces. Hopefully this helps.
Hi there, I'm getting a weird error message with this mod:
- 8bit's Hairstyles because parsing its manifest failed: Newtonsoft.Json.JsonReaderException: Can't parse JSON file at C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods\8bit's Hairstyles\manifest.json. This doesn't seem to be valid JSON. Technical details: After parsing a value an unexpected character was encountered: ". Path 'UpdateKeys', line 8, position 2. at StardewModdingAPI.Toolkit.Serialization.JsonHelper.ReadJsonFileIfExists[TModel](String fullPath, TModel& result) in /home/pathoschild/git/SMAPI/src/SMAPI.Toolkit/Serialization/JsonHelper.cs:line 86 at StardewModdingAPI.Toolkit.Framework.ModScanning.ModScanner.ReadFolder(DirectoryInfo root, DirectoryInfo searchFolder, Boolean useCaseInsensitiveFilePaths) in /home/pathoschild/git/SMAPI/src/SMAPI.Toolkit/Framework/ModScanning/ModScanner.cs:line 161
@hyrethq I would if the author's permissions were not to modify it without permission from the author. So unfortunately I should adhere to their request.
Personally, I split the hairs vertically into separate files. Each image is 16x128 pixels. Put them in their own folder under the path Mods/[FS] 8bit's Hairstyles/Hairs/8bit_hair_#/hair.png (Replace the # with the number of which file it is, should be 1 through 7) And used another FS hair mod's hair.json file as a base to create the hair data, which are placed in: Mods/[FS] 8bit's Hairstyles/Hairs/8bit_hair_#/hair.json Then I changed the values a bit: Each "HairSize" should be 16x32 and the head position should be all X/Y zero. Lastly, all starting positions should have X be zero, and in this order the Y axis should be: Front: 0, Right: 32, Left: 64, Back: 96
If the original author doesn't want this post to be here, I am willing to remove it, I don't know if they can remove it themselves, but I'd just thought I'd let it be known in case they can't
16 comments
Edit: I am so dumb I didn't realize the fashion sense version is already uploaded. So yeah I have the same problem too where it's showing and error but not showing up in game too.
Edit 2: so for the error, you can fix it by going into the manifest.json and the nexus 19141 needs to be like this ["Nexus:19141"],
With comma and no spaces. Hopefully this helps.
- 8bit's Hairstyles because parsing its manifest failed:
Newtonsoft.Json.JsonReaderException: Can't parse JSON file at C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods\8bit's Hairstyles\manifest.json. This doesn't seem to be valid JSON.
Technical details: After parsing a value an unexpected character was encountered: ". Path 'UpdateKeys', line 8, position 2.
at StardewModdingAPI.Toolkit.Serialization.JsonHelper.ReadJsonFileIfExists[TModel](String fullPath, TModel& result) in /home/pathoschild/git/SMAPI/src/SMAPI.Toolkit/Serialization/JsonHelper.cs:line 86
at StardewModdingAPI.Toolkit.Framework.ModScanning.ModScanner.ReadFolder(DirectoryInfo root, DirectoryInfo searchFolder, Boolean useCaseInsensitiveFilePaths) in /home/pathoschild/git/SMAPI/src/SMAPI.Toolkit/Framework/ModScanning/ModScanner.cs:line 161
Any clue what this could be, or how I can fix it?
Put them in their own folder under the path Mods/[FS] 8bit's Hairstyles/Hairs/8bit_hair_#/hair.png (Replace the # with the number of which file it is, should be 1 through 7)
And used another FS hair mod's hair.json file as a base to create the hair data, which are placed in:
Mods/[FS] 8bit's Hairstyles/Hairs/8bit_hair_#/hair.json
Then I changed the values a bit:
Each "HairSize" should be 16x32 and the head position should be all X/Y zero. Lastly, all starting positions should have X be zero, and in this order the Y axis should be:
Front: 0, Right: 32, Left: 64, Back: 96
If the original author doesn't want this post to be here, I am willing to remove it, I don't know if they can remove it themselves, but I'd just thought I'd let it be known in case they can't
Sorry for the late reply,I plan to publish the FS version that I updated myself today.
i downloaded the fs and i cant seem to edit it in fashion sense
For those who use FS version, to fix the incorrect manifest, all you need to do is add a comma at the end of line 7.
This should be like this:
"UpdateKeys": [ "Nexus:19141" ],
That is!