Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Custom songs crashing when hovered over in freeplay

A topic by 8Bit created Aug 05, 2021 Views: 2,362 Replies: 74
Viewing posts 1 to 7
(1 edit)

Hey! I’ve been working on a mod for a few weeks now, but whenever I HOVER OVER a custom song in Freeplay, the game crashes after a few seconds.

Since it doesn’t give me an error when crashing, I don’t know what I’m doing wrong.

Can you guys (who hopefully know what they’re doing) help me out with this?

If you need a link to the freeplay JSONC file, I will happily provide it!

Same thing happens to me dude you have to add a json file with the custom song and it has to be ogg and if it still doesn't work just do it in the assets folder under images and custom_songs.  

If it continues I recommend using the old version bc its more flexible and easier to use.

(1 edit)

so does the jsonc look like this 

[

  {

    "name": "Base Game",

    "songs": [

      // we use tjson so we can do comments and do some incorrect things

      // the reason we use tjson is because json is hard

      // The category screen won't show up unless there are more than 1 categories

      {"name":"Tutorial",

      "character":"gf",

      "week": 0},

      {

        "name": "Bopeebo",

        "character": "dad",

        "week": 1

      },

      {

        "name": "Fresh",

        "character": "dad",

        "week": 1

      },

      {

        "name": "Dadbattle",

        "character": "dad",

        "week": 1

      },

      {

        "name": "Spookeez",

        "character": "spooky",

        "week": 2

      },

      {

        "name": "South",

        "character": "spooky",

        "week": 2

      },

      {

        "name": "Monster",

        "character": "monster",

        "week": 2

      },

      {

        "name": "Pico",

        "character": "pico",

        "week": 3

      },

      {

        "name": "Philly",

        "character": "pico",

        "week": 3

      },{

        "name": "Blammed",

        "character": "pico",

        "week": 3

      },

      {

        "name": "Satin-Panties",

        "character": "mom",

        "week": 4

      },

      {

        "name": "High",

        "character": "mom",

        "week": 4

      },{

        "name": "Milf",

        "character": "mom",

        "week": 4

      },

      {

        "name": "Cocoa",

        "character": "parents-christmas",

        "week": 5

      },

      {

        "name": "Eggnog",

        "character": "parents-christmas",

        "week": 5

      },

      {

        "name": "Winter-Horrorland",

        "character": "monster-christmas",

        "week": 5

      },

      {

        "name": "Senpai",

        "character": "senpai",

        "week": 6

      },

      {

        "name": "Roses",

        "character": "senpai-angry",

        "week": 6

      },

      {

        "name": "Thorns",

        "character": "spirit",

        "week": 6

      },

      {

        "name": "Ugh",

        "character": "tankman",

        "week": 7

      },

      {

        "name": "Guns",

        "character": "tankman",

        "week": 7

      },

      {

        "name": "Stress",

        "character": "tankman",

        "week": 7

      },

      {

        "name": "your custom song",

        "character": "you char",

        "week": 8,

      }

    ]

  },

  // trailing commas don't matter with tjson

  // visual studio code is just pissy

  /*

  uncomment this for an example

   {

    "name": "Custom 1",

    "songs": [

    {

      "name": "Bopeebo",

      "character": "dad",

      "week": 1

    },

    {

      "name": "Fresh",

      "character": "dad",

        "week" : 1

   ]

   },

  */

]


 so look this is the problem you doing this

      },

        "name": "your custom song",

        "character": "you char",

        "week": 8,

when it meant to be like this

     },

      {

        "name": "your custom song",

        "character": "you char",

        "week": 8,

hope this helped you

not only do i not see a difference, but my jsonc was already like that to begin with and the game now crashes on startup without an error

hmmmmm did you put every thing cuz if 1 single file is missing the game will crash

pretty sure i did, but the game doesn’t show an error so i don’t know what exactly to do in this situation

(1 edit)

you might have named the oggs wrong its like this your-custom-song_Inst 

you-custom-song_Voices if that doesnt work i dont know how to help you sorry

(2 edits)

i decided to upload all the files i added to google drive

maybe it could help if you could look at the files and see what’s wrong (if you can)

ok ill look

ok so some news it might take me 1 to 2 days for me to figure out why its crashing when it opens (note i looked in the files and you have a pretty good mod going ill tell you when i fix it)

hey 8 bit jake i fixed it (that was a lot faster then i thought) so here is a full game folder with the exe all you have to do is finish your mod (if there is anything witch is not done) and its done  heres the link https://www.mediafire.com/file/jiegym3lout3agb/i+fixed+it+for+ya.zip/file

(2 edits)

yoooooo, thanks! i’ve put you in the mod’s credits, if you want to be removed for whatever reason let me know.

also, what was wrong with the mod in the first place?

edit: i want to remove everything except for ugh and the mod’s songs (and bf, gf, and 8bit), however whenever i edit the freeplay menu the game crashes AGAIN. i’m doing this to save file space and so the mod doesn’t get taken down when i upload it to gamebanana. can you do this for me and provide a newer download link with the stuff removed?

tl;dr: remove every song and character that isn’t involved in the mod (and keep ugh, changing the opponent and stage to “8bit”)

edit 2: oh and change 8bit’s hover color to #763800

You might've forgotten to add the Custom Character who owns the icon associated with the song to "custom_chars.jsonc".

My custom character’s in the file as far as I’m concerned.

You have to restart to game, then it'll work properly

Maybe don't use dashes/spaces. 

When I named my custom song "Chilledwindows" with no spaces, it worked. But when I named the other custom song "Temptation-Before-The-Dawn" (t+pazolite reference) which has dashes (which corespond to spaces ingame) the game either crashes or that weird song glitch happens where the chart just keeps looping every chart beat without the actual song ever playing.