1
0
mirror of synced 2024-11-15 09:47:34 +01:00
tja2fumen/testing/data
Viv 9ce1d76ca3
Fix branching behavior for #BRANCHSTART r songs (#46)
This PR updates the behavior for songs with drumroll branching
conditions (`#BRANCHSTART r`)

The changes include:

- Correctly setting the `branchInfo` bytes for branching conditions that
occur _after_ the first condition.
- Correctly setting the `branch_points` bytes in the header when there
are only drumroll conditions.
- Correctly setting the `branch_ratio` bytes in the header when total
notes differ between branches.
- Correctly handling #SECTION commands for a number of different corner
cases:
    1. #SECTION occurs on its own without a #BRANCHSTART
    2. #BRANCHSTART occurs with a #SECTION command
3. #BRANCHSTART occurs without a #SECTION command (and is first branch
condition)
4. #BRANCHSTART occurs without a #SECTION command (and is NOT first
branch condition)


Note: I've added `shoto9` to the test suite, but the TJA file is
structured in a way that the number of measures doesn't match the number
of fumen measures. The TJA needs to be reworked, but that's okay,
because its purpose was just to check that the branching bytes were
correct.

Fixes #40.
2023-07-19 16:47:08 -04:00
..
butou5.tja Fix inaccurate method for computing the fumenOffset values for the initial measures (#28) 2023-07-06 23:38:10 -04:00
butou5.zip Add remaining support for branches (#BRANCHSTART r) (#21) 2023-07-02 00:00:36 -04:00
clsca.tja Fix P2/2P bug and add clsca to the test suite 2023-07-08 18:44:37 -04:00
clsca.zip Fix P2/2P bug and add clsca to the test suite 2023-07-08 18:44:37 -04:00
genpe.tja Fix crash for #SECTION commands that occur before the first #BRANCHSTART (#36) 2023-07-15 11:58:33 -04:00
genpe.zip Fix crash for #SECTION commands that occur before the first #BRANCHSTART (#36) 2023-07-15 11:58:33 -04:00
gimcho.tja Add gimcho.tja to test suite 2023-07-10 00:08:59 -04:00
gimcho.zip Add gimcho.tja to test suite 2023-07-10 00:08:59 -04:00
hol6po.tja Add partial support for branches (#BRANCHSTART P, no R, no #SECTION) (#20) 2023-07-01 17:41:23 -04:00
hol6po.zip Add partial support for branches (#BRANCHSTART P, no R, no #SECTION) (#20) 2023-07-01 17:41:23 -04:00
ia6cho.tja testing/: Tighten up tolerance for fumenOffset/pos 2023-07-08 18:44:37 -04:00
ia6cho.zip Fix errors in ia6cho charts 2023-06-29 19:47:25 -04:00
imcanz.tja Add support for #BRANCHSTART p,999,999 and #SECTION commands via imcanz.tja (#30) 2023-07-09 19:56:57 -04:00
imcanz.zip Add support for #BRANCHSTART p,999,999 and #SECTION commands via imcanz.tja (#30) 2023-07-09 19:56:57 -04:00
linda.tja testing/: Tighten up tolerance for fumenOffset/pos 2023-07-08 18:44:37 -04:00
linda.zip Add support for #DELAY commands (#24) 2023-07-05 23:53:48 -04:00
mikdp.tja Add comments to TJA test files 2023-06-29 20:51:13 -04:00
mikdp.zip Add first tja-fumen pair (mikdp) to test 2023-06-25 13:40:56 -04:00
senpac.tja Add support for multiplayer charts (STYLE:{Single,Double}, # START {P1,P2}) (#23) 2023-07-05 16:03:41 -04:00
senpac.zip Add support for multiplayer charts (STYLE:{Single,Double}, # START {P1,P2}) (#23) 2023-07-05 16:03:41 -04:00
shoto9.tja Fix branching behavior for #BRANCHSTART r songs (#46) 2023-07-19 16:47:08 -04:00
shoto9.zip Fix branching behavior for #BRANCHSTART r songs (#46) 2023-07-19 16:47:08 -04:00