Arcana/SRAM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(Added the bytes as a separate column.)
No edit summary
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
(Back to [[Arcana|Main page]])
{{subpage}}
 
{{srammap|game=Arcana}}


This contains the format for an Arcana save file. Each file takes up $500 bytes, and has a copy for protection.
This contains the format for an Arcana save file. Each file takes up $500 bytes, and has a copy for protection.
They are tranferred 8 bytes at a time via MVN at $00/CAB6, which uses X= RAM address, Y= SRAM address, A= # bytes to copy
They are tranferred 8 bytes at a time via MVN at $00/CAB6, which uses X= RAM address, Y= SRAM address, A= # bytes to copy
The file is saved twice and a ton of checksums are written by looping through the data at least 20 times.
During the saving process, a ton of checksums are written by looping through the data at least 20 times.


==File ranges==
==File ranges==
Line 36: Line 38:
|108-10F
|108-10F
|$11DB-11E2
|$11DB-11E2
|Copy of $11C3?
|Party Condition (copy)
|-
|-
|8
|8
Line 45: Line 47:
|8
|8
|118-11F
|118-11F
|$1223-122A
|$1223–122A
|Stats: Attack (Rooks, Spirit, Guest1, Guest2)
|Stats: Strength (Rooks, Spirit, Guest1, Guest2)
|-
|-
|8
|8
Line 55: Line 57:
|8
|8
|128-12F
|128-12F
|$1253-125A
|$1253–125A
|Stats: Endurance (Rooks, Spirit, Guest1, Guest2)
|Stats: Endurance (Rooks, Spirit, Guest1, Guest2)
|-
|-
Line 65: Line 67:
|8
|8
|138-13F
|138-13F
|$1283-128A
|$1283–128A
|Equipped weapons
|Equipped weapons
|-
|-
Line 95: Line 97:
|8
|8
|168-16F
|168-16F
|$1323-132A
|$1323–132A
|Stats: Party current MP (Rooks, Spirit, Guest1, Guest2)
|Stats: Party current MP (Rooks, Spirit, Guest1, Guest2)
|-
|-
Line 105: Line 107:
|8
|8
|178-17F
|178-17F
|$1353-135A
|$1353–135A
|Stats: Spirits' current HP (Sylph, Dao, Marid, Efrite)
|Stats: Spirits' current HP (Sylph, Dao, Marid, Efrite)
|-
|-
Line 115: Line 117:
|8
|8
|188-18F
|188-18F
|$1363-136A
|$1363–136A
|Stats: Party EXP (Rooks, Spirit, Guest1, Guest2) (Spirit uses Rooks' EXP/LV)
|Stats: Party EXP (Rooks, Spirit, Guest1, Guest2) (Spirit uses Rooks' EXP/LV)
|-
|-
Line 125: Line 127:
|8
|8
|198-19F
|198-19F
|$1393-139A
|$1393–139A
|Stats: Party max HP (Rooks, Spirit, Guest1, Guest2)
|Stats: Party max HP (Rooks, Spirit, Guest1, Guest2)
|-
|-
Line 136: Line 138:
|1A8-1A9
|1A8-1A9
|$13A7-13A8
|$13A7-13A8
|00 00 (Unused?)
|Related to spirit regen
|-
|-
|16
|16
Line 150: Line 152:
|64
|64
|21A-259
|21A-259
|$1419-1458
|$1419–1458
|Equipment inventory (2 bytes each, ID/User)
|Equipment inventory (2 bytes each, ID/User)
|-
|-
|64
|64
|25A-299
|25A-299
|$1459-1498
|$1459–1498
|Rooks' spell list (2 bytes per spell, 32 spells per character)
|Rooks' spell list (2 bytes per spell, 32 spells per character)
|-
|-
|64
|64
|29A-2D9
|29A-2D9
|$1499-14D8
|$1499–14D8
|Current Spirit's spell list (2 bytes per spell, 32 spells per character)
|Current Spirit's spell list (2 bytes per spell, 32 spells per character)
|-
|-
Line 170: Line 172:
|64
|64
|31A-359
|31A-359
|$1519-1558
|$1519–1558
|Guest2's spell list (2 bytes per spell, 32 spells per character)
|Guest2's spell list (2 bytes per spell, 32 spells per character)
|-
|-
|2
|2
|35A-35B
|35A-35B
|$1559-155A
|$1559–155A
|GP
|GP
|-
|-
Line 185: Line 187:
|2
|2
|364-365
|364-365
|$1573-1574
|$1573–1574
|?? (00 or 04) (Checked before changing music, before boss fight)
|Current map
|-
|-
|2
|2
|366-367
|366-367
|$1577-1578
|$1577–1578
|Window color (Bit depth: 0BBB B0GG GG0R RRR0)
|Window color (Bit depth: 0BBB B0GG GG0R RRR0)
|-
|-
Line 201: Line 203:
|36A-36B
|36A-36B
|$18DF-18E0
|$18DF-18E0
|??
|Bosses defeated?
|-
|-
|8
|8
Line 211: Line 213:
|374-375
|374-375
|$18FF-1900
|$18FF-1900
|??
|Story progress/Event flag
|-
|-
|2
|2
Line 235: Line 237:
|2
|2
|37E-37F
|37E-37F
|$1881-1882
|$1881–1882
|??
|??
|-
|-
Line 241: Line 243:
|380-43F
|380-43F
|$16FF-17BE
|$16FF-17BE
|Suspected block for dungeon map progress
|Dungeon map progress
|-
|-
|192
|192
|440-4FF
|440-4FF
|$17BF-187E
|$17BF-187E
|Suspected block for dungeon map progress
|Dungeon map progress (mirror)
|-
|-
|
|

Revision as of 14:56, 24 January 2024

This is a sub-page of Arcana.

Chip tiny.png The following article is an SRAM map for Arcana.

This contains the format for an Arcana save file. Each file takes up $500 bytes, and has a copy for protection. They are tranferred 8 bytes at a time via MVN at $00/CAB6, which uses X= RAM address, Y= SRAM address, A= # bytes to copy During the saving process, a ton of checksums are written by looping through the data at least 20 times.

File ranges

Slot 1 0100-05FF, 1100-15FF
Slot 2 0600-0AFF, 1600-1AFF
Slot 3 0B00-0FFF, 1B00-1FFF


Save file format

This assumes Slot 1. Add $0500 for Slot 2, and $0A00 for Slot 3.

Bytes Save RAM RAM Description
8 100-107 $11C3-11CA Party Condition word: Rooks, Spirit, Guest1, Guest2
(odd bytes: 00 Satisfactory, 01 Deceased, 02 Not here, 03 Paralyzed, 04 Petrified, 05 Confused, 06 Sleeping)
(even bytes: 01 indicates a party member)
8 108-10F $11DB-11E2 Party Condition (copy)
8 110-117 $11F3-11FA Party order
8 118-11F $1223–122A Stats: Strength (Rooks, Spirit, Guest1, Guest2)
8 120-127 $123B-1242 Stats: Intelligence (Rooks, Spirit, Guest1, Guest2)
8 128-12F $1253–125A Stats: Endurance (Rooks, Spirit, Guest1, Guest2)
8 130-137 $126B-1272 Stats: Alertness (Rooks, Spirit, Guest1, Guest2)
8 138-13F $1283–128A Equipped weapons
8 140-147 $129B-12A2 Equipped armors
8 148-14F $12B3-12BA Equipped accessories
8 150-157 $12CB-12D2 Equipped rings
8 158-15F $12F3-12FA Stats: Party current HP (Rooks, Spirit, Guest1, Guest2)
8 160-167 $130B-1312 Copy of $12F3
8 168-16F $1323–132A Stats: Party current MP (Rooks, Spirit, Guest1, Guest2)
8 170-177 $133B-1342 Copy of $1323
8 178-17F $1353–135A Stats: Spirits' current HP (Sylph, Dao, Marid, Efrite)
8 180-187 $135B-1362 Stats: Spirits' current MP (Sylph, Dao, Marid, Efrite)
8 188-18F $1363–136A Stats: Party EXP (Rooks, Spirit, Guest1, Guest2) (Spirit uses Rooks' EXP/LV)
8 190-197 $137B-1382 Stats: Party LV (Rooks, Spirit, Guest1, Guest2)
8 198-19F $1393–139A Stats: Party max HP (Rooks, Spirit, Guest1, Guest2)
8 1A0-1A7 $139B-13A2 Stats: Party max MP (Rooks, Spirit, Guest1, Guest2)
2 1A8-1A9 $13A7-13A8 Related to spirit regen
16 1AA-1B9 $13A9-13B8 Card inventory (2 bytes each, ID/quantity, 8 slots)
96 1BA-219 $13B9-1418 Item inventory (2 bytes each, 48 slots)
64 21A-259 $1419–1458 Equipment inventory (2 bytes each, ID/User)
64 25A-299 $1459–1498 Rooks' spell list (2 bytes per spell, 32 spells per character)
64 29A-2D9 $1499–14D8 Current Spirit's spell list (2 bytes per spell, 32 spells per character)
64 2DA-319 $14D9-1518 Guest1's spell list (2 bytes per spell, 32 spells per character)
64 31A-359 $1519–1558 Guest2's spell list (2 bytes per spell, 32 spells per character)
2 35A-35B $1559–155A GP
8 35C-363 $155B-1562 Current party (00 = Rooks; 2 bytes each)
2 364-365 $1573–1574 Current map
2 366-367 $1577–1578 Window color (Bit depth: 0BBB B0GG GG0R RRR0)
2 368-369 $18CD-18CE Chapter # (01-05)
2 36A-36B $18DF-18E0 Bosses defeated?
8 36C-373 $18E3-18EA Treasure chests opened
2 374-375 $18FF-1900 Story progress/Event flag
2 376-377 $16F7-16F8 Dungeon X pos
2 378-379 $16F9-16FA Dungeon Y pos
2 37A-37B $16FB-16FC Dungeon compass facing
2 37C-37D $187F-1880 ??
2 37E-37F $1881–1882 ??
192 380-43F $16FF-17BE Dungeon map progress
192 440-4FF $17BF-187E Dungeon map progress (mirror)
500-51C Suspected save checksums and colossal waste of time
220 520-5FF Stores 20-FF for some reason