Author Topic: Playing around with some SPC code in ROMs is fun!  (Read 28939 times)

Vehek

  • Errare Explorer (+1500)
  • *
  • Posts: 1761
    • View Profile
Re: Playing around with some SPC code in ROMs is fun!
« Reply #45 on: November 25, 2006, 08:22:53 pm »
This is more related to the FF6 SPC engine, but..
Quote from: FF3info.txt
Word 3 to 11 contains the low 16-bit half of the offset to each channel's data. The high half is the same as the address to the table if the low part is higher than the low part of the address of the table, if it is lower, the high half is the high half of the address to the table +1.
Can you explain what this means?

Quote from: ff3info.txt
F6 aaaa            Goto $aaaa
HOW does it determine where it's going to exactly?
« Last Edit: November 25, 2006, 08:56:37 pm by Vehek »

JCE3000GT

  • Guardian (+100)
  • *
  • Posts: 114
    • View Profile
    • BlitzKrieg Innovations
Re: Playing around with some SPC code in ROMs is fun!
« Reply #46 on: May 21, 2007, 04:30:06 am »
Quote from: ff3info.txt
F6 aaaa            Goto $aaaa
HOW does it determine where it's going to exactly?

Sorry I never answered this question for you.  From what I've been able to figure out it seems as though that F6 aaaa where as $aaaa is actually an internal offset of the SPC sequence.  It may allow the song to jump to sections of itself at the composer's choice.  At least that is my interpretation of it.

My old CT Remixesif anyone wants them.  I uploaded them to the first post of this thread.
http://www.chronocompendium.com/Forums/index.php?action=dlattach;topic=3027.0;attach=1436
« Last Edit: May 21, 2007, 04:32:45 am by JCE3000GT »

Vehek

  • Errare Explorer (+1500)
  • *
  • Posts: 1761
    • View Profile
Re: Playing around with some SPC code in ROMs is fun!
« Reply #47 on: May 21, 2007, 08:06:30 pm »
Part of why I asked that question so long ago was because of some observations I made.
For example, one of the F6 commands in Memories of Green has 58 8B. Looks kind of like a two-byte pointer to me. But if it is, then it should screw up when I paste in a SPC in an arbitrary place.

JCE3000GT

  • Guardian (+100)
  • *
  • Posts: 114
    • View Profile
    • BlitzKrieg Innovations
Re: Playing around with some SPC code in ROMs is fun!
« Reply #48 on: May 22, 2007, 04:17:20 am »
Part of why I asked that question so long ago was because of some observations I made.
For example, one of the F6 commands in Memories of Green has 58 8B. Looks kind of like a two-byte pointer to me. But if it is, then it should screw up when I paste in a SPC in an arbitrary place.

What happend when you tried it? 

Vehek

  • Errare Explorer (+1500)
  • *
  • Posts: 1761
    • View Profile
Re: Playing around with some SPC code in ROMs is fun!
« Reply #49 on: May 22, 2007, 11:18:10 am »
Nothing. Still worked just fine. That's why I wondered.

JCE3000GT

  • Guardian (+100)
  • *
  • Posts: 114
    • View Profile
    • BlitzKrieg Innovations
Re: Playing around with some SPC code in ROMs is fun!
« Reply #50 on: May 22, 2007, 08:43:33 pm »
I guess I'm a genius?  I'll leave your imagination to figure out what this is.   8)  Oh and I've pretty much figured out how to successfully import some previously incompatible songs to FF6.  Which means, I could probably import this song in the attachment here into CT without any trouble. 

Thoughts on the song in the RAR?

[attachment deleted by admin]

Vehek

  • Errare Explorer (+1500)
  • *
  • Posts: 1761
    • View Profile
Re: Playing around with some SPC code in ROMs is fun!
« Reply #51 on: May 22, 2007, 09:03:18 pm »
Good. I think I've imported it into CT, but I don't know what the instruments really should be.

Geiger

  • Guru of Life Emeritus
  • Chronopolitan (+300)
  • *
  • Posts: 315
    • View Profile
    • Geiger's Crypt
Re: Playing around with some SPC code in ROMs is fun!
« Reply #52 on: May 23, 2007, 09:26:08 am »
I guess I'm a genius?

I don't know about genius, but you certainly have some talent.  That's a very faithful re-rendering of Frozen Flame, considering the original song was so far beyond 16 bit era audio.

---T.Geiger

JCE3000GT

  • Guardian (+100)
  • *
  • Posts: 114
    • View Profile
    • BlitzKrieg Innovations
Re: Playing around with some SPC code in ROMs is fun!
« Reply #53 on: May 23, 2007, 05:19:34 pm »
I guess I'm a genius?

I don't know about genius, but you certainly have some talent.  That's a very faithful re-rendering of Frozen Flame, considering the original song was so far beyond 16 bit era audio.

Thanks for the compliment.  How's this one? 

http://www.finalconquest.net/miscellaneous/ff6_spc_remix_field.rar

It's the Field music from Romancing SaGa 3.

Zakyrus

  • Entity
  • Magical Dreamer (+1250)
  • *
  • Posts: 1359
  • "Bouncy, bouncy, bouncy... --!!"
    • View Profile
Re: Playing around with some SPC code in ROMs is fun!
« Reply #54 on: May 28, 2007, 04:37:33 pm »
Hey, JCE3000GT, any chance you could replace the Dungeon Drip noise with the Radical Dreamers Dungeon Ambience?

JCE3000GT

  • Guardian (+100)
  • *
  • Posts: 114
    • View Profile
    • BlitzKrieg Innovations
Re: Playing around with some SPC code in ROMs is fun!
« Reply #55 on: May 28, 2007, 10:14:04 pm »
Hey, JCE3000GT, any chance you could replace the Dungeon Drip noise with the Radical Dreamers Dungeon Ambience?

Most likely.  Anyone got a save state of Radical Dreamers where that's played?  And where is the water drip played in CT again?  And I might need a save state for that.  If I'm successful in importation I'll release an IPS of the change. 

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Re: Playing around with some SPC code in ROMs is fun!
« Reply #56 on: May 28, 2007, 10:58:43 pm »
If you successfully do it release a tutorial o.o...xD

Vehek

  • Errare Explorer (+1500)
  • *
  • Posts: 1761
    • View Profile
Re: Playing around with some SPC code in ROMs is fun!
« Reply #57 on: May 28, 2007, 11:14:49 pm »
The dungeon ambience's played in the catacombs. The water dripping of CT is played in Guardia Castle's Dungeon (if you broke out) and in Norstein Bekkler's lab. But there's no need for you to check those places and find the SPC in the ROM.
0FD13D - Sewer (ambient)

0B13F2   0B1455   SPC   No   No   (20) Dungeon dripping noise   5/12/2003

JCE3000GT

  • Guardian (+100)
  • *
  • Posts: 114
    • View Profile
    • BlitzKrieg Innovations
Re: Playing around with some SPC code in ROMs is fun!
« Reply #58 on: May 28, 2007, 11:28:20 pm »
The dungeon ambience's played in the catacombs. The water dripping of CT is played in Guardia Castle's Dungeon (if you broke out) and in Norstein Bekkler's lab. But there's no need for you to check those places and find the SPC in the ROM.
0FD13D - Sewer (ambient)

0B13F2   0B1455   SPC   No   No   (20) Dungeon dripping noise   5/12/2003

I've never played Radical Dreamers so I don't know where the catacombs are--how far into the game is it?  And I have the offsets for CT, I just forgot where the dripping thing actually played in the game.   :?

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

And not related to the above I've released a patch for you guys adding Frozen Flame from Radical Dreamers into CT.  I repointed the "Battle 2" unused battle theme to the Frozen Flame sequence in an unused data block--didn't think I'd remove Battle 2 incase someone needs it for some reason.  o_O  It is about 95% the same, there is a slight noticable difference--but I think it sounds ok.

http://www.finalconquest.net/miscellaneous/ct-frozen_flame.rar

NOTE: If you wish to use this in your hack/game mod please email or PM me first (either here or my forum) and give me the credit.  I don't have a problem with anyone using it, I just would like credit and to be notified on who's using it for my own sanity.  Thank you.

Vehek

  • Errare Explorer (+1500)
  • *
  • Posts: 1761
    • View Profile
Re: Playing around with some SPC code in ROMs is fun!
« Reply #59 on: June 03, 2007, 04:56:12 pm »
I made a patch for the Dungeon Ambience today. No guarantee it will work, since TF might use the space it takes up.

If you successfully do it release a tutorial o.o...xD
Do you really need a tutorial? I thought you tried some SPC importing before...

1. I went to 0FD13D in the Radical Dreamers ROM and copied the SPC data (the Dungeon ambience ends at 0FD257).
2. I pasted into an unused area of the CT ROM. I picked 061E73.
3. I went to the SPC pointer list and changed Water Dripping's pointer to 73 1E C6.

[attachment deleted by admin]