If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working soon.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
Mother 3/SAR block: Difference between revisions
< Mother 3
Jump to navigation
Jump to search
Lelegofrog (talk | contribs) m (Lelegofrog moved page MOTHER 3/SAR block to Mother 3/SAR block: title consistency with TCRF) |
Lelegofrog (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{{subpage|game= | {{subpage|game=Mother 3}} | ||
==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. | ||
Line 11: | Line 11: | ||
* <tt>..-.. (04)</tt> = "~sar" footer | * <tt>..-.. (04)</tt> = "~sar" footer | ||
[[Category: | [[Category:Mother 3 named data structures|SAR]] | ||
[[Category: | [[Category:Mother 3|SAR]] |
Latest revision as of 02:20, 20 May 2024
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