My thread about the crash handler isn't exactly popular right now, so I thought I'd move on to another question.
This question is a bit self explanatory. I want to make the contents of a variable changeable by a text file so the game reads it on startup, and depending on what the text file says, the game does different things. I want to be able to manipulate such a thing to work with my game's soundtrack, since it has various styles (NES, SNES, Organya, GXSCC, and fakebit, but I call fakebit Pseudo-Bit). Say for example, OST.txt said NES, then the game would run Track A, which was made in FamiTracker. If OST.txt said Organya, it would run Track C, which was made in OrgMaker. You get the gist, right? Surely this kind of thing is easy, or I'm just stupid. I'm no programmer so I have no idea lol.
The reason why I'm doing this is to completely eliminate slowdown of game progression, as in asking "hey what style of music do you want to vibe to while you play", and just load it immediately by text.
Line 1: NES
Line 2: // Options: NES, SNES, ORG, GXSCC, PsB
This question is a bit self explanatory. I want to make the contents of a variable changeable by a text file so the game reads it on startup, and depending on what the text file says, the game does different things. I want to be able to manipulate such a thing to work with my game's soundtrack, since it has various styles (NES, SNES, Organya, GXSCC, and fakebit, but I call fakebit Pseudo-Bit). Say for example, OST.txt said NES, then the game would run Track A, which was made in FamiTracker. If OST.txt said Organya, it would run Track C, which was made in OrgMaker. You get the gist, right? Surely this kind of thing is easy, or I'm just stupid. I'm no programmer so I have no idea lol.
The reason why I'm doing this is to completely eliminate slowdown of game progression, as in asking "hey what style of music do you want to vibe to while you play", and just load it immediately by text.
Line 1: NES
Line 2: // Options: NES, SNES, ORG, GXSCC, PsB
I don't know if it would give you the ability to change soundtrack in game since obviously I am not using it, but could be worth looking into. Sorry I don't have a link.