vivaria / tja2fumen

Mod tool to convert TJA chart files (.tja) into .bin files compatible with official games
https://pypi.org/project/tja2fumen/
MIT License
14 stars 1 forks source link

Ensure that header branch bytes are correctly set for all branching cases #50

Closed vivaria closed 1 year ago

vivaria commented 1 year ago

Some backstory:

However, I missed a corner case in #46 -- songs with #BRANCHSTART p,0,0 should still be considered "drumroll only". As well, I neglected to consider the "percentage only" songs. So, I fixed the header bytes there, too.

Then, to confirm that my changes do in fact produce correct headers, I enabled the check for branch_points for (most) of the songs in the test suite. The tests pass. :)