Modding Help modding help! It's my /player.config

Discussion in 'Starbound Modding' started by DarkraiDUD3, Jan 26, 2014.

  1. DarkraiDUD3

    DarkraiDUD3 Subatomic Cosmonaut

    Okay, I have a problem and I don't know what it is. my starbound.log reads:
    Error: Could not load /player.config asset, attempting to use default.
    AssetException: Could not read variant asset /player.config
    Which puts me to my /player.config folder. It reads:
    {
    "__merge" : [],
    "defaultBlueprints" : {
    "tier1" : [ { "item" : "cheatingtable" },
    { "item" : "neptunitepickaxe" },
    { "item" : "headphones },
    { "item" : "fez" },
    { "item" : "villaincollar" },
    { "item" : "partyhat" },
    { "item" : "incognito" },
    { "item" : "peakedcap" },
    { "item" : "numberone" },
    { "item" : "unicornhead" },
    { "item" : "fuelbarrel" },
    { "item" : "arbitratorchest" },
    { "item" : "arbitratorpants" },
    { "item" : "arbitratorhead" },
    { "item" : "fusionitechest" },
    { "item" : "fusionitepants" },
    { "item" : "fusionitehead" },
    "tier1" : [ { "item" : "neptunitechest" },
    "tier1" : [ { "item" : "neptunitepants" },
    "tier1" : [ { "item" : "neptunitehead" },
    }
    }
    I don't know what to do about this and yeah. I added the , after the arguments
     
  2. DarkraiDUD3

    DarkraiDUD3 Subatomic Cosmonaut

    Wait. Lemme check the bottom three parts. I'll see if that works
     
  3. DarkraiDUD3

    DarkraiDUD3 Subatomic Cosmonaut

    Here's my actual fixed player.config and it still doesn't work
    {
    "__merge" : [],
    "defaultBlueprints" : {
    "tier1" : [
    { "item" : "cheatingtable" },
    { "item" : "neptunitepickaxe" },
    { "item" : "headphones },
    { "item" : "fez" },
    { "item" : "villaincollar" },
    { "item" : "partyhat" },
    { "item" : "incognito" },
    { "item" : "peakedcap" },
    { "item" : "numberone" },
    { "item" : "unicornhead" },
    { "item" : "fuelbarrel" },
    { "item" : "arbitratorchest" },
    { "item" : "arbitratorpants" },
    { "item" : "arbitratorhead" },
    { "item" : "fusionitechest" },
    { "item" : "fusionitepants" },
    { "item" : "fusionitehead" },
    { "item" : "neptunitechest" },
    { "item" : "neptunitepants" },
    { "item" : "neptunitehead" },
    }
    }
     
  4. AnarchistTheory

    AnarchistTheory Master Chief

    I too have been having a problems that I believe to be entirely based around the player.config merge file. I'd be glad to hear if someone can solve this and good luck to OP.
     
  5. HalcyonXIII

    HalcyonXIII Big Damn Hero

    Remove the comma after the last item in the list.
    Code:
    ...
    { "item" : "fusionitehead" },
    { "item" : "neptunitechest" },
    { "item" : "neptunitepants" },
    { "item" : "neptunitehead" }, <this one
    }
    }
    
     
  6. Damiano de' Caretti

    Damiano de' Caretti Cosmic Narwhal

    I need help,too...I released my modification to search help...you can go to my profile,download my modification and check by yourself or suggest me a mod making program,but please,help me!
     
  7. DarkraiDUD3

    DarkraiDUD3 Subatomic Cosmonaut

    Okay, there's still a problem. It told me that it needs a } or a "
    caused by: JsonParsingException: Cannot parse json file: /player.config
    caused by: JsonParsingException: Error parsing json: bad object, should be '}' or ',' at 8:4






    {
    "__merge" : [],
    "defaultBlueprints" : {
    "tier1" : [
    { "item" : "cheatingtable" },
    { "item" : "neptunitepickaxe" },
    { "item" : "headphones },
    { "item" : "fez" },
    { "item" : "villaincollar" },
    { "item" : "partyhat" },
    { "item" : "incognito" },
    { "item" : "peakedcap" },
    { "item" : "numberone" },
    { "item" : "unicornhead" },
    { "item" : "fuelbarrel" },
    { "item" : "arbitratorchest" },
    { "item" : "arbitratorpants" },
    { "item" : "arbitratorhead" },
    { "item" : "fusionitechest" },
    { "item" : "fusionitepants" },
    { "item" : "fusionitehead" },
    { "item" : "neptunitechest" },
    { "item" : "neptunitepants" },
    { "item" : "neptunitehead" }
    }
    }
     
  8. DarkraiDUD3

    DarkraiDUD3 Subatomic Cosmonaut

    Okay, there's no cheating table for my mod. So I changed it. Still not working. :(
    The Error says
    AssetException: Could not read variant asset /player.config
    caused by: JsonParsingException: Cannot parse json file: /player.config
    caused by: JsonParsingException: Error parsing json: bad object, should be '}' or ',' at 9:4

    My player.config says:
    {
    "__merge" : [],
    "defaultBlueprints" : {
    "tier1" : [
    { "item" : "viviantitebar" },
    { "item" : "viviantiteworkbench" },
    { "item" : "neptunitepickaxe" },
    { "item" : "headphones },
    { "item" : "fez" },
    { "item" : "villaincollar" },
    { "item" : "partyhat" },
    { "item" : "incognito" },
    { "item" : "peakedcap" },
    { "item" : "numberone" },
    { "item" : "unicornhead" },
    { "item" : "fuelbarrel" },
    { "item" : "arbitratorchest" },
    { "item" : "arbitratorpants" },
    { "item" : "arbitratorhead" },
    { "item" : "fusionitechest" },
    { "item" : "fusionitepants" },
    { "item" : "fusionitehead" },
    { "item" : "neptunitechest" },
    { "item" : "neptunitepants" },
    { "item" : "neptunitehead" },
    }
    }
    I don't know if I am supposed to put in all the items right here so that's what I did, The items I made are:
    Neptunite Helmet Armor
    Neptunite Chestplate
    Neptunite Pants
    Fusionite Helmet
    Fusionite Chestplate
    Fusionite Pants
    Arbitrator Helmet
    Arbitrator Chestplate
    Arbitrator Pants
    Viviantite Workbench
    Viviantite Bar
    Neptunite Pickaxe
    Fuel Barrel
    Fez
    Headphones
    Incognito Glasses
    Number One hat
    Party hat
    Peaked Cap
    Unicorn head
    Villain collar.

    I don't know if I need to merge just armor and workbenches but that's what I did.
     
  9. HalcyonXIII

    HalcyonXIII Big Damn Hero

    I overlooked a missing bracket before, and also a missing double-quote after headphones, sorry! Based on your last post, your 'player.config' should look like this:
    Code:
    {
      "__merge" : [],
      "defaultBlueprints" : {
        "tier1" : [
          { "item" : "viviantitebar" },
          { "item" : "viviantiteworkbench" },
          { "item" : "neptunitepickaxe" },
          { "item" : "headphones" },
          { "item" : "fez" },
          { "item" : "villaincollar" },
          { "item" : "partyhat" },
          { "item" : "incognito" },
          { "item" : "peakedcap" },
          { "item" : "numberone" },
          { "item" : "unicornhead" },
          { "item" : "fuelbarrel" },
          { "item" : "arbitratorchest" },
          { "item" : "arbitratorpants" },
          { "item" : "arbitratorhead" },
          { "item" : "fusionitechest" },
          { "item" : "fusionitepants" },
          { "item" : "fusionitehead" },
          { "item" : "neptunitechest" },
          { "item" : "neptunitepants" },
          { "item" : "neptunitehead" }
        ]
      }
    }
    
     
  10. DarkraiDUD3

    DarkraiDUD3 Subatomic Cosmonaut

    Thank you! I'll make a new folder that says, Special thanks to: HalcyonXIII. :D
     
  11. DarkraiDUD3

    DarkraiDUD3 Subatomic Cosmonaut

    Now that it is working. The items won't show up. I'll just put up a download for you so you can see through my eyes and fix what's the dealio. The link is: http://www.mediafire.com/download/0jfjur42j5jc42j/Neptunite+.zip.zip All you have to do is Fix it. I'm very bad at mods. Hopefully someone out there will do it. :) Kudo's to the person who does it!
     
  12. HalcyonXIII

    HalcyonXIII Big Damn Hero

    1. In 'viviantiteworkbench.object', the "inventoryIcon" is set to "viviantiteicon.png" which does not exist. I guess this is meant to be "viviantiteworkbenchicon.png".
    2. In 'viviantiteworkbench.frames', the "dimensions" is set to [1]. This should be a list of 2 integers, representing the frameGrid's x and y dimensions. If the 'viviantiteworkbench.png' image has just 1 animation frame and no colour variants then the "dimensions" should be [1, 1].
    3. Also in 'viviantiteworkbench.frames', the names for the other colour variant frames were set even though there aren't any in the image, so they should be removed.
    4. In 'fez.recipe', you had missed a comma at the end of line 3.
    5. In 'viviantiteworkbench.recipe', you had missed a comma at the end of line 3, and also the closing curly brace at the end of line 4. Finally, "count" was not enclosed in quotes on both lines 3 and 4.
    6. In 'viviantitebar.recipe', There was an erroneous comma at the end of line 4. Also, the second input was "coal" instead of "coalore".

    Both the viviantiteworkbench and viviantitebar items apper in the crafting menu properly now, but I could not test further because the viviantitebar require violumbar to craft, which is not present in this mod.
     

    Attached Files:

  13. DarkraiDUD3

    DarkraiDUD3 Subatomic Cosmonaut

    I am so thankful for you Halcyon! You are the reason I want to keep modding!
     

Share This Page