Datasets:
TheGreatRambler
commited on
Commit
·
9b4b482
1
Parent(s):
0768ac4
Update size
Browse files
README.md
CHANGED
|
@@ -6,7 +6,7 @@ license:
|
|
| 6 |
multilinguality:
|
| 7 |
- multilingual
|
| 8 |
size_categories:
|
| 9 |
-
-
|
| 10 |
source_datasets:
|
| 11 |
- original
|
| 12 |
task_categories:
|
|
@@ -21,7 +21,7 @@ task_ids:
|
|
| 21 |
pretty_name: Mario Maker 2 ninji levels
|
| 22 |
---
|
| 23 |
|
| 24 |
-
# Mario Maker 2
|
| 25 |
Part of the [Mario Maker 2 Dataset Collection](https://tgrcode.com/posts/mario_maker_2_datasets)
|
| 26 |
|
| 27 |
## Dataset Description
|
|
@@ -57,7 +57,44 @@ print(next(iter(ds)))
|
|
| 57 |
'level_data': [some binary data]
|
| 58 |
}
|
| 59 |
```
|
| 60 |
-
Each row is a ninji level denoted by `data_id`. `TheGreatRambler/mm2_ninji` refers to these levels.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
|
| 62 |
## Data Structure
|
| 63 |
|
|
@@ -243,46 +280,6 @@ ClearConditions = {
|
|
| 243 |
```
|
| 244 |
|
| 245 |
<!-- TODO create detailed statistics -->
|
| 246 |
-
<!--
|
| 247 |
-
## Dataset Statistics
|
| 248 |
-
|
| 249 |
-
The dataset contains 115M files and the sum of all the source code file sizes is 873 GB (note that the size of the dataset is larger due to the extra fields). A breakdown per language is given in the plot and table below:
|
| 250 |
-
|
| 251 |
-

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