Difference between revisions of "Drop Table (.RNI) File Format"

From Ōkami Speedrun Wiki
Jump to navigation Jump to search
(Created page with "{{File Format}} Drop table format. == File Format == === Header === {| class="wikitable dataStructure" ! Start (Byte) !! Width (Bytes) !! Type !! Description |- | 0 || 4 ||...")
 
(No difference)

Latest revision as of 08:26, 2 August 2025

Note: This page pertains to Reverse Engineering of Okami File Formats.

Drop table format.

File Format

Header

Start (Byte) Width (Bytes) Type Description
0 4 uint32_t Number of drop tables
4 variable DropTable[numDropTables] Drop tables (all variable length).
padding Pad zeroes for 32 byte alignment

Drop Table

Start (Byte) Width (Bytes) Type Description
0 1 uint8_t Unknown probability. Chance to drop anything?
1 1 uint8_t Number of drop entries.
2 1 uint8_t Unknown probability. Chance to drop anything?
3 1 uint8_t Unknown/padding.
4 4 * num drop entries DropEntry[numDropEntries] Drop entries.

Drop Entry

Start (Byte) Width (Bytes) Type Description
0 1 uint8_t Item ID
1 1 uint8_t Unknown probability.
2 1 uint8_t Unknown probability.
3 1 uint8_t Number of drops?