+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  SPC core info: FF2us, FF5, Mystic Quest, SD2/SoM
Pages: [1]
Author Topic: SPC core info: FF2us, FF5, Mystic Quest, SD2/SoM  (Read 2 times)
JCE3000GT
Guest
« on: January 09, 2008, 06:45:22 pm »

I'm feeling generous.

Quote from: Seiken Densetsu 2 / Secret of Mana
Offsets without header.

33D39   SPC pointers
33F22   Sample indexes

===============================================
BRRs

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

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

89BBC4   

===============================================
SPCs - I'm filling these in

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

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

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

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

Quote from: Mystic Quest
Offsets without header.
6BDAE         Pointers to SPCs
6BDFF         Pointers to BRRs
6BEA1-6C1E1      Instrument sample indexes
6C201         BRR samples
750FD         SPC sequences

========================================

750FD      Silence
78573      Battle 1
78B68      Battle 2
79320      Battle 3
79B73      Victory!
79E0A      World
79F87      Fossil Labryrinth
7A29A      Dungeon of Ice
7A84E      Lava Dome
7AE4E      Mountain Range of Whirlwinds
7B20B      Dungeon and Waterfall
7B504      Middle Tower
7B779      Last Castle
7BF2E      Beautiful Forest
7C2F8      Shrine of Light
7C743      City of Earth ~ Foresta
7CC41      City of Ice ~ Aquaria
7D151      City of Fire ~ Faeria
7DA03      City of Wind ~ Windaria
7DF42      Rock 'n' Roll
7E410      Rock Theme
7E810      Fanfare of Friendship
7E8C2      Mystic Ballad
7EAAB      Hill of Fate
7EEDD      Mystic Quest
7F473      Ending
7FBD3      The Crystal

========================================

[same commands as FF5 & SD2/SoM]

D2 xx      change instrument volume to xx
D4 xx      Pan= 00-7F Left, 80-FF Right

E4 xx      Change instrument octave to xx
EA xx      Change instrument to xx
EC xx yy   
ED xx      

F3 xx      Set tempo to xx
F5 xx      Set echo to xx
F7 xx yy
F8 xx      Set global sequence volume to xx
FA xx      

========================================

00   Nothing
01   Guitar
02   Kick Drum
03   Brass Section
04   Distortion Guitar
05   Synth Bass
06   Flute 1
07   Hihat
08   Flute 2
09   Rock Organ
0A   Electric Bass
0B   Snare Drum (loop)
0C   Strings
0D   Conga Drum
0E   Trumpet
0F   Xylophone
10   Cymbal Crash
11   Timpani
12   Wood Block

Quote from: Final Fantasy V
Offsets without header.
$C4/0222 BF 97 3B C4 LDA $C43B97,x   SPC Pointers 24bit (JCE)
$C4/0226 85 14       STA $14
$C4/0228 BF 98 3B C4 LDA $C43B98,x   "      "
$C4/022C 85 15       STA $15
$C4/022E BF 99 3B C4 LDA $C43B99,x   "      "
$C4/0232 85 16       STA $16

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      - Huh
C0-CB      - rest

D2 xx      - set instrument volume to xx
D3 xx      - Huh
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      - Huh
E2 ss tt dd   - Tremolo: ss = speed, tt = time until tremolo, dd = depth
E3      - Tremolo off?
E4 xx      - change pitch to xx
E5 xx      - lenth of next note is xx
EA xx      - change instrument to xx
F0      - Huh
F1      - Huh
F2       - Huh
F3 xx      - change tempo to xx
F4      - Huh
F5 xx      - set reverb to xx
F6      - Huh
F7       - Huh
F8 xx      - set global SPC volume to xx
FF       - end of channel

E8E5C5 5E5E8
7AEBC5 5EB7A
B4F1C5 5F1B4
57FAC5 5FA57
1DFFC5 5FF1D
9503C6 60395
4E07C6 6074e
CD0BC6 60bcd
E30EC6 60ee3
D812C6 612d8
9D1EC6 61e9d
9F1FC6 61f9f
8121C6 62181
C225C6 625c2
7D28C6 6287d
FD2AC6 62afd
E42CC6 62ce4
712FC6 62f71
8D2FC6 62f8d
5732C6 63257
4736C6 63647
E63CC6 63ce6
A241C6 641a2
3F45C6 6453f
8147C6 64781
B94AC6 64ab9
D94CC6 64cd9
1251C6 65112
B052C6 652b0
0459C6 65904
C15CC6 65cc1
98BCC6 6bc98
7960C6 66079
FA65C6 665fa
3B6EC6 66e3b
6178C6 67861
10B7C6 6b710
537EC6 67e53
A3A4C6 6a4a3
C47FC6 67fc4
A385C6 685a3
B58AC6 68ab5
B78BC6 68bb7
32C0C6 6c032
5A8DC6
7490C6
8A94C6
0D99C6
9F9AC6
E09CC6
AAA1C6
BEA7C6
F6ACC6
64B3C6
7BADC6
0EB4C6
4BAEC6
03B6C6
E2B4C6
30B0C6
CBB1C6
96BAC6
8BC5C6
AEC7C6
42CDC6
00C8D0
7BDBC6
C5E1C6
44E8C6
F2FCC6
C4FDC6
FEFDC6
AA46C4
3851C4
135DC4
A96EC4
FA7CC4
F592C4
5C97C4
F2A8C4
88BAC4
FBC4C4
BBC7C4
3DE7C4
19F5C4
84F8C4
1500C5
8D02C5
5C08C5
7A13C5
8924C5
7126C5
012CC5
0233C5
B03EC5
4650C5
BB70C5
7387C5
9192C5
BFA2C5
DEB8C5
00F8DB
49BCC5
09C8C5
96D0C5
00F0D4
79DAC5

43DAA = Sample indexes

Song ID Numbers courtesy of Lenophis:
00: Ahead on Our Way
01: The Fierce Battle
02: A Presentiment
03: Go go Boco!
04: Pirates Ahoy!
05: Tenderness in the Air
06: Fate in Haze
07: Critter Tripper Fritter!
08: The Prelude
09: The Last Battle
0A: Requiem
0B: Nostalgia
0C: Cursed Earths
0D: Lenna's Theme
0E: Victory's Fanfare
0F: Deception
10: The Day will Come
11: ...silence
12: Exdeath's Castle
13: My Home, Sweet Home
14: Waltz Suomi
15: Sealed Away
16: The Four Warriors of Dawn
17: Danger!
18: The Fire-Powered Ship
19: As I Feel, You Feel
1A: Mambo de Chocobo!
1B: Music Box
1C: Intension of the Earth
1D: The Dragon Spreads its Wings
1E: Beyond the Deep Blue Sea
1F: Prelude of Empty Skies
20: Searching the Light
21: Harvest
22: Gilgamesh
23: Four Valiant Hearts
24: The Book of Sealings
25: What?
26: Hurry! Hurry!
27: Unknown Lands
28: The Airship
29: Fanfare #1
2A: Fanfare #2
2B: The Battle
2C: Walking the Snowy Mountains
2D: The Evil Lord, Exdeath
2E: The Castle of Dawn
2F: I'm a Dancer
30: Reminiscence
31: Run!
32: The Ancient Library
33: Royal Palace
34: Good Night!
35: Piano lesson 1
36: Piano lesson 2
37: Piano lesson 3
38: Piano lesson 4
39: Piano lesson 5
3A: Piano lesson 6
3B: Piano lesson 7
3C: Piano lesson 8
3D: Musica Machina
3E: (a meteor is falling)
3F: The Land Unknown
40: The Decisive Battle
41: The Silent Beyond
42: Dear Friends
43: Final Fantasy
44: A New Origin
45: (crickets chirping)
46: a shore
47: the tide rolls in

Quote from: Final Fantasy II US
SPC Instrument Index (without header) - 2400F
BRR Samples (without header) - 2498A


SPC Song sequences (offsets with header):

3770E-      Nothing [00]
37727-      Final Fantasy [01]
37AE8-      Wishing Tower    [02]
37BE6-      Fanfare (Dummy) [03]
37D0F-      Yellow Chocobo [04]
3804A-      Black Chocobo [05]
3830C-      Underworld [06]
38871-      Zeromus [07]
393E4-      Victory Fanfare [08]
3963C-      Town [09]
39837-      Rydia [0A]
39C1C-      Boss Music [0B]
3A435-      Mt. Ordeals [0C]
3A7D0-      Overworld [0D]
3ABDB-      Big Whale [0E]
3B092-      Sad Music [0F]

3B1FA-      Tent/Cabin [10]
3B2BC-      Golbez [11]
3B5A3-      Sorrow [12]
3B785-      Rosa [13]
3BAF5-      Baron Castle [14]
3BDAF-      The Prelude [15]
3C361-      Suspicions [16]
3C503-      Tower of Zot [17]
3C8CE-      Airship [18]
3CC15-      Tower of Bab-il [19]
3CFA3-      Fight 2 [1A]
3D463-      Within the Giant [1B]
3D8AD-      Cave of Summoned Monsters [1C]
3DAEA-      Destruction [1D]
3DD10-      Lunar Path [1E]
3DF4D-      Surprise! [1F]

3E043-      Dwarf Castle [20]
3E255-      Palom/Porom [21]
3E508-      Calcobrena [22]
3E6A7-      Hurry! [23]
3E8F7-      Cid [24]
3EC78-      Into the Darkness [25]
3F13A-      Dancing Music [26]
3F411-      Fight 1 [27]
3F8D4-      Castle Eblan [28]
3FAE4-      Character Joined! [29]
3FBFF-      Character Died [2A]
3FCE3-      Chocobo Forest [2B]
3FDC7-      Opening [2C]
40139-      Sad 2 [2D]
40227-      Castle Fabul [2E]
40435-      Fanfare (Became a Paladin) [2F]

40666-      Lard Ass Chocobo [30]
407A2-      Moon's Surface [31]
40A84-      Toroia [32]
40E4C-      Mysidia [33]
41163-      Lunar Subterrane [34]
41462-      Ending Part 1 [35]
41F76-      Ending Part 2 [36]
42E5C-      Ending Part 3 [37]


SPC Song Sequence info:
Header:
01-02 = Length of sequence
03-18 = Channel loop info

Commands:
D2 xx yy zz   Fade in tempo, the higher the xx yy the slower the song, zz is the rate in which it fades in

DA xx      set octave to xx
DB xx      change instrument to xx
DC xx      Set transpose
DD xx      Increment transpose
DE xx      change volume of current instrument to xx
DF      
E0 xx      Length of the next following note(s) is xx?      
E1      
E2   

EA      

F0      Repeat last measure?
   
F2 xx yy   
F3 xx yy   

==========================================================

Samples:

01   Strings
02   Harp?
03   Grand Piano
04   Harp
05   Pipe Organ
06   Trumpet
07   Flute
08   Xylophone
09   Bass Guitar
0A   Timpani
0B   Electric Piano
0C   Snare Drum
0D   Kick Drum
0E   Snare Drum (hard)
0F   Conga Drum
10   Cymbals (loop)
11   Hihat
12   Cowbell
13   Shaker
14   Whistle
15   Conga Drum
16   Chocobo

*edt*
Incase no one has either noticed or seen Mystic Quest, Secret of Mana (SD2), and Final Fantasy V all use the same basic SPC core.  MQ is a bit different in the header--but the commands are the same.  Here is an example of me importing FF5 --> SoM and vise versa.

http://www.youtube.com/watch?v=My1Z8lFeTHo

http://www.youtube.com/watch?v=LUiRIyWiNKU
« Last Edit: January 10, 2008, 06:13:27 pm by JCE3000GT »
Neil
Guest
« Reply #1 on: January 02, 2009, 09:11:24 am »

-necrobump to save a thread from the great board prune of 2009-
Nerd42
Guest
« Reply #2 on: January 09, 2009, 05:20:58 pm »

hmm ... with this data ... does it make it possible / easy to put custom songs in those games?

I'd really like to put Pink Floyd "Dark Side of the Moon" music into the Wizard of Oz rom. LOL Smiley
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC