RAM map (Boktai 2): Difference between revisions

From Boktai Hacking Wiki
No edit summary
No edit summary
Line 1: Line 1:
This is the RAM map for Boktai 2 (U). <!-- Please create a new page for maps of other languages! For example "RAM map (Boktai 2, J)". -->
This is the RAM map for Boktai 2 (U). <!-- Please create a new page for maps of other languages! For example "RAM map (Boktai 2, J)". -->
= EWRAM
== Stat struct ==
{| class="wikitable"
|-
! Offset || Type || Description
|-
| 0x54 || i32 || Magic inventory (bitmask)
|}


= IWRAM =
= IWRAM =
Line 17: Line 27:
| ... 0x030016de || u16 || [[Downloadable_events|Unlock Something has happened to ???'s body event]]
| ... 0x030016de || u16 || [[Downloadable_events|Unlock Something has happened to ???'s body event]]
|-
|-
| 0x03004690 || void* || Pointer to [[#Scratch struct]], defaults to 0x0203da00 on hard reset (but moves on soft resets)
|-
| 0x03004698 || void* || Pointer to [[#Stat struct]], defaults to 0x0203e200 on hard reset (but moves on soft resets)
|-
| 0x030046a0 || void* || Pointer to [[#World struct]], defaults to 0x0203c400 on hard reset (but moves on soft resets)
|}
|}



Revision as of 19:39, 3 August 2024

This is the RAM map for Boktai 2 (U).

= EWRAM

Stat struct

Offset Type Description
0x54 i32 Magic inventory (bitmask)

IWRAM

Address Type Description
0x030016c0 byte[0x28] Global save data, loaded from save file @ 0x00-0x28
... 0x030016d8 u16 Unlock Blindbox Lv. 3 event
... 0x030016da u16 Unlock Blindbox Lv. 4 event
... 0x030016dc u16 Unlock Blindbox Lv. 5 & valentine's day event
... 0x030016de u16 Unlock Something has happened to ???'s body event
0x03004690 void* Pointer to #Scratch struct, defaults to 0x0203da00 on hard reset (but moves on soft resets)
0x03004698 void* Pointer to #Stat struct, defaults to 0x0203e200 on hard reset (but moves on soft resets)
0x030046a0 void* Pointer to #World struct, defaults to 0x0203c400 on hard reset (but moves on soft resets)

EEPROM

TODO

Save data checksums

Version differences

TODO

WORLD block is different