Dojo Contents (.SSL) File Format

From Ōkami Speedrun Wiki
Jump to navigation Jump to search

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

This file defines what is found in this map's dojo stock.

The format is similar to Shop Contents (.ISL) File Format.

File Format

Header

Offset Type Size Description
0x00 char[4] 4 Magic "SSL\0".
0x04 int32_t 4 Number of variations. Always 1 because there are no 2 dojos on the same map.
0x08 int32_t[2] 8 Unknown.
0x10 DojoInfo[numVariations] variable Description of each dojo stock.

Dojo Info

Offset (relative) Type Size Description
0x00 int32_t 4 Number of techniques available.
0x04 DojoStock[numTechniques] 16 * numTechniques Description of each technique in stock.

Dojo Stock

Offset (relative) Type Size Description
0x00 int32_t 4 Dojo Technique ID.
0x04 int32_t 4 Purchase price.
0x08 int32_t 4 Unknown. Discount price?
0x0C int32_t 4 Unknown.