Item.bin

From MK8
Revision as of 13:57, 12 September 2017 by Wexos (talk | contribs) (→‎Tools)
Jump to navigation Jump to search

This BIN file with the ITEM identifier stores the item probability of different item sets uniquely for human or AI players at a specific distance to the lead racer, and the distances themselves.

It should be noted that the game applies several additional hardcoded rules on top of the probabilities, like a (powerful) item not appearing in the first seconds after the race start or after it has been collected before. If it cannot find a valid item, the driver collects a Coin as a fallback value.

Sections

The file is organized into the following sections which describe the item sets or distances available for a specific game mode:

  • ITST - Title Screen Race
  • ITS2 - Race
  • ITDS - Race Distances
  • ITS3 - Title Screen Battle
  • ITS4 - Battle
  • ITRT - Battle Distances (unclear meaning)

Item Sets

For each game mode, different item sets exist. Several item sets are unused or cannot be used directly. The accessible ones are split into a set used for human-controlled drivers and a set for AI drivers, possibly to prevent AI players from getting specific items (though they can handle all "correctly").

Race

Each Race game mode (ITST and ITS2) contains item sets in the following order:

  • Grand Prix
  • Grand Prix (AI driver)
  • All Items
  • All Items (AI driver)
  • Mushrooms Only
  • Mushrooms Only (AI driver)
  • Shells Only
  • Shells Only (AI driver)
  • Bananas Only
  • Bananas Only (AI driver)
  • Bob-ombs Only
  • Bob-ombs Only (AI driver)
  • Mushrooms 1 (unused)
  • Mushrooms 1 (unused, AI driver)
  • Shells (unused)
  • Bananas (unused)
  • Bob-ombs (unused)
  • Mushrooms 2 (unused)
  • Frantic Mode
  • Frantic Mode (AI driver)

Battle

Each Battle game mode (ITS3 and ITS4) contains item sets in the following order:

  • All Items
  • All Items (AI driver)
  • Mushrooms Only
  • Mushrooms Only (AI driver)
  • Shells Only
  • Shells Only (AI driver)
  • Bananas Only
  • Bananas Only (AI driver)
  • Bob-ombs Only
  • Bob-ombs Only (AI driver)
  • Shells and Bananas 1 (unused)
  • Mushrooms (unused)
  • Shells (unused)
  • Bananas (unused)
  • Bob-ombs (unused)
  • Shells and Bananas 2 (unused)
  • Frantic Mode
  • Frantic Mode (AI player)

Items

In each item set, the item probabilities are available in the following order:

  • Banana
  • Green Shell
  • Red Shell
  • Mushroom
  • Bob-omb
  • Blooper
  • Spiny Shell
  • Triple Mushrooms
  • Star
  • Bullet Bill
  • Lightning Bolt
  • Gold Mushroom
  • Fire Flower
  • Piranha Plant
  • Super Horn
  • Boomerang
  • Coin
  • Triple Bananas
  • Triple Green Shells
  • Triple Red Shells
  • Crazy Eight
  • Boo (Mario Kart 8 Deluxe only)
  • Feather (Mario Kart 8 Deluxe only)

Tools

The following tools can handle Item.bin: