Difference between revisions of "Filesystem/Race/Common.szs/GeoHitTableKart.bin"
(Created page with "'''GeoHitTableKart.bin''' is a sub file of '''/Race/Common.szs'''. It contains a list of object interaction parameters used in VS races and battle. == File...") |
(Figured out Section 2.) |
||
Line 115: | Line 115: | ||
=== Section 2 === | === Section 2 === | ||
− | ''Unknown.'' | + | The second part consists of an object usage table. It lists the indexes of all object slot IDs in Section 1. This section is exactly the same in GeoHitTableItem.bin, GeoHitTableItemObj.bin, GeoHitTableKart.bin, GeoHitTableKartObj.bin and ObjFlow.bin. |
+ | |||
+ | {| class="wikitable" | ||
+ | |+ Section 2 format | ||
+ | |- | ||
+ | ! Offset !! Type !! Description | ||
+ | |- | ||
+ | | 0x00 || u16 || {{Unknown-left|'''Unknown.''' 0xFFFF.}} | ||
+ | |- | ||
+ | | 0x02 || u16['''N'''] || List of '''N''' object slot IDs indexes, relative to Section 1 objects. <br>0xFFFF = unused slot. <br>'''N''' = Number of object slot IDs, 0x2F3 total slots in [[Mario Kart Wii]]. | ||
+ | |} | ||
== Tools == | == Tools == |
Revision as of 17:05, 14 March 2018
GeoHitTableKart.bin is a sub file of /Race/Common.szs. It contains a list of object interaction parameters used in VS races and battle.
File Format
This file shares a table-based format also used in GeoHitTableItem.bin, GeoHitTableItemObj.bin, GeoHitTableKartObj.bin and ObjFlow.bin; which is divided in a header and two sections.
Header
Offset | Type | Description |
---|---|---|
0x00 | u16 | Number of objects. |
0x02 | u16 | Unknown. The value is 4. |
0x04 | End of header, start of section 1 |
Section 1
This section contains the main table with hit parameters for each object.
Offset | Type | Description |
---|---|---|
0x00 | u16 | Object ID. |
0x02 | u16 | Interaction type without any power-up status. |
0x04 | u16 | Interaction type with Star power-up. |
0x06 | u16 | Interaction type with Mega Mushroom power-up. |
0x08 | u16 | Interaction type with Bullet Bill power-up. |
Note: damage hits are ignored if activated over power-up interactions.
ID | Description | Used on |
---|---|---|
0x00 | Clip through the object at any speed (default value) | Any object without another value |
0x01 | Constant wall at any speed, only if the object has collision | Unused |
0x02 | Constant wall at any speed, only if the object has collision | Unused |
0x03 | Constant wall at any speed, only if the object has collision | Unused |
0x04 | Constant wall at any speed, only if the object has collision | Unused |
0x05 | Constant wall at any speed, only if the object has collision | Unused |
0x06 | Constant wall at any speed, only if the object has collision | Unused |
0x07 | Clip through the object at any speed | Unused |
0x08 | Object acts like a wall at any speed, only spark and sound if hitting at certain speed | airblock, flag, flagBlend, woodbox, ironbox, WLwallGC, kart_truck, w_woodbox, w_itemboxline, dossunc, Hwanwan, Twanwan, Twanwan_ue, Kdossunc, obakeblockSFCc, kinokoT1, kinokoT2, obakeblock2SFCc, obakeblock3SFCc, koopaFigure, wanwan, Press, Press_soko, dc_pillar_c, DKship64, venice_gondola, DonkyCannonGC, DonkyCannon_wii, tree_cannon |
0x09 | Spin hit at any speed, don't lose item | Unused |
0x0A | Spin hit only if hitting at certain speed, wall without spark/sound if hitting slow/without moving, don't lose item | penguin_s, penguin_m, crab, kuribo, sanbo, heyho, puchi_pakkun |
0x0B | Fire spin hit at any speed, don't lose item | VolcanoBall1, boble, KoopaFigure64, WLfirebarGC, WLfireringGC, FireSnake, koopaFirebar, FireSnake_v, honeBall |
0x0C | Clip through the object if hitting at certain speed, wall without spark/sound if hitting slow/without moving | Unused |
0x0D | Small launch up hit at any speed, don't lose item | choropu, choropu2, FlamePoleEff, FlamePole_v, FlamePole_v_big |
0x0E | Knockback hit if hitting at certain speed and if static, wall without spark/sound if not static, lose item | CarA1, CarA2, CarA3, cow, pakkun_f |
0x0F | Launch up hit and bump once in the ground at any speed, glitchy spin in mid air on certain objects, lose item | Unused |
0x10 | Knockback hit and bump once in the ground at any speed, lose item | Hwanwan, Twanwan_ue, wanwan, sanbo_big, sanbo_big.2 |
0x11 | Crush hit at any speed (lasts longer than 0x1E), lose item | dossunc_soko, Press_soko |
0x12 | Bump towards the player at certain speed | basabasa |
0x13 | Big bump towards the player at any speed | begoman_spike |
0x14 | Spin hit, bumps and shrinks the player at any speed | Epropeller |
0x15 | High launch up hit at any speed, lose item | poihana |
0x16 | Spin hit if hitting at certain speed | oilSFC |
0x17 | Constant weak wall at any speed, only if the object has collision | pylon01 |
0x18 | Constant wall at any speed, only if the object has collision | choropu_ground |
0x19 | Launch up hit at any speed, glitchy spid in mid air on certain objects, don't lose item | koopaBall, DKrockGC, TruckWagon, dc_pillar_c |
0x1A | Object acts like a wall at any speed, only spark and sound if hitting at certain speed | DummyPole, dokan_sfc, castletree1c, mariotreeGCc, donkytree2GC, peachtreeGCc, WLdokanGC, MarioGo64c, PalmTree, parasol, HeyhoTreeGBAc, gardentreeDSc, DKtreeA64c, DKtreeB64c, TownTreeDSc, r_parasol, pile, pakkun_dokan, kinoko_kuki |
0x1B | Bump towards the player at any speed | hanachan, BossHanachan, BossHanachanHead |
0x1C | Constant wall at any speed, only if the object has collision | basabasa_dummy |
0x1D | Untrickable jump pad at any speed | Unused |
0x1E | Crush hit at any speed (lasts shorter than 0x11), lose item | kart_truck, car_body, Twanwan |
0x1F | Crush hit at any speed, then respawn, lose item | Unused |
0x20 | Explosion launch up hit at any speed, lose item | K_bomb_car, K_bomb_car_dummy, HeyhoBallGBA, K_bomb_car1 |
0x100 | Knockback hit at any speed, lose item | Unused |
Any other value is likely to freeze the game when interacting with the object.
Section 2
The second part consists of an object usage table. It lists the indexes of all object slot IDs in Section 1. This section is exactly the same in GeoHitTableItem.bin, GeoHitTableItemObj.bin, GeoHitTableKart.bin, GeoHitTableKartObj.bin and ObjFlow.bin.
Offset | Type | Description |
---|---|---|
0x00 | u16 | Unknown. 0xFFFF. |
0x02 | u16[N] | List of N object slot IDs indexes, relative to Section 1 objects. 0xFFFF = unused slot. N = Number of object slot IDs, 0x2F3 total slots in Mario Kart Wii. |
Tools
The following tools can handle GeoHitTableKart.bin:
- (none)