-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlevel.ksy
751 lines (751 loc) · 19.3 KB
/
level.ksy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
meta:
id: level
endian: le
seq:
- id: start_y
type: u1
doc: Starting Y position of level
- id: goal_y
type: u1
doc: Y position of goal
- id: goal_x
type: s2
doc: X position of goal
- id: timer
type: s2
doc: Starting timer
- id: clear_condition_magnitude
type: s2
doc: Clear condition magnitude
- id: year
type: s2
doc: Year made
- id: month
type: s1
doc: Month made
- id: day
type: s1
doc: Day made
- id: hour
type: s1
doc: Hour made
- id: minute
type: s1
doc: Minute made
- id: autoscroll_speed
type: u1
enum: autoscroll_speed
doc: Autoscroll speed
- id: clear_condition_category
type: u1
enum: clear_condition_category
doc: Clear condition category
- id: clear_condition
type: s4
enum: clear_condition
doc: Clear condition
- id: unk_gamever
type: s4
doc: Unknown gamever
- id: unk_management_flags
type: s4
doc: Unknown management_flags
- id: clear_attempts
type: s4
doc: Clear attempts
- id: clear_time
type: s4
doc: Clear time
- id: unk_creation_id
type: u4
doc: Unknown creation_id
- id: unk_upload_id
type: s8
doc: Unknown upload_id
- id: game_version
type: s4
enum: game_version
doc: Game version level was made in
- id: unk1
size: 0xBD
- id: gamestyle
type: s2
enum: gamestyle
doc: Game style
- id: unk2
type: u1
- id: name
type: str
size: 0x42
encoding: UTF-16LE
- id: description
type: str
size: 0xCA
encoding: UTF-16LE
- id: overworld
type: map
- id: subworld
type: map
enums:
gamestyle:
12621: smb1
13133: smb3
22349: smw
21847: nsmbw
22323: sm3dw
clear_condition_category:
0: none
1: parts
2: status
3: actions
game_version:
0: v1_0_0
1: v1_0_1
2: v1_1_0
3: v2_0_0
4: v3_0_0
5: v3_0_1
33: unk
clear_condition:
0: none
137525990: reach_the_goal_without_landing_after_leaving_the_ground
199585683: reach_the_goal_after_defeating_at_least_all_mechakoopa
272349836: reach_the_goal_after_defeating_at_least_all_cheep_cheep
375673178: reach_the_goal_without_taking_damage
426197923: reach_the_goal_as_boomerang_mario
436833616: reach_the_goal_while_wearing_a_shoe
713979835: reach_the_goal_as_fire_mario
744927294: reach_the_goal_as_frog_mario
751004331: reach_the_goal_after_defeating_at_least_all_larry
900050759: reach_the_goal_as_raccoon_mario
947659466: reach_the_goal_after_defeating_at_least_all_blooper
976173462: reach_the_goal_as_propeller_mario
994686866: reach_the_goal_while_wearing_a_propeller_box
998904081: reach_the_goal_after_defeating_at_least_all_spike
1008094897: reach_the_goal_after_defeating_at_least_all_boom_boom
1051433633: reach_the_goal_while_holding_a_koopa_shell
1061233896: reach_the_goal_after_defeating_at_least_all_porcupuffer
1062253843: reach_the_goal_after_defeating_at_least_all_charvaargh
1079889509: reach_the_goal_after_defeating_at_least_all_bullet_bill
1080535886: reach_the_goal_after_defeating_at_least_all_bully_bullies
1151250770: reach_the_goal_while_wearing_a_goomba_mask
1182464856: reach_the_goal_after_defeating_at_least_all_hop_chops
1219761531: reach_the_goal_while_holding_a_red_pow_block_or_reach_the_goal_after_activating_at_least_all_red_pow_block
1221661152: reach_the_goal_after_defeating_at_least_all_bob_omb
1259427138: reach_the_goal_after_defeating_at_least_all_spiny_spinies
1268255615: reach_the_goal_after_defeating_at_least_all_bowser_meowser
1279580818: reach_the_goal_after_defeating_at_least_all_ant_trooper
1283945123: reach_the_goal_on_a_lakitus_cloud
1344044032: reach_the_goal_after_defeating_at_least_all_boo
1425973877: reach_the_goal_after_defeating_at_least_all_roy
1429902736: reach_the_goal_while_holding_a_trampoline
1431944825: reach_the_goal_after_defeating_at_least_all_morton
1446467058: reach_the_goal_after_defeating_at_least_all_fish_bone
1510495760: reach_the_goal_after_defeating_at_least_all_monty_mole
1656179347: reach_the_goal_after_picking_up_at_least_all_1_up_mushroom
1665820273: reach_the_goal_after_defeating_at_least_all_hammer_bro
1676924210: reach_the_goal_after_hitting_at_least_all_p_switch_or_reach_the_goal_while_holding_a_p_switch
1715960804: reach_the_goal_after_activating_at_least_all_pow_block_or_reach_the_goal_while_holding_a_pow_block
1724036958: reach_the_goal_after_defeating_at_least_all_angry_sun
1730095541: reach_the_goal_after_defeating_at_least_all_pokey
1780278293: reach_the_goal_as_superball_mario
1839897151: reach_the_goal_after_defeating_at_least_all_pom_pom
1969299694: reach_the_goal_after_defeating_at_least_all_peepa
2035052211: reach_the_goal_after_defeating_at_least_all_lakitu
2038503215: reach_the_goal_after_defeating_at_least_all_lemmy
2048033177: reach_the_goal_after_defeating_at_least_all_lava_bubble
2076496776: reach_the_goal_while_wearing_a_bullet_bill_mask
2089161429: reach_the_goal_as_big_mario
2111528319: reach_the_goal_as_cat_mario
2131209407: reach_the_goal_after_defeating_at_least_all_goomba_galoomba
2139645066: reach_the_goal_after_defeating_at_least_all_thwomp
2259346429: reach_the_goal_after_defeating_at_least_all_iggy
2549654281: reach_the_goal_while_wearing_a_dry_bones_shell
2694559007: reach_the_goal_after_defeating_at_least_all_sledge_bro
2746139466: reach_the_goal_after_defeating_at_least_all_rocky_wrench
2749601092: reach_the_goal_after_grabbing_at_least_all_50_coin
2855236681: reach_the_goal_as_flying_squirrel_mario
3036298571: reach_the_goal_as_buzzy_mario
3074433106: reach_the_goal_as_builder_mario
3146932243: reach_the_goal_as_cape_mario
3174413484: reach_the_goal_after_defeating_at_least_all_wendy
3206222275: reach_the_goal_while_wearing_a_cannon_box
3314955857: reach_the_goal_as_link
3342591980: reach_the_goal_while_you_have_super_star_invincibility
3346433512: reach_the_goal_after_defeating_at_least_all_goombrat_goombud
3348058176: reach_the_goal_after_grabbing_at_least_all_10_coin
3353006607: reach_the_goal_after_defeating_at_least_all_buzzy_beetle
3392229961: reach_the_goal_after_defeating_at_least_all_bowser_jr
3437308486: reach_the_goal_after_defeating_at_least_all_koopa_troopa
3459144213: reach_the_goal_after_defeating_at_least_all_chain_chomp
3466227835: reach_the_goal_after_defeating_at_least_all_muncher
3481362698: reach_the_goal_after_defeating_at_least_all_wiggler
3513732174: reach_the_goal_as_smb2_mario
3649647177: reach_the_goal_in_a_koopa_clown_car_junior_clown_car
3725246406: reach_the_goal_as_spiny_mario
3730243509: reach_the_goal_in_a_koopa_troopa_car
3748075486: reach_the_goal_after_defeating_at_least_all_piranha_plant_jumping_piranha_plant
3797704544: reach_the_goal_after_defeating_at_least_all_dry_bones
3824561269: reach_the_goal_after_defeating_at_least_all_stingby_stingbies
3833342952: reach_the_goal_after_defeating_at_least_all_piranha_creeper
3842179831: reach_the_goal_after_defeating_at_least_all_fire_piranha_plant
3874680510: reach_the_goal_after_breaking_at_least_all_crates
3974581191: reach_the_goal_after_defeating_at_least_all_ludwig
3977257962: reach_the_goal_as_super_mario
4042480826: reach_the_goal_after_defeating_at_least_all_skipsqueak
4116396131: reach_the_goal_after_grabbing_at_least_all_coin
4117878280: reach_the_goal_after_defeating_at_least_all_magikoopa
4122555074: reach_the_goal_after_grabbing_at_least_all_30_coin
4153835197: reach_the_goal_as_balloon_mario
4172105156: reach_the_goal_while_wearing_a_red_pow_box
4209535561: reach_the_goal_while_riding_yoshi
4269094462: reach_the_goal_after_defeating_at_least_all_spike_top
4293354249: reach_the_goal_after_defeating_at_least_all_banzai_bill
autoscroll_speed:
0: x1
1: x2
2: x3
types:
map:
seq:
- id: theme
type: u1
enum: theme
doc: Map theme
- id: autoscroll_type
type: u1
enum: autoscroll_type
doc: Autoscroll type
- id: boundary_type
type: u1
enum: boundary_type
doc: Boundary type
- id: orientation
type: u1
enum: orientation
doc: Orientation
- id: liquid_end_height
type: u1
doc: Liquid end height
- id: liquid_mode
type: u1
enum: liquid_mode
doc: Liquid mode
- id: liquid_speed
type: u1
enum: liquid_speed
doc: Liquid speed
- id: liquid_start_height
type: u1
doc: Liquid start height
- id: boundary_right
type: s4
doc: Right boundary
- id: boundary_top
type: s4
doc: Top boundary
- id: boundary_left
type: s4
doc: Left boundary
- id: boundary_bottom
type: s4
doc: Bottom boundary
- id: unk_flag
type: s4
doc: Unknown flag
- id: object_count
type: s4
doc: Object count
- id: sound_effect_count
type: s4
doc: Sound effect count
- id: snake_block_count
type: s4
doc: Snake block count
- id: clear_pipe_count
type: s4
doc: Clear pipe count
- id: piranha_creeper_count
type: s4
doc: Piranha creeper count
- id: exclamation_mark_block_count
type: s4
doc: Exclamation mark block count
- id: track_block_count
type: s4
doc: Track block count
- id: unk1
type: s4
- id: ground_count
type: s4
doc: Ground count
- id: track_count
type: s4
doc: Track count
- id: ice_count
type: s4
doc: Ice count
- id: objects
type: obj
repeat: expr
repeat-expr: 2600
doc: Objects
- id: sounds
type: sound
repeat: expr
repeat-expr: 300
doc: Sound effects
- id: snakes
type: snake
repeat: expr
repeat-expr: 5
doc: Snake blocks
- id: clear_pipes
type: clear_pipe
repeat: expr
repeat-expr: 200
doc: Clear pipes
- id: piranha_creepers
type: piranha_creeper
repeat: expr
repeat-expr: 10
doc: Piranha creepers
- id: exclamation_blocks
type: exclamation_block
repeat: expr
repeat-expr: 10
doc: ! Blocks
- id: track_blocks
type: track_block
repeat: expr
repeat-expr: 10
doc: Track blocks
- id: ground
type: ground
repeat: expr
repeat-expr: 4000
doc: Ground tiles
- id: tracks
type: track
repeat: expr
repeat-expr: 1500
doc: Tracks
- id: icicles
type: icicle
repeat: expr
repeat-expr: 300
doc: Icicles
- id: unk2
size: 0xDBC
enums:
theme:
0: overworld
1: underground
2: castle
3: airship
4: underwater
5: ghost_house
6: snow
7: desert
8: sky
9: forest
autoscroll_type:
0: none
1: slow
2: normal
3: fast
4: custom
boundary_type:
0: built_above_line
1: built_below_line
orientation:
0: horizontal
1: vertical
liquid_mode:
0: static
1: rising_or_falling
2: rising_and_falling
liquid_speed:
0: none
1: x1
2: x2
3: x3
obj:
seq:
- id: x
type: s4
doc: X coordinate
- id: y
type: s4
doc: Y coordinate
- id: unk1
type: s2
- id: width
type: u1
doc: Width
- id: height
type: u1
doc: Height
- id: flag
type: s4
doc: Flag
- id: cflag
type: s4
doc: CFlag
- id: ex
type: s4
doc: Ex
- id: id
type: s2
enum: obj_id
doc: ID
- id: cid
type: s2
doc: CID
- id: lid
type: s2
doc: LID
- id: sid
type: s2
doc: SID
enums:
obj_id:
0: goomba
1: koopa
2: piranha_flower
3: hammer_bro
4: block
5: question_block
6: hard_block
7: ground
8: coin
9: pipe
10: spring
11: lift
12: thwomp
13: bullet_bill_blaster
14: mushroom_platform
15: bob_omb
16: semisolid_platform
17: bridge
18: p_switch
19: pow
20: super_mushroom
21: donut_block
22: cloud
23: note_block
24: fire_bar
25: spiny
26: goal_ground
27: goal
28: buzzy_beetle
29: hidden_block
30: lakitu
31: lakitu_cloud
32: banzai_bill
33: one_up
34: fire_flower
35: super_star
36: lava_lift
37: starting_brick
38: starting_arrow
39: magikoopa
40: spike_top
41: boo
42: clown_car
43: spikes
44: big_mushroom
45: shoe_goomba
46: dry_bones
47: cannon
48: blooper
49: castle_bridge
50: jumping_machine
51: skipsqueak
52: wiggler
53: fast_conveyor_belt
54: burner
55: door
56: cheep_cheep
57: muncher
58: rocky_wrench
59: track
60: lava_bubble
61: chain_chomp
62: bowser
63: ice_block
64: vine
65: stingby
66: arrow
67: one_way
68: saw
69: player
70: big_coin
71: half_collision_platform
72: koopa_car
73: cinobio
74: spike_ball
75: stone
76: twister
77: boom_boom
78: pokey
79: p_block
80: sprint_platform
81: smb2_mushroom
82: donut
83: skewer
84: snake_block
85: track_block
86: charvaargh
87: slight_slope
88: steep_slope
89: reel_camera
90: checkpoint_flag
91: seesaw
92: red_coin
93: clear_pipe
94: conveyor_belt
95: key
96: ant_trooper
97: warp_box
98: bowser_jr
99: on_off_block
100: dotted_line_block
101: water_marker
102: monty_mole
103: fish_bone
104: angry_sun
105: swinging_claw
106: tree
107: piranha_creeper
108: blinking_block
109: sound_effect
110: spike_block
111: mechakoopa
112: crate
113: mushroom_trampoline
114: porkupuffer
115: cinobic
116: super_hammer
117: bully
118: icicle
119: exclamation_block
120: lemmy
121: morton
122: larry
123: wendy
124: iggy
125: roy
126: ludwig
127: cannon_box
128: propeller_box
129: goomba_mask
130: bullet_bill_mask
131: red_pow_box
132: on_off_trampoline
sound:
seq:
- id: id
type: u1
doc: Sound type
- id: x
type: u1
doc: X position
- id: y
type: u1
doc: Y position
- id: unk1
type: u1
snake:
seq:
- id: index
type: u1
doc: Snake block index
- id: node_count
type: u1
doc: Snake block node count
- id: unk1
type: u2
- id: nodes
type: snake_node
repeat: expr
repeat-expr: 120
doc: Snake block nodes
snake_node:
seq:
- id: index
type: u2
doc: Snake block node index
- id: direction
type: u2
doc: Snake block node direction
- id: unk1
type: u4
clear_pipe:
seq:
- id: index
type: u1
doc: Clear pipe index
- id: node_count
type: u1
doc: Clear pipe node count
- id: unk
type: u2
- id: nodes
type: clear_pipe_node
repeat: expr
repeat-expr: 36
doc: Clear pipe nodes
clear_pipe_node:
seq:
- id: type
type: u1
doc: Clear pipe node type
- id: index
type: u1
doc: Clear pipe node index
- id: x
type: u1
doc: Clear pipe node X position
- id: y
type: u1
doc: Clear pipe node Y position
- id: width
type: u1
doc: Clear pipe node width
- id: height
type: u1
doc: Clear pipe node height
- id: unk1
type: u1
- id: direction
type: u1
doc: Clear pipe node direction
piranha_creeper:
seq:
- id: unk1
type: u1
- id: index
type: u1
doc: Piranha creeper index
- id: node_count
type: u1
doc: Piranha creeper node count
- id: unk2
type: u1
- id: nodes
type: piranha_creeper_node
repeat: expr
repeat-expr: 20
doc: Piranha creeper nodes
piranha_creeper_node:
seq:
- id: unk1
type: u1
- id: direction
type: u1
doc: Piranha creeper node direction
- id: unk2
type: u2
exclamation_block:
seq:
- id: unk1
type: u1
- id: index
type: u1
doc: ! block index
- id: node_count
type: u1
doc: ! block node count
- id: unk2
type: u1
- id: nodes
type: exclamation_block_node
repeat: expr
repeat-expr: 10
doc: ! block nodes
exclamation_block_node:
seq:
- id: unk1
type: u1
- id: direction
type: u1
doc: ! block node direction
- id: unk2
type: u2
track_block:
seq:
- id: unk1
type: u1
- id: index
type: u1
doc: Track block index
- id: node_count
type: u1
doc: Track block node count
- id: unk2
type: u1
- id: nodes
type: track_block_node
repeat: expr
repeat-expr: 10
doc: Track block nodes
track_block_node:
seq:
- id: unk1
type: u1
- id: direction
type: u1
doc: Track block node direction
- id: unk2
type: u2
ground:
seq:
- id: x
type: u1
doc: Ground tile X position
- id: y
type: u1
doc: Ground tile Y position
- id: id
type: u1
doc: Ground tile id
- id: background_id
type: u1
doc: Ground tile background tile
track:
seq:
- id: unk1
type: u2
- id: flags
type: u1
doc: Track flags
- id: x
type: u1
doc: Track X position
- id: y
type: u1
doc: Track Y position
- id: type
type: u1
doc: Track type
- id: lid
type: u2
doc: Track LID
- id: unk2
type: u2
- id: unk3
type: u2
icicle:
seq:
- id: x
type: u1
doc: Icicle X position
- id: y
type: u1
doc: Icicle Y position
- id: type
type: u1
doc: Icicle type
- id: unk1
type: u1