Shop Contents (.ISL) File Format
Revision as of 08:01, 23 July 2025 by Heinermann (talk | contribs) (Created page with "{{File Format}} This file defines what is found in this map's shop stock. Note that this is only for regular shops. Demon fang shops are entirely hardcoded and not found in...")
Note: This page pertains to Reverse Engineering of Okami File Formats.
This file defines what is found in this map's shop stock.
Note that this is only for regular shops. Demon fang shops are entirely hardcoded and not found in any data files.
File Format
Header
Offset | Type | Size | Description |
---|---|---|---|
0x00 | char[4] |
4 | Magic "ISL\0". |
0x04 | int32_t |
4 | Number of shop variations (chosen variation depends on specific event flags being set, hardcoded). |
0x08 | int32_t[2] |
8 | Unknown. |
0x10 | ShopInfo[numVariations] |
variable | Description of each shop variation. |
Shop Info
Offset (relative) | Type | Size | Description |
---|---|---|---|
0x00 | int32_t |
4 | Number of shop items in stock. |
0x04 | ItemStock[numItems] |
12 * numItems | Description of each item in stock. |
4 + 12 * numItems | int32_t[256] |
4 * 256 | Sell price for each item type, indexed by Item Table. -1 if not sellable. |
Item Stock
Offset (relative) | Type | Size | Description |
---|---|---|---|
0x00 | int32_t |
4 | Item type. |
0x04 | int32_t |
4 | Purchase price. |
0x08 | int32_t |
4 | Unknown/unused. |