Author Topic: Final Fantasy V  (Read 14630 times)

JCE3000GT

  • Master of FF4
  • *
  • Posts: 1,411
  • Gender: Male
  • Vladof
    • View Profile
    • BlitzKrieg Innovations
Re: Final Fantasy V
« Reply #15 on: May 08, 2009, 01:03:31 AM »
Not sure if I should remove my previous post first or not, but anyway.
Here's what I have based off the Japanese page and some comparisons of the SPC SPC700 code to the "S-SPC" core.

Quote
D3 xx - Volume slide
D5 xx yy - Channel pan slide
D6 xx yy - Pitch slide
D8 - Vibrato off
D9 xx yy zz- Tremolo?
DA - Tremelo off?

DB xx yy zz - Pan loop on?
DC - Pan loop off?
DD xx - Noise
DE - Noise off

E2 - Echo on
E3 - Echo off
E5 - Go up an octave
E6 - Go down an octave
E7  xx - Transpose
E8 xx - Transpose Relative
E9 xx - Finetune
F0 xx - Start loop (xx + 1 times)
F1 - End loop
F2 & FC-FF - End channel
F4 xx yy - Tempo slide?
F5  xx - Echo volume?
F6 xx yy - Echo Volume Slide?
F9 xx yy zz - End loop after xx times and go to zzyy.
FA xx yy - Go to yyxx


Interesting.  Combine that with what I have and it should be pretty close to being documented.   :omghax:

Vehek

  • Siren
  • *
  • Posts: 75
    • View Profile
Re: Final Fantasy V
« Reply #16 on: May 10, 2009, 05:18:29 PM »
I left out some:
  • F7 xx yy - xx = Echo FB, yy = FIRx
Quote from: ffbin
  • EB xx      Attack [xx: 00-0F]
  • EC xx      Decay [xx: 00-07]
  • ED xx      Sustain Level[xx: 00-07]
  • EE xx      Sustain Rate[xx: 00-1F]
  • EF      ADSR の値を元に戻す (ADSR Reset)
Pan apparently takes values double that of the "S-SPC" core in FF6 and other games.
E0, E1, and FB are still unknown.

I've modified a MML2SPC tool for CT to produce FF5-type SPC data, but the recent happenings scare me.

JCE3000GT

  • Master of FF4
  • *
  • Posts: 1,411
  • Gender: Male
  • Vladof
    • View Profile
    • BlitzKrieg Innovations
Re: Final Fantasy V
« Reply #17 on: August 17, 2009, 11:56:55 PM »
FFV - Fanfare SPC sequence as interpreted by me:

0001 - Length (starts after this byte)
CB8A - channel pointer
CB8A - channel pointer (remove to import to MQ and reduce the length by 2 bytes)
FB8A - channel pointer
148B - channel pointer
2D8B - channel pointer
4A8B - channel pointer
5C8B - channel pointer
7D8B - channel pointer
9D8B - channel pointer
B78B - channel pointer
F3 78 - change tempo to 120
F7 64 00 - ???
F5 32 - set reverb for sequence to 50
F8 AA - set global sequence volume to 170
D2 FA - set sample volume to 250
D4 6E - pan channel [$00 = Right, $64 = middle, $FF = Left] (reverse stereo)
EA 20 - change sample to #1 on the sample index list
D7 0C 14 C3 - set vibrato: speed 12, time interval 18 and depth of 195
E2 - ???
E4 04 - change sample octave to 4
B1 - rest
E5 1B - length of next note is 27
39 48 65 83 92 AA B0 CE B0 CE B0 CE F3 6E - notes and rests
E5 05 - length of next note is 5
F3 64 - change temple to 100
23 - note
F3 5A - change tempo to 90
3C - note
F2 - end of channel
D2 FA - sample volume to 250
D4 64 - pan channel [$00 = Right, $64 = middle, $FF = Left] (reverse stereo)
EA 20 - change sample to #1
D7 0C 14 C3 - set vibrato: speed 12, time interval 18 and depth of 195
E2 - ???
C8 - rest
E4 05  - set sample octave to 5
7D 83 CE 83 CE 83 CE 6E 8C 78 - notes and rests
F2 - end of channel
D2 FA - change sample volume to 250
D4 5A - pan channel [$00 = Right, $64 = middle, $FF = Left] (reverse stereo)
EA 20 - change sample to #1
D7 0C 14 C3 - set vibrato: speed 12, time interval 18 and depth of 195
E2 - ???
C8 - rest
E4 05 - change sample octave to 5
41 47 CE 47 CE 47 CE 41 5F 3C - notes and rests
F2 - end of channel
D2 FA - change sample volume to 250
D4 50 - pan channel [$00 = Right, $64 = middle, $FF = Left] (reverse stereo)
EA 21 - change sample to #2
E2 - ???
C8 - rest
E4 03 - change sample octave to 3
AA AE AE AE - notes
E5 05 - change length of next note to 5
23 41 - notes
D3 90 - ???
32 - note
F0 11 47 - ???
F1 - ???
D2 64 - change sample volume to 250
3E - note
F2 - end of channel
D2 FA - change sample volume to 250
D4 96 - pan channel [$00 = Right, $64 = middle, $FF = Left] (reverse stereo)
EA 22 - change sample to #3
D7 0C 14 C3 - set vibrato: speed 12, time interval 18 and depth of 195
E2 - ???
C8 - rest
E4 05 - change sample octave to 5
89 89 87 - notes
F2 - end of channel
D2 96 - change sample volume to 150
D4 78 - pan channel [$00 = Right, $64 = middle, $FF = Left] (reverse stereo)
EA 23 - change sample to #4
D7 0C 14 C3 - set vibrato: speed 12, time interval 18 and depth of 195
E2 - ???
E4 04 - change sample octave to 4
B1 - note
E5 1B - change length of next note to 27
39 48 65 83 92 AA B0 CE B0 CE B0 CE - notes and rests
E5 05 - change length of next note to 5
23 3C - notes
F2 - end of channel
D2 96 - change sample volume to 150
D4 82 - pan channel [$00 = Right, $64 = middle, $FF = Left] (reverse stereo)
EA 23 - change sample to #4
D7 0C 14 C3 - set vibrato: speed 12, time interval 18 and depth of 195
E2 - ???
E4 04- change sample octave to 4
84 93 B1 - notes
E5 1B - change length of next note to 27
38 47 65 7D 83 CE 83 CE 83 CE 6E 5F 78 - notes and rests
F2 - end of channel
D2 96 - change sample volume to 150
D4 8C - pan channel [$00 = Right, $64 = middle, $FF = Left] (reverse stereo)
EA 23 - change sample to #4
D7 0C 14 C3 - set vibrato: speed 12, time interval 18 and depth of 195
E2 - ???
C8 - rest
E4 03 - change sample octave to 3
AA B0 CE B0 CE B0 CE  - notes and rests
E5 05 - change length of next note to 5
23 3C  - notes
F2 - end of channel (and in this case the sequence)

Ok so, this is almost the entire sequence right?  So can someone use this and rewrite it to work in FF6, CT or RS3?  I'm curious to see if this will translate.  I think the header will need to be rewriten but I think just changing the SPC sequence commands SHOULD make this playable.  And thus maybe someone *cough* can write some sort of converter after we figure out the unknown commands. 

 :omghax:

Vehek

  • Siren
  • *
  • Posts: 75
    • View Profile
Re: Final Fantasy V
« Reply #18 on: August 18, 2009, 12:19:48 AM »
I pointed out before that FFV has one more note length than the FF6/CT/etc. SPC core. (I think it's a 3/4 note.) Because of this, the pitches begin at different places in FFV's SPC core.

I made a FFV-SPC to MML converter a while back.

JCE3000GT

  • Master of FF4
  • *
  • Posts: 1,411
  • Gender: Male
  • Vladof
    • View Profile
    • BlitzKrieg Innovations
Re: Final Fantasy V
« Reply #19 on: August 18, 2009, 12:25:07 AM »
I pointed out before that FFV has one more note length than the FF6/CT/etc. SPC core. (I think it's a 3/4 note.) Because of this, the pitches begin at different places in FFV's SPC core.

I made a FFV-SPC to MML converter a while back.

Did I miss this?

Vehek

  • Siren
  • *
  • Posts: 75
    • View Profile
Re: Final Fantasy V
« Reply #20 on: August 18, 2009, 01:21:13 AM »
Which one? The note length,  I briefly mentioned on March 31, 2009 in my October 27, 2008 post.

I never really talked about my conversion work much, besides maybe a mention on the Compendium in your SPC hacking topic.

Like RS2, there seems to be a tempo difference.

I don't know if I'll actually release the program, because I feel somewhat embarrassed by my programming. (For example, lacking error-proofing against trying to open non-existant files.)
« Last Edit: August 18, 2009, 01:43:59 AM by Vehek »

Squall

  • Liquid Flame
  • *
  • Posts: 307
    • View Profile
Re: Final Fantasy V
« Reply #21 on: July 05, 2016, 08:18:21 AM »
Do you guys have some of the FF5 tunes in .spc format?

Jorgur

  • FF5 R&D Master
  • *
  • Posts: 431
  • Gender: Male
    • View Profile
Re: Final Fantasy V
« Reply #22 on: July 19, 2016, 08:03:40 AM »
You mean the ingame music? Try zophar.net

Squall

  • Liquid Flame
  • *
  • Posts: 307
    • View Profile
Re: Final Fantasy V
« Reply #23 on: July 20, 2016, 04:17:57 AM »
Yes, that ones, thank you Jorgur!

BTW what player are you using for .spc?

x0_000

  • Antlion
  • *
  • Posts: 57
    • View Profile
Re: Final Fantasy V
« Reply #24 on: July 20, 2016, 02:30:34 PM »
I use foobar, not sure if it requires a plugin or not.

Squall

  • Liquid Flame
  • *
  • Posts: 307
    • View Profile
Re: Final Fantasy V
« Reply #25 on: July 21, 2016, 06:45:32 AM »
I'm using JCOM-SPC (something like this).
I'm amused by the quality of the sound. I'm not sure is it because of .spc or the player but 64k size with excellent sound ... compare to 4-5mb mp3 :)
Makes me wonder how really the thing sounded trough real console ...

Jorgur

  • FF5 R&D Master
  • *
  • Posts: 431
  • Gender: Male
    • View Profile
Re: Final Fantasy V
« Reply #26 on: July 29, 2016, 06:22:58 AM »
I use Winamp w/SNESamp.