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.

Secret of Mana (SNES)/ROM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
m (moved Secret of Mana: ROM Map to Secret of Mana:ROM map over redirect: Match template)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{rommap|game=Secret of Mana}}
{{rommap|game=Secret of Mana}}


These are file [[Pointer|addresses]] for the [[ROM header|unheadered ROM]].<br />
These are file [[Pointer|addresses]] for the [[ROM header|unheadered ROM]].


105116 - Enemy Movement and AI data (Each enemy entry ending with FF)<br />
Disassembly is available on the [[Secret Of Mana Bank Disassemblies|this link]].
101DFA - Enemy Stats (First entry - Rabite)<br />
 
D03A50 - Rabite Treasure Chest Drop percentage <br />
=Uncategorized=
D03A53 - Rabite Treasure Chest Item Dropped<br />
<pre>
D8FB9C - Item Prices in stores (First entry - Candy)
105116 = Enemy Movement and AI data (Each enemy entry ending with FF)
101DFA = Enemy Stats (First entry - Rabite)
D03A50 = Rabite Treasure Chest - Drop percentage
D03A53 = Rabite Treasure Chest - Item dropped
D8FB9C = Item prices in stores (First entry - Candy)
</pre>


=Stat related data=
=Stat related data=
==Main Character==
==Main Character==
<br>Level 1
<pre>
<br>0x104213 : Strength
Level 1
<br>0x104214 : Agility
104213 = Strength
<br>0x104215 : Constitution  
104214 = Agility
<br>0x104216 : Intelligence
104215 = Constitution  
<br>0x104217 : Wisdom
104216 = Intelligence
<br>Level 2 is $28 or 40 bytes ahead.
104217 = Wisdom
<br>The rest of the levels (to 99) probably follow the same pattern.
Level 2 is 0x28 (40) bytes ahead.
The rest of the levels (to 99) probably follow the same pattern.
</pre>


=Music Data=
=Music Data=
<br>33D39 SPC pointers
<pre>
<br>33F22 Sample indexes
33D39 = SPC pointers
33F22 = Sample indexes
</pre>


==BRR Data==
==BRR Data==
<br>BRRs (dumped directly from the ROM)
<pre>
<br>
BRRs
<br>(showing direct copy/paste from the ROM)
(Direct copy/paste from the ROM)
<br>
 
<br>8247C3 = 38247
8247C3 = 3----
<br>684EC3  
684EC3 = 3----
<br>4453C3  
4453C3 = 3----
<br>B856C3  
B856C3 = 3----
<br>8E61C3  
8E61C3 = 3----
<br>DA6EC3  
DA6EC3 = 3----
<br>0B7CC3  
0B7CC3 = 3----
<br>C67DC3  
C67DC3 = 3----
<br>D381C3  
D381C3 = 3----
<br>9591C3  
9591C3 = 3----
<br>E2A0C3  
E2A0C3 = 3----
<br>8EBAC3  
8EBAC3 = 3----
<br>3ECAC3  
3ECAC3 = 3----
<br>9BCCC3  
9BCCC3 = 3----
<br>88CFC3  
88CFC3 = 3----
<br>8BE3C3  
8BE3C3 = 3----
<br>
 
<br>3BF3C3  
3BF3C3 = 3----
<br>B7F4C3  
B7F4C3 = 3----
<br>CAFBC3  
CAFBC3 = 3----
<br>0616C4  
0616C4 = 4----
<br>A51EC4  
A51EC4 = 4----
<br>0C23C4  
0C23C4 = 4----
<br>0739C4  
0739C4 = 4----
<br>9C3FC4  
9C3FC4 = 4----
<br>F347C4  
F347C4 = 4----
<br>8959C4  
8959C4 = 4----
<br>5562C4  
5562C4 = 4----
<br>E36CC4  
E36CC4 = 4----
<br>158EC4  
158EC4 = 4----
<br>4C95C4  
4C95C4 = 4----
<br>DA9FC4  
DA9FC4 = 4----
<br>59B0C4  
59B0C4 = 4----
<br>
 
<br>89BBC4
89BBC4 = 4----
</pre>


==SPC Sequence Data==
==SPC Sequence Data==
<br>SPCs (also using the raw copy/paste data from the ROM
<pre>
<br>
SPCs
<br>3DD3C4 Into the Thick of It
(Direct copy/paste from the ROM)
<br>430FC5 Flight into the Unknown
<br>3F96C5 Star of Darkness
<br>56FCC5 Prophecy
<br>78F0C4 Danger
<br>E4FDC4 Far Thunder
<br>B806C5 The Wind Nevere Ceases
<br>4B0AC5 Close your Eyelids
<br>630BC5 Spirit of the Night
<br>AFD7C4 The Fairy Child
<br>BF1FC5 What the Forest Taught Me
<br>DA22C5 Eternal Recurrence
<br>232FC5 Oracle
<br>CB37C5 Tell a Strange Tale
<br>1942C5 Into the Thick of It 2
<br>6647C5 Rose and Ghost
<br>
<br>E14BC5 Did You See the Sea?
<br>7A53C5 The Color of the Summer Sky
<br>855AC5 Menu
<br>645CC5 The Legend
<br>FBDEC4 The Orphan of the Storm
<br>ADE7C4 Eight Ringing Bells
<br>F266C5 Dancing Beasts
<br>336BC5 Victory
<br>466CC5 Boss Defeated
<br>FE6CC5 Cannon Travel Launch
<br>926DC5 Cannon Travel
<br>426FC5 Ceremony
<br>7DA2C5 Always Together
<br>5271C5 A Prayer and a Whisper
<br>2A74C5 Burning Castle (?)
<br>0375C5 Happenings on a Moonlight Night


<br>E77AC5 A Curious Happening
3DD3C4 = 4----  Into the Thick of It
<br>4981C5 Unknown Fanfare (?)
430FC5 = 5----  Flight into the Unknown
<br>44A1C5 Midge Mallet
3F96C5 = 5----  Star of Darkness
<br>0E84C5 Unknown Fanfare (?)
56FCC5 = 5----  Prophecy
<br>D181C5 A Wish
78F0C4 = 4----  Danger
<br>1C85C5 Monarch on the Shore
E4FDC4 = 4----  Far Thunder
<br>CA8DC5 Steel and Traps
B806C5 = 5----  The Wind Never Ceases
<br>3E9BC5 Pure Night
4B0AC5 = 5----  Close your Eyelids
<br>00ACC5 Flammie Coming
630BC5 = 5----  Spirit of the Night
<br>EA9EC5 Kind Memories
AFD7C4 = 4----  The Fairy Child
<br>0CA8C5 The Holy Intruder
BF1FC5 = 5----  What the Forest Taught Me
<br>48ADC5 In the Darkness' Depths
DA22C5 = 5----  Eternal Recurrence
<br>95AEC5 Angel's Fear
232FC5 = 5----  Oracle
<br>EBB7C5 Grumble (?)
CB37C5 = 5----  Tell a Strange Tale
<br>58B8C5 Mara's Key
1942C5 = 5----  Into the Thick of It 2
<br>29B9C5 Got an Item
6647C5 = 5----  Rose and Ghost
 
E14BC5 = 5----  Did You See the Sea?
7A53C5 = 5----  The Color of the Summer Sky
855AC5 = 5----  Menu
645CC5 = 5----  The Legend
FBDEC4 = 4----  The Orphan of the Storm
ADE7C4 = 4----  Eight Ringing Bells
F266C5 = 5----  Dancing Beasts
336BC5 = 5----  Victory
466CC5 = 5----  Boss Defeated
FE6CC5 = 5----  Cannon Travel Launch
926DC5 = 5----  Cannon Travel
426FC5 = 5----  Ceremony
7DA2C5 = 5----  Always Together
5271C5 = 5----  A Prayer and a Whisper
2A74C5 = 5----  Burning Castle (?)
0375C5 = 5----  Happenings on a Moonlight Night
 
E77AC5 = 5----  A Curious Happening
4981C5 = 5----  Unknown Fanfare (?)
44A1C5 = 5----  Midge Mallet
0E84C5 = 5----  Unknown Fanfare (?)
D181C5 = 5----  A Wish
1C85C5 = 5----  Monarch on the Shore
CA8DC5 = 5----  Steel and Traps
3E9BC5 = 5----  Pure Night
00ACC5 = 5----  Flammie Coming
EA9EC5 = 5----  Kind Memories
0CA8C5 = 5----  The Holy Intruder
48ADC5 = 5----  In the Darkness' Depths
95AEC5 = 5----  Angel's Fear
EBB7C5 = 5----  Grumble (?)
58B8C5 = 5----  Mara's Key
29B9C5 = 5----  Got an Item
 
03BAC5 = 5----  Elemental Acquired
D0BAC5 = 5----  Give Love its Rightful Time
B0C5C5 = 5----  The Second Truth From the Left
5DC4C5 = 5----  The Curse
B0DFC5 = 5----  I Won't Forget
1BE1C5 = 5----  Ally Joins
E5E1C5 = 5----  To Reach Tomorrow
62E6C5 = 5----  One of Them is Hope
E2E8C5 = 5----  A Conclusion
F8E9C5 = 5----  Meridian Dance
60F9C5 = 5----  The Wings No Longer Beat
E2E8C5 = 5----  A Conclusion
E2E8C5 = 5----  A Conclusion
E2E8C5 = 5----  A Conclusion
E2E8C5 = 5----  A Conclusion
E2E8C5 = 5----  A Conclusion (wtf?)
</pre>


<br>03BAC5 Elemental Acquired
<br>D0BAC5 Give Love its Rightful Time
<br>B0C5C5 The Second Truth From the Left
<br>5DC4C5 The Curse
<br>B0DFC5 I Won't Forget
<br>1BE1C5 Ally Joins
<br>E5E1C5 To Reach Tomorrow
<br>62E6C5 One of Them is Hope
<br>E2E8C5 A Conclusion
<br>F8E9C5 Meridian Dance
<br>60F9C5 The Wings No Longer Beat
<br>E2E8C5 A Conclusion
<br>E2E8C5 A Conclusion
<br>E2E8C5 A Conclusion
<br>E2E8C5 A Conclusion
<br>E2E8C5 A Conclusion (wtf?)
<br>
==SPC Sequence Commands==
==SPC Sequence Commands==
<br>00-0D - Play note, C
<pre>
<br>0E-1B - Play note, C#
00-0D = Play note, C
<br>1C-29 - Play note, D
0E-1B = Play note, C#
<br>2A-37 - Play note, D#
1C-29 = Play note, D
<br>38-45 - Play note, E
2A-37 = Play note, D#
<br>46-53 - Play note, F
38-45 = Play note, E
<br>54-61 - Play note, F#
46-53 = Play note, F
<br>62-6F - Play note, G
54-61 = Play note, F#
<br>70-7D - Play note, G#
62-6F = Play note, G
<br>7E-8B - Play note, A
70-7D = Play note, G#
<br>8C-99 - Play note, A#
7E-8B = Play note, A
<br>9A-A7 - Play note, B
8C-99 = Play note, A#
<br>A8-BF - Play note, B#
9A-A7 = Play note, B
<br>C0-CE - rest
A8-BF = Play note, B#
<br>
C0-CE = Rest
<br>D2 xx - set instrument volume to xx
 
<br>D3 xx - ???
D2 xx       = Set instrument volume to xx
<br>D4 xx - pan channel left or right [$00 = Right, $64 = middle, $FF = Left] (reverse stereo)
D3 xx       = ???
<br>D7 ss tt dd - Vibrato: ss = speed, tt = time until vibrato, dd = depth
D4 xx       = Pan channel left or right [$00 = Right, $64 = Middle, $FF = Left] (Reverse stereo)
<br>E0 - Vibrato off?
D7 ss tt dd = Vibrato: ss = Speed, tt = Time until vibrato, dd = Depth
<br>E1 - ???
E0         = Vibrato off?
<br>E2 - ???
E1         = ???
<br>E3 - ???
E2         = ???
<br>E4 xx - change pitch to xx
E3         = ???
<br>E5 xx - lenth of next note is xx
E4 xx       = Change pitch to xx
<br>EA xx - change instrument to xx
E5 xx       = Length of next note is xx
<br>F0 xx yy - ???
EA xx       = Change instrument to xx
<br>F1 - ???
F0 xx yy   = ???
<br>F2 - end of channel
F1         = ???
<br>F3 xx - change tempo to xx
F2         = End of channel
<br>F4 - ???
F3 xx       = Change tempo to xx
<br>F5 xx - set reverb to xx
F4         = ???
<br>F6 - ???
F5 xx       = Set reverb to xx
<br>F7 xx yy - ???
F6         = ???
<br>F8 xx - set global SPC volume to xx
F7 xx yy   = ???
<br>FF - end of sequence?
F8 xx       = Set global SPC volume to xx
FF         = End of sequence?
</pre>


=Map related data=
=Map related data=
==Potos Village==
==Potos Village==
A933F - Music byte for Potos Village<br />
<pre>
A9340 - Fade out time for previous song and echo effect of currnet song<br />
A933F = Music byte for Potos Village
A9341 - Music volume related<br />
A9340 = Fade out time for previous song and echo effect of currnet song
A9342 - Unknown<br />
A9341 = Music volume related
A9343 - Event after music fades upon entering location<br />
A9342 = Unknown
A9344 - Also an event byte upon entering location<br />
A9343 = Event after music fades upon entering location
A9344 = Also an event byte upon entering location
</pre>


==Exit Data==
==Exit Data==
Exit Data (4 bytes each)<br />
<pre>
C83000 - SNES Address<br />
83000 - Exit Data (4 bytes entries)
83000 - File Address<br />
 
    *Byte 1 - Destination<br />
    *Byte 2 - Destination X coord<br />
    *Byte 3 - Destination Y coord<br />
    *Byte 4 - Destination entrance style<br />


[[Category:Secret of Mana|ROM map]]
* Byte 1 = Destination
* Byte 2 = Destination X coord
* Byte 3 = Destination Y coord
* Byte 4 = Destination entrance style
</pre>
{{Internal Data|game=Secret of Mana}}

Latest revision as of 21:21, 28 January 2024

Chip tiny.png The following article is a ROM map for Secret of Mana (SNES).

These are file addresses for the unheadered ROM.

Disassembly is available on the this link.

Uncategorized

105116 = Enemy Movement and AI data (Each enemy entry ending with FF)
101DFA = Enemy Stats (First entry - Rabite)
D03A50 = Rabite Treasure Chest - Drop percentage
D03A53 = Rabite Treasure Chest - Item dropped
D8FB9C = Item prices in stores (First entry - Candy)

Stat related data

Main Character

Level 1
104213 = Strength
104214 = Agility
104215 = Constitution 
104216 = Intelligence
104217 = Wisdom
Level 2 is 0x28 (40) bytes ahead.
The rest of the levels (to 99) probably follow the same pattern.

Music Data

 33D39 = SPC pointers
 33F22 = Sample indexes

BRR Data

BRRs
(Direct copy/paste from the ROM)

8247C3 = 3----
684EC3 = 3----
4453C3 = 3----
B856C3 = 3----
8E61C3 = 3----
DA6EC3 = 3----
0B7CC3 = 3----
C67DC3 = 3----
D381C3 = 3----
9591C3 = 3----
E2A0C3 = 3----
8EBAC3 = 3----
3ECAC3 = 3----
9BCCC3 = 3----
88CFC3 = 3----
8BE3C3 = 3----

3BF3C3 = 3----
B7F4C3 = 3----
CAFBC3 = 3----
0616C4 = 4----
A51EC4 = 4----
0C23C4 = 4----
0739C4 = 4----
9C3FC4 = 4----
F347C4 = 4----
8959C4 = 4----
5562C4 = 4----
E36CC4 = 4----
158EC4 = 4----
4C95C4 = 4----
DA9FC4 = 4----
59B0C4 = 4----

89BBC4 = 4----

SPC Sequence Data

SPCs
(Direct copy/paste from the ROM)

3DD3C4 = 4----   Into the Thick of It
430FC5 = 5----   Flight into the Unknown
3F96C5 = 5----   Star of Darkness
56FCC5 = 5----   Prophecy
78F0C4 = 4----   Danger
E4FDC4 = 4----   Far Thunder
B806C5 = 5----   The Wind Never Ceases
4B0AC5 = 5----   Close your Eyelids
630BC5 = 5----   Spirit of the Night
AFD7C4 = 4----   The Fairy Child
BF1FC5 = 5----   What the Forest Taught Me
DA22C5 = 5----   Eternal Recurrence
232FC5 = 5----   Oracle
CB37C5 = 5----   Tell a Strange Tale
1942C5 = 5----   Into the Thick of It 2
6647C5 = 5----   Rose and Ghost

E14BC5 = 5----   Did You See the Sea?
7A53C5 = 5----   The Color of the Summer Sky
855AC5 = 5----   Menu
645CC5 = 5----   The Legend
FBDEC4 = 4----   The Orphan of the Storm
ADE7C4 = 4----   Eight Ringing Bells
F266C5 = 5----   Dancing Beasts
336BC5 = 5----   Victory
466CC5 = 5----   Boss Defeated
FE6CC5 = 5----   Cannon Travel Launch
926DC5 = 5----   Cannon Travel
426FC5 = 5----   Ceremony
7DA2C5 = 5----   Always Together
5271C5 = 5----   A Prayer and a Whisper
2A74C5 = 5----   Burning Castle (?)
0375C5 = 5----   Happenings on a Moonlight Night

E77AC5 = 5----   A Curious Happening
4981C5 = 5----   Unknown Fanfare (?)
44A1C5 = 5----   Midge Mallet
0E84C5 = 5----   Unknown Fanfare (?)
D181C5 = 5----   A Wish
1C85C5 = 5----   Monarch on the Shore
CA8DC5 = 5----   Steel and Traps
3E9BC5 = 5----   Pure Night
00ACC5 = 5----   Flammie Coming
EA9EC5 = 5----   Kind Memories
0CA8C5 = 5----   The Holy Intruder
48ADC5 = 5----   In the Darkness' Depths
95AEC5 = 5----   Angel's Fear
EBB7C5 = 5----   Grumble (?)
58B8C5 = 5----   Mara's Key
29B9C5 = 5----   Got an Item

03BAC5 = 5----   Elemental Acquired
D0BAC5 = 5----   Give Love its Rightful Time
B0C5C5 = 5----   The Second Truth From the Left
5DC4C5 = 5----   The Curse
B0DFC5 = 5----   I Won't Forget
1BE1C5 = 5----   Ally Joins
E5E1C5 = 5----   To Reach Tomorrow
62E6C5 = 5----   One of Them is Hope
E2E8C5 = 5----   A Conclusion
F8E9C5 = 5----   Meridian Dance
60F9C5 = 5----   The Wings No Longer Beat
E2E8C5 = 5----   A Conclusion
E2E8C5 = 5----   A Conclusion
E2E8C5 = 5----   A Conclusion
E2E8C5 = 5----   A Conclusion
E2E8C5 = 5----   A Conclusion (wtf?)

SPC Sequence Commands

00-0D = Play note, C
0E-1B = Play note, C#
1C-29 = Play note, D
2A-37 = Play note, D#
38-45 = Play note, E
46-53 = Play note, F
54-61 = Play note, F#
62-6F = Play note, G
70-7D = Play note, G#
7E-8B = Play note, A
8C-99 = Play note, A#
9A-A7 = Play note, B
A8-BF = Play note, B#
C0-CE = Rest

D2 xx       = Set instrument volume to xx
D3 xx       = ???
D4 xx       = Pan channel left or right [$00 = Right, $64 = Middle, $FF = Left] (Reverse stereo)
D7 ss tt dd = Vibrato: ss = Speed, tt = Time until vibrato, dd = Depth
E0          = Vibrato off?
E1          = ???
E2          = ???
E3          = ???
E4 xx       = Change pitch to xx
E5 xx       = Length of next note is xx
EA xx       = Change instrument to xx
F0 xx yy    = ???
F1          = ???
F2          = End of channel
F3 xx       = Change tempo to xx
F4          = ???
F5 xx       = Set reverb to xx
F6          = ???
F7 xx yy    = ???
F8 xx       = Set global SPC volume to xx
FF          = End of sequence?

Map related data

Potos Village

 A933F = Music byte for Potos Village
 A9340 = Fade out time for previous song and echo effect of currnet song
 A9341 = Music volume related
 A9342 = Unknown
 A9343 = Event after music fades upon entering location
 A9344 = Also an event byte upon entering location

Exit Data

 83000 - Exit Data (4 bytes entries)

 * Byte 1 = Destination
 * Byte 2 = Destination X coord
 * Byte 3 = Destination Y coord
 * Byte 4 = Destination entrance style