Modding Help This Modinfo issue is driving me CRAZY!

Discussion in 'Starbound Modding' started by BentLent, Dec 24, 2013.

  1. BentLent

    BentLent Subatomic Cosmonaut

    Alright, let's make this as quick as possible, it crashes directly at start and displays this:
    Code:
    JsonParsingException: Error parsing json: bad string, should be '"' at 5:1
    Here is my modinfo:
    Code:
    {
      "name" : "TrUniverseSpecies",
      "version" : "Beta v. Angry Koala",
      "path" : "."
    }
    WHAT STRING ON LINE 5!?!?!? THERE IS NONE! No matter how many times I edit and save the modinfo file, IT... WON'T... DIE!!!

    BTW, it doesn't display anything in the log, it just doesn't log anything from the session that contains this mod.
     
  2. BitHorizon

    BitHorizon Ketchup Robot

    As of Angry Koala, I think that mods need a metadata section. Also, you missed the "dependencies" section. Here's what my Hat Gate's mod info looks like:

    Code:
    {
      "name" : "hatwarper",
      "version" : "Beta v. Angry Koala",
      "path" : ".",
      "dependencies" : [ ],
      "metadata": {
        "author" : "XMatrix2X",
        "description" : "Enjoy breaking time and space to bring yourself hats."
      }
    }
     
  3. BentLent

    BentLent Subatomic Cosmonaut

    I have another mod without a metadata section, and it works, but I will try.
     
  4. BitHorizon

    BitHorizon Ketchup Robot

    Then it's almost definitely the Dependencies section. Mods NEED that, I believe.
     
  5. BentLent

    BentLent Subatomic Cosmonaut

    My other mod also doesn't have that... The metadata fix didn't work, so let me try the dependency fix.
     
  6. BentLent

    BentLent Subatomic Cosmonaut

    Nope, the dependency thing didn't work, still giving me an error at 5:1 but the code is now:
    Code:
    {
      "name" : "TrUniverseSpecies",
      "version" : "Beta v. Angry Koala",
      "path" : ".",
      "dependencies" : [],
      "metadata": {
        "author" : "BentLent",
        "description" : "The Species Package of TrUniverse"
      }
    }
     
  7. FlamesOfAzure

    FlamesOfAzure Scruffy Nerf-Herder

    Are you certain it's a problem with the modinfo file itself and not something else within the mod?
     
  8. BentLent

    BentLent Subatomic Cosmonaut

    Oh my garsh, it was another mod causing this, it turns out that as soon as I fixed it for this mod, the issue started with another. Chucklefish should seriously consider making asset based errors tell you what file caused it without having to check the log.
     
    RvLesh likes this.
  9. FlamesOfAzure

    FlamesOfAzure Scruffy Nerf-Herder

    Well good to hear you got them working.

    I've been having to manually fix a lot of mods that were updated as well. It's tiring :(.
     

Share This Page