Mother 3/SAR block: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(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...")
 
m (added subpage)
Line 1: Line 1:
{{subpage|game=MOTHER 3:Named data structures}}
==Overview==
==Overview==
SAR blocks contain pointers to battle graphic's data and the battle graphic's data.
SAR blocks contain pointers to battle graphic's data and the battle graphic's data.

Revision as of 07:44, 19 October 2018

This is a sub-page of Mother 3.

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