Jump to content

Open Community  ·  1073 members

Stardew Valley

Help with writing a manifest.json


lukkamy

Recommended Posts

So I decided to try making a mod to make the wizard a woman (for content patcher specifically). I edited the json files just fine but I can't seem to make my manifest work. Here is what SMAPI said:

[sMAPI] - [CP] Female Wizard because parsing its manifest failed:
Newtonsoft.Json.JsonReaderException: Can't parse JSON file at C:\Steam\steamapps\common\Stardew Valley\Mods\[CP] Female Wizard\manifest.json.
Technical details: Error converting value "Name" to type 'StardewModdingAPI.Toolkit.Serialization.Models.Manifest'. Path '', line 1, position 6.
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
My manifest looks like this:
{
"Name": "Female Wizard",
"Author": "lukkamy",
"Version": "1.0.0",
"Description": "Changes the wizard's gender in dialogue.",
"UniqueID": "lukkamy.FemaleWizard",
"MinimumApiVersion": "2.11.0",
"ContentPackFor": {
"UniqueID": "Pathoschild.ContentPatcher",
"MinimumVersion": "1.6.0"
}
}
I apologize if this is a stupid question, this is my first attempt at modding.
Link to comment
Share on other sites

hey there.. take out the "MinimumAPIVersion" lines.. see how it works:

{
  "Name": "Witch Test Mod",
  "Author": "MissCoriel",
  "Description": "Testing AGAIN!! -=Created By MissCoriel's NPC Creator=-",
  "Version": "0.0.1",
  "UniqueID": "misscorie.witchtest",
  "ContentPackFor": {
    "UniqueID": "Pathoschild.ContentPatcher"
  },
  "UpdateKeys": [
    "Nexus: "
  ]
}
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...