1
0
mirror of synced 2024-11-27 22:40:49 +01:00
tja2fumen/testing/data/linda.tja
Viv 9b6f05b420
Fix parsing of BALLOON: so that values are correctly read for all 3 branches (#80)
I was making a bad assumption:

1. Songs with branches have the same number of balloons.
2. Each balloon has the same number of hits across branches.

Because I was making these assumptions, I thought I could just repeat
the `BALLOON:` field for each branch. **But this is wrong!!** Branches
can have different numbers of balloons, and they can have different
number of hits in their balloons. So, we need to **NOT** necessarily
repeat `BALLOON:`, and instead use the written value of `BALLOON:`
directly. This way we can get the different values for each branch.

This fixes the parsing of Emma's Ura (and probably other songs). Also,
this revealed a bug in my parsing of Roppon no Bara to Sai no Uta, so I
needed to make sure we account for "duplicated" balloons too, and repeat
the values _only when necessary_.
2024-10-26 12:34:03 -04:00

931 lines
11 KiB
Plaintext

//リンダリンダ
BPM:62
OFFSET:-4.005
COURSE:Oni
LEVEL:5
STYLE:Double
BALLOON:32
SCOREINIT:680
SCOREDIFF:187
#START P1
0000100010001100,
#BPMCHANGE 61.6047
0000112200000000,
#BPMCHANGE 63.3481
00112211,
#BPMCHANGE 62.3355
1000002200000000,
#BPMCHANGE 61.3590
0000101100002200,
#BPMCHANGE 60.4130
0000112200000000,
#BPMCHANGE 63.2111
0000101011200001,
#SCROLL 1.07
#BPMCHANGE 59.1014
11220000,
#GOGOSTART
#SCROLL 1
#BPMCHANGE 193.8642
3333,
#BPMCHANGE 201.6868
10201120,
3112,
#BPMCHANGE 196.8317
11101110,
#BPMCHANGE 197.7314
3333,
10201120,
3112,
#BPMCHANGE 198.4705
1010100010101111,
#GOGOEND
#BPMCHANGE 197.2646
1000200010102010,
#BPMCHANGE 198.0002
10221120,
10221020,
#BPMCHANGE 195.8084
10221120,
#BPMCHANGE 197.9022
1000200010102010,
10221120,
#BPMCHANGE 199.0340
10221020,
#BPMCHANGE 196.7839
1010100010001111,
#BPMCHANGE 197.9022
1000200010102010,
10221120,
10221020,
1000202010102000,
1000200010102010,
#BPMCHANGE 198.5072
10221120,
#BPMCHANGE 200.2918
10221020,
#BPMCHANGE 195.5474
11111111,
#GOGOSTART
#BPMCHANGE 198.4167
3333,
10201120,
3112,
#BPMCHANGE 198.0002
11101110,
#BPMCHANGE 199.1761
3333,
#BPMCHANGE 197.8324
10201120,
#BPMCHANGE 199.3150
1112,
#BPMCHANGE 197.5406
11,
#GOGOEND
#BPMCHANGE 195.2769
9,
#BPMCHANGE 198.3065
,
08,
,
#BPMCHANGE 198.0002
10112211,
#BPMCHANGE 199.9433
10221122,
#BPMCHANGE 197.3613
10112211,
1000200010101111,
10221020,
#BPMCHANGE 196.1130
10221120,
#BPMCHANGE 198.4777
1000200010102010,
10221120,
10221020,
10221120,
#BPMCHANGE 198.0002
1000200010102010,
#BPMCHANGE 196.4662
1000222010002220,
#BPMCHANGE 197.6467
10221020,
10221120,
1000200010102010,
10221120,
#BPMCHANGE 200.1027
10221020,
#BPMCHANGE 194.7021
10221120,
#BPMCHANGE 198.2134
3333,
#BPMCHANGE 196.0073
1110111011111110,
#GOGOSTART
#BPMCHANGE 201.0676
3333,
10201120,
#BPMCHANGE 198.0002
3112,
10201120,
3333,
10201120,
3111,
1111,
#GOGOEND
#BPMCHANGE 196.1130
6,
#BPMCHANGE 198.9588
0008,
#BPMCHANGE 196.0221
10201120,
#BPMCHANGE 199.4502
11111111,
#BPMCHANGE 170
#SCROLL 1.17
#DELAY 0.0707
3,
#END
#START P2
0000100010001100,
#BPMCHANGE 61.6047
0000112200000000,
#BPMCHANGE 63.3481
00112211,
#BPMCHANGE 62.3355
1000002200000000,
#BPMCHANGE 61.3590
0000101100002200,
#BPMCHANGE 60.4130
0000112200000000,
#BPMCHANGE 63.2111
0000101011200001,
#SCROLL 1.07
#BPMCHANGE 59.1014
11220000,
#GOGOSTART
#SCROLL 1
#BPMCHANGE 193.8642
3333,
#BPMCHANGE 201.6868
10201120,
3112,
#BPMCHANGE 196.8317
11101110,
#BPMCHANGE 197.7314
3333,
10201120,
3112,
#BPMCHANGE 198.4705
1010100010101111,
#GOGOEND
#BPMCHANGE 197.2646
10221020,
#BPMCHANGE 198.0002
10221120,
10201121,
#BPMCHANGE 195.8084
10221120,
#BPMCHANGE 197.9022
10221020,
10221120,
#BPMCHANGE 199.0340
10201121,
#BPMCHANGE 196.7839
1010100010001111,
#BPMCHANGE 197.9022
10221020,
10221120,
10201121,
10221120,
10221020,
#BPMCHANGE 198.5072
10221120,
#BPMCHANGE 200.2918
10221020,
#BPMCHANGE 195.5474
11111111,
#GOGOSTART
#BPMCHANGE 198.4167
3333,
10201120,
3112,
#BPMCHANGE 198.0002
11101110,
#BPMCHANGE 199.1761
3333,
#BPMCHANGE 197.8324
10201120,
#BPMCHANGE 199.3150
1112,
#BPMCHANGE 197.5406
11,
#GOGOEND
#BPMCHANGE 195.2769
9,
#BPMCHANGE 198.3065
,
08,
,
#BPMCHANGE 198.0002
10112211,
#BPMCHANGE 199.9433
10221122,
#BPMCHANGE 197.3613
10112211,
1000200010101111,
10201121,
#BPMCHANGE 196.1130
10221120,
#BPMCHANGE 198.4777
10221020,
10221120,
10201121,
10221120,
#BPMCHANGE 198.0002
10221020,
#BPMCHANGE 196.4662
1000222010002220,
#BPMCHANGE 197.6467
10201121,
10221120,
10221020,
10221120,
#BPMCHANGE 200.1027
10201121,
#BPMCHANGE 194.7021
10221120,
#BPMCHANGE 198.2134
3333,
#BPMCHANGE 196.0073
1110111011111110,
#GOGOSTART
#BPMCHANGE 201.0676
3333,
10201120,
#BPMCHANGE 198.0002
3112,
10201120,
3333,
10201120,
3111,
1111,
#GOGOEND
#BPMCHANGE 196.1130
6,
#BPMCHANGE 198.9588
0008,
#BPMCHANGE 196.0221
10201120,
#BPMCHANGE 199.4502
11111111,
#BPMCHANGE 170
#SCROLL 1.17
#DELAY 0.0707
3,
#END
STYLE:Single
BALLOON:32
SCOREINIT:710
SCOREDIFF:200
#START
0000100010001100,
#BPMCHANGE 61.6047
0000112200000000,
#BPMCHANGE 63.3481
00112211,
#BPMCHANGE 62.3355
1000002200000000,
#BPMCHANGE 61.3590
0000101100002200,
#BPMCHANGE 60.4130
0000112200000000,
#BPMCHANGE 63.2111
0000101011200001,
#SCROLL 1.07
#BPMCHANGE 59.1014
11220000,
#GOGOSTART
#SCROLL 1
#BPMCHANGE 193.8642
3333,
#BPMCHANGE 201.6868
10201120,
3112,
#BPMCHANGE 196.8317
11101110,
#BPMCHANGE 197.7314
3333,
10201120,
3112,
#BPMCHANGE 198.4705
1010100010101111,
#GOGOEND
#BPMCHANGE 197.2646
1000200010102010,
#BPMCHANGE 198.0002
10221120,
10221020,
#BPMCHANGE 195.8084
10221120,
#BPMCHANGE 197.9022
1000200010102010,
10221120,
#BPMCHANGE 199.0340
10221020,
#BPMCHANGE 196.7839
1010100010001111,
#BPMCHANGE 197.9022
1000200010102010,
10221120,
10221020,
1000202010102000,
1000200010102010,
#BPMCHANGE 198.5072
10221120,
#BPMCHANGE 200.2918
10221020,
#BPMCHANGE 195.5474
11111111,
#GOGOSTART
#BPMCHANGE 198.4167
3333,
10201120,
3112,
#BPMCHANGE 198.0002
11101110,
#BPMCHANGE 199.1761
3333,
#BPMCHANGE 197.8324
10201120,
#BPMCHANGE 199.3150
1112,
#BPMCHANGE 197.5406
11,
#GOGOEND
#BPMCHANGE 195.2769
9,
#BPMCHANGE 198.3065
,
08,
,
#BPMCHANGE 198.0002
10112211,
#BPMCHANGE 199.9433
10221122,
#BPMCHANGE 197.3613
10112211,
1000200010101111,
10221020,
#BPMCHANGE 196.1130
10221120,
#BPMCHANGE 198.4777
1000200010102010,
10221120,
10221020,
10221120,
#BPMCHANGE 198.0002
1000200010102010,
#BPMCHANGE 196.4662
1000222010002220,
#BPMCHANGE 197.6467
10221020,
10221120,
1000200010102010,
10221120,
#BPMCHANGE 200.1027
10221020,
#BPMCHANGE 194.7021
10221120,
#BPMCHANGE 198.2134
3333,
#BPMCHANGE 196.0073
1110111011111110,
#GOGOSTART
#BPMCHANGE 201.0676
3333,
10201120,
#BPMCHANGE 198.0002
3112,
10201120,
3333,
10201120,
3111,
1111,
#GOGOEND
#BPMCHANGE 196.1130
6,
#BPMCHANGE 198.9588
0008,
#BPMCHANGE 196.0221
10201120,
#BPMCHANGE 199.4502
11111111,
#BPMCHANGE 170
#SCROLL 1.17
#DELAY 0.0707
3,
#END
COURSE:Hard
LEVEL:5
BALLOON:25
SCOREINIT:720
SCOREDIFF:215
#START
0000100010001100,
#BPMCHANGE 61.6047
0000111100000000,
#BPMCHANGE 63.3481
00112211,
#BPMCHANGE 62.3355
1000002200000000,
#BPMCHANGE 61.3590
0000101100002200,
#BPMCHANGE 60.4130
0000111100000000,
#BPMCHANGE 63.2111
0000101011100001,
#SCROLL 1.07
#BPMCHANGE 59.1014
11220000,
#GOGOSTART
#SCROLL 1
#BPMCHANGE 193.8642
3333,
#BPMCHANGE 201.6868
1212,
1111,
#BPMCHANGE 196.8317
5008,
#BPMCHANGE 197.7314
3333,
1212,
1111,
#BPMCHANGE 198.4705
50081010,
#GOGOEND
#BPMCHANGE 197.2646
10101120,
#BPMCHANGE 198.0002
10101120,
10111020,
#BPMCHANGE 195.8084
1110,
#BPMCHANGE 197.9022
10101120,
10101120,
#BPMCHANGE 199.0340
10111020,
#BPMCHANGE 196.7839
1210,
#BPMCHANGE 197.9022
10101120,
10101120,
10111020,
1110,
10101120,
#BPMCHANGE 198.5072
10101120,
#BPMCHANGE 200.2918
1111,
#BPMCHANGE 195.5474
11115008,
#GOGOSTART
#BPMCHANGE 198.4167
3333,
1212,
1112,
#BPMCHANGE 198.0002
5008,
#BPMCHANGE 199.1761
3333,
#BPMCHANGE 197.8324
1212,
#BPMCHANGE 199.3150
1111,
#BPMCHANGE 197.5406
11,
#GOGOEND
#BPMCHANGE 195.2769
9,
#BPMCHANGE 198.3065
,
,
98,
#BPMCHANGE 198.0002
10101110,
#BPMCHANGE 199.9433
10101110,
#BPMCHANGE 197.3613
10101110,
10105008,
10111020,
#BPMCHANGE 196.1130
10101120,
#BPMCHANGE 198.4777
10101120,
1110,
10111020,
10101120,
#BPMCHANGE 198.0002
10101120,
#BPMCHANGE 196.4662
1000111010001110,
#BPMCHANGE 197.6467
10111020,
10101120,
10101120,
1110,
#BPMCHANGE 200.1027
10111020,
#BPMCHANGE 194.7021
10101120,
#BPMCHANGE 198.2134
3333,
#BPMCHANGE 196.0073
11115008,
#GOGOSTART
#BPMCHANGE 201.0676
3333,
1212,
#BPMCHANGE 198.0002
1111,
5008,
3333,
1212,
1111,
33,
#GOGOEND
#BPMCHANGE 196.1130
6,
#BPMCHANGE 198.9588
08,
#BPMCHANGE 196.0221
1111,
#BPMCHANGE 199.4502
11101110,
#BPMCHANGE 170
#SCROLL 1.17
#DELAY 0.0707
3,
#DELAY 0
,
,
#END
COURSE:Normal
LEVEL:6
BALLOON:20
SCOREINIT:710
SCOREDIFF:215
#START
0111,
#BPMCHANGE 61.6047
0000101100000000,
#BPMCHANGE 63.3481
0111,
#BPMCHANGE 62.3355
1000002200000000,
#BPMCHANGE 61.3590
0111,
#BPMCHANGE 60.4130
0000101100000000,
#BPMCHANGE 63.2111
0111,
#SCROLL 1.07
#BPMCHANGE 59.1014
11220000,
#GOGOSTART
#SCROLL 1
#BPMCHANGE 193.8642
3333,
#BPMCHANGE 201.6868
1120,
1111,
#BPMCHANGE 196.8317
5008,
#BPMCHANGE 197.7314
3333,
1120,
1111,
#BPMCHANGE 198.4705
11,
#GOGOEND
#BPMCHANGE 197.2646
10001110,
#BPMCHANGE 198.0002
10101110,
10001110,
#BPMCHANGE 195.8084
10101110,
#BPMCHANGE 197.9022
10001110,
10101110,
#BPMCHANGE 199.0340
10001110,
#BPMCHANGE 196.7839
22202000,
#BPMCHANGE 197.9022
10001110,
10101110,
10001110,
10101110,
10001110,
#BPMCHANGE 198.5072
10101110,
#BPMCHANGE 200.2918
1111,
#BPMCHANGE 195.5474
22202000,
#GOGOSTART
#BPMCHANGE 198.4167
3333,
1120,
1111,
#BPMCHANGE 198.0002
5008,
#BPMCHANGE 199.1761
3333,
#BPMCHANGE 197.8324
1120,
#BPMCHANGE 199.3150
1111,
#BPMCHANGE 197.5406
11,
#GOGOEND
#BPMCHANGE 195.2769
9,
#BPMCHANGE 198.3065
,
98,
,
#BPMCHANGE 198.0002
10101110,
#BPMCHANGE 199.9433
10101110,
#BPMCHANGE 197.3613
10101110,
1,
10001110,
#BPMCHANGE 196.1130
10101110,
#BPMCHANGE 198.4777
10001110,
10101110,
10001110,
10101110,
#BPMCHANGE 198.0002
10001110,
#BPMCHANGE 196.4662
1212,
#BPMCHANGE 197.6467
10001110,
10101110,
10001110,
10101110,
#BPMCHANGE 200.1027
10001110,
#BPMCHANGE 194.7021
10101110,
#BPMCHANGE 198.2134
1122,
#BPMCHANGE 196.0073
22202000,
#GOGOSTART
#BPMCHANGE 201.0676
3333,
1120,
#BPMCHANGE 198.0002
1111,
5008,
3333,
1120,
1111,
11,
#GOGOEND
#BPMCHANGE 196.1130
5,
#BPMCHANGE 198.9588
08,
#BPMCHANGE 196.0221
1111,
#BPMCHANGE 199.4502
11101110,
#BPMCHANGE 170
#SCROLL 1.17
#DELAY 0.0707
3,
#DELAY 0
,
,
#END
COURSE:Easy
LEVEL:4
BALLOON:18
SCOREINIT:710
SCOREDIFF:287
#START
0111,
#BPMCHANGE 61.6047
0100,
#BPMCHANGE 63.3481
0111,
#BPMCHANGE 62.3355
1,
#BPMCHANGE 61.3590
0111,
#BPMCHANGE 60.4130
0100,
#BPMCHANGE 63.2111
0111,
#SCROLL 1.07
#BPMCHANGE 59.1014
1,
#GOGOSTART
#SCROLL 1
#BPMCHANGE 193.8642
33,
#BPMCHANGE 201.6868
1110,
11,
#BPMCHANGE 196.8317
5008,
#BPMCHANGE 197.7314
33,
1110,
11,
#BPMCHANGE 198.4705
58,
#GOGOEND
#BPMCHANGE 197.2646
11,
#BPMCHANGE 198.0002
1100,
1011,
#BPMCHANGE 195.8084
2200,
#BPMCHANGE 197.9022
11,
1100,
#BPMCHANGE 199.0340
11,
#BPMCHANGE 196.7839
2220,
#BPMCHANGE 197.9022
1011,
1100,
11,
2200,
1011,
#BPMCHANGE 198.5072
1100,
#BPMCHANGE 200.2918
11,
#BPMCHANGE 195.5474
2220,
#GOGOSTART
#BPMCHANGE 198.4167
33,
1110,
11,
#BPMCHANGE 198.0002
5008,
#BPMCHANGE 199.1761
33,
#BPMCHANGE 197.8324
1110,
#BPMCHANGE 199.3150
11,
#BPMCHANGE 197.5406
11,
#GOGOEND
#BPMCHANGE 195.2769
9,
#BPMCHANGE 198.3065
,
09,
8,
#BPMCHANGE 198.0002
11,
#BPMCHANGE 199.9433
1100,
#BPMCHANGE 197.3613
11,
1100,
11,
#BPMCHANGE 196.1130
1100,
#BPMCHANGE 198.4777
1011,
2200,
11,
1100,
#BPMCHANGE 198.0002
11,
#BPMCHANGE 196.4662
33,
#BPMCHANGE 197.6467
1011,
1100,
11,
2200,
#BPMCHANGE 200.1027
1011,
#BPMCHANGE 194.7021
1100,
#BPMCHANGE 198.2134
1111,
#BPMCHANGE 196.0073
1,
#GOGOSTART
#BPMCHANGE 201.0676
33,
1110,
#BPMCHANGE 198.0002
33,
5008,
33,
1110,
11,
11,
#GOGOEND
#BPMCHANGE 196.1130
5,
#BPMCHANGE 198.9588
8,
#BPMCHANGE 196.0221
11,
#BPMCHANGE 199.4502
1111,
#BPMCHANGE 170
#SCROLL 1.17
#DELAY 0.0707
3,
#DELAY 0
,
,
#END