Closed vivaria closed 1 year ago
Some updates:
.bin
file match the official fumen .bin
file perfectly. (However, it's somehow still out of sync?)tja2bin.exe
in one of the TakoTako issues:
I found that the song starts off 200ms off
Testing the very first release of tja2fumen
(v0.0.1), it looks like the converted Rokuchounen is out of sync even then.
This is somewhat good news, because we can rule out any of the changes that I made between v0.0.1 and v0.5.1. However, it also means I must have gotten the song working in my manual playtests, even before I created my first release?
I tried completely wiping out all of the hardcoded header byte values that I copied over from tja2bin
:
However, doing so had no effect on the desync.
It looks like my early manual tests for Rokuchounen occurred somewhere around https://github.com/vivaria/tja2fumen/commit/c2739b322c215ac0c725029aa8b8d8e649786c72, since it contains the following hardcoded values:
If I checkout this commit then perform the conversion (by populating the test-data/
folder), it is still out of sync.
Aha!!! I think I've figured it out.
This presents quite the dilemma, since there's not really much I can do in the scope of the tja2fumen
repo to fix this problem.
The audio files in this case are .ogg
files:
But, plenty of other .ogg
fumens I've tested have had their audio converted by TakoTako without any desync issues. So, I don't think it's due to the file format specifically.
Still, looking at TakoTako's OggToACB
function might give us some clues.
Closing this issue because the cause was identified: https://github.com/Fluto/TakoTako/issues/16#issuecomment-1636960820
The Doppelgangers chart plays fine in a TJAPlayer, yet the converted fumen feels like it's maybe half a second off for the entirety of the song.