Closed TomasMax22 closed 1 year ago
I took some time to look into this. I found that the song starts off 200ms off, and then of course as you witnessed at the end, the BPM change kinda just doesn't happen and then the whole song is off by several beats. This appears to be a problem specifically with tja2bin which the project leverages to convert them into fumen format, and still occurred even when I converted directly instead of through tjaconvert. Also note that using a tjaplayer it's perfect all the way through.. My worry with this is that it's also potentially messing with a lot of other songs.
Though the only way to really fix is going to be reverse engineering how the fumen format is built. And it seems the internet is very scant with information regarding it. The most I know is that they're in gzip format, and it seems like each measure is padded by a block of FF bytes. Though according to other projects like Okku which is used for converting to fumen for 3DS, the format has a few limitations.
Hi there! This issue is actually 2 issues in one:
.ogg
file.tja2bin.exe
converter has. Please try it out! https://github.com/vivaria/tja2fumenSo, we're halfway there, and I'm hoping to work together with @Fluto to fix the first issue, too. 😄
I've discovered the cause of the full-song desync. tl;dr:
fumenOffsetPos
field in the data.json
metadata file.fumenOffsetPos
to 0 fixes the desync issues entirely.Here is a more in-depth write-up:
Issues addressed in f728d694b38da732d06a687b14ebbe676a6ff435. This fix will be available in the next update. Thank you everyone for their feedback! And thank you @vivaria for working on a fix.
For anyone using an older version of TakoTako (v3.2.0 and below), I wrote a quick little script to fix the values of the fumenOffsetPos
(see https://github.com/Fluto/TakoTako/issues/16#issuecomment-1636960820).
This way, all of your converted TJAs will be in sync, even when using an older version of TakoTako: https://gist.github.com/vivaria/663ac4ffaf37345f0abd55e1cc8dfe32
Im using the latest version in mono While playing rokuchounen to ichiya monogatari almost in the end the song slows a little bit but the BPM does not and it gets desynchronizated till the end of the song Rokuchounen to Ichiya Monogatari.zip .