Hi, not sure if this is the right subforum to post this on.
I've been working on a custom noteloader to go with the guitar mode that takes custom Guitar Hero .chart files for about two weeks now. It still isn't working completely right and I'd like to know what I'm doing wrong, what absolutely must be added to the songs / steps to get them to work, and if there's any special way that the information needs to be loaded.
The loader is structured similarly to the KSF and BMS loaders, so there is a CHARTLoader with GetApplicableFiles, LoadFromDir, and LoadNoteDataFromSimfile. Because .chart files are formatted differently than other file types, I needed to make my own parser inside the chart loader.
As it stands, the CHARTLoader is able to parse .chart files into timingData (BPM changes, time signature changes, section names, offset) and noteData, as well as song information like name, artist, and music file. However, when I load the song in game, in practice mode for example, all the timing information comes in just fine, but no notes show up. Additionally, when I quit practice mode, Stepmania crashes with a segmentation fault.
Here's an example of how a .chart file looks
Here's the crashlog from trying to exit practice mode
Here's a pastebin of my NotesLoaderCHART.cpp
Please tell me what I'm doing wrong, thanks.
I've been working on a custom noteloader to go with the guitar mode that takes custom Guitar Hero .chart files for about two weeks now. It still isn't working completely right and I'd like to know what I'm doing wrong, what absolutely must be added to the songs / steps to get them to work, and if there's any special way that the information needs to be loaded.
The loader is structured similarly to the KSF and BMS loaders, so there is a CHARTLoader with GetApplicableFiles, LoadFromDir, and LoadNoteDataFromSimfile. Because .chart files are formatted differently than other file types, I needed to make my own parser inside the chart loader.
As it stands, the CHARTLoader is able to parse .chart files into timingData (BPM changes, time signature changes, section names, offset) and noteData, as well as song information like name, artist, and music file. However, when I load the song in game, in practice mode for example, all the timing information comes in just fine, but no notes show up. Additionally, when I quit practice mode, Stepmania crashes with a segmentation fault.
Here's an example of how a .chart file looks
Here's the crashlog from trying to exit practice mode
Here's a pastebin of my NotesLoaderCHART.cpp
Please tell me what I'm doing wrong, thanks.