I am trying to add more famitracker effects to famitone. But I'm stuck at stage 1 of my plan...changing the source code of 'text2data' so that it....
-doesn't exit on seeing an unsupported effect (simple enough)
-marks the notes in the output with something where the unsupported effect is, preferably the actual effect name (which I can then replace later with a tag to watch out for...lets say $FF), or an actual $FF inserted
I stared at the source code for 2 hours, and tried a few things, but wasn't successful.
I think this prints the data to the file (line 1989)...
where tptn is a copy of packedPatterns.data (1966)...
which had data from song_original...or song_split?, which is a struct with a large array at the end, where the data is loaded...in the parse_song() function
specifically in the switch case at 1262...
default: (this is for unsupported effects)
But I can't figure out what to insert here to mark the data at this point.
And, mark it with anything, really. Any ideas?
-- blog/tutorial on programming for the NES