Modding Help Player Save File Editing - Hair

Discussion in 'Starbound Modding' started by ImCatnip, Apr 30, 2017.

  1. ImCatnip

    ImCatnip Void-Bound Voyager

    Hello,
    So I was making a custom hair for my player, so I changed my save file into a .json file, did my change to my hair directives, and when I went back to make the .json back to a .player file, it gave me a BadLexicalCast. Any help? Capture.PNG
     
  2. ImCatnip

    ImCatnip Void-Bound Voyager

    shameless bump
     
  3. Cyel

    Cyel Scruffy Nerf-Herder

    66:29 means it broke at the 66th line, on the 29th character; but it's probably in the .player-formated file soyou can't really exploit it. You've probably made a syntax error while editing your .json file tho, since it's probably the only thing you've changed; did you tried to throw it in https://jsonlint.com/ ? Are you using a "correct" text editor? If it wasn't encoding it's stuff in UTF-8 it might also be the source of your problems and you won't even be able to see it - try using notepad++ or a similar text editor
     
  4. ImCatnip

    ImCatnip Void-Bound Voyager

    I just put it through https://jsonlint.com/ and it said it was completely valid, and I am already using notepad++.
     
  5. Cyel

    Cyel Scruffy Nerf-Herder

    Then I have no other ideas on top of my head, maybe post your player file's json?
     
  6. Nexus Of Chaos

    Nexus Of Chaos Parsec Taste Tester

    encoding hasn't been mentioned. hav u specifically tried making sure its UTF-8 before, during, and after the edit?
     

Share This Page