Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

MOTHER 3/SAR block

From Data Crystal
< MOTHER 3
Revision as of 22:53, 6 January 2017 by Lorenzooone (talk | contribs) (Created page with "==Overview== SAR blocks contain pointers to battle graphic's data and the battle graphic's data. SAR blocks can contain other SAR blocks. It appears that only the most externa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

SAR blocks contain pointers to battle graphic's data and the battle graphic's data. SAR blocks can contain other SAR blocks. It appears that only the most external SAR blocks need the footer, this is probably because there are pointers to the beginning of the next chunk of data for inner SAR blocks.

Format

  • 00-03 (04) = "sar " header
  • 04-07 (04) = Number of pointers
  • 0C-.. (Number of pointers*8) = 8 Byte pointers (Direct Pointer+Length of pointed data)
  • Number of pointers*8+8-.. (..) = Data
  • ..-.. (04) = "~sar" footer