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

Vehek

  • Errare Explorer (+1500)
  • *
  • Posts: 1761
    • View Profile
Re: Playing around with some SPC code in ROMs is fun!
« Reply #150 on: June 12, 2008, 04:28:31 am »
Not very long ago, I managed to successfully use a music importer for RS3. It can import and export Music Macro Language files. According to the program's readme, it can also read from (and maybe write; I haven't really tested it yet) some other games.
Google Translation of part of readme:
  • ROMANCING SAGA 3 (Ver1.1)
  • FINAL FANTASY 6
  • ROMANCING SAGA 2
  • LIVE A LIVE
  • Chrono Trigger
  • RAJIKARUDORIMAZU
  • FRONT MISSION (Ver1.1)
  • GUN HAZARD
  • ROMANCING SAGA (Ver1.1)
Here's an experiment I did with converting a midi to MML and then adjusting it and importing it. Original was a midi from VGMusic. (PTCG boss music)


[attachment deleted by admin]

MathOnNapkins

  • Iokan (+1)
  • *
  • Posts: 13
    • View Profile
Re: Playing around with some SPC code in ROMs is fun!
« Reply #151 on: June 13, 2008, 03:32:10 pm »
Now this isn't anything to have to do importing a song into CT, but deals with a song in CT itself, Schala's theme. If played for a really long time, the song De syncs. Lenophis mention this to me a few months back, and i just decided to check it out, and after it's been playing for... 504 minutes it sounds quite off.

Who do you think discovered that?  :mrgreen:

ZeaLitY

  • Entity
  • End of Timer (+10000)
  • *
  • Posts: 10797
  • Spring Breeze Dancin'
    • View Profile
    • My Compendium Staff Profile
Re: Playing around with some SPC code in ROMs is fun!
« Reply #152 on: July 01, 2008, 10:14:52 pm »
You imported that to Chrono Trigger? If this is viable, then we have a way of inserting (relatively passable sounding at first) original music into the game.

Vehek

  • Errare Explorer (+1500)
  • *
  • Posts: 1761
    • View Profile
Re: Playing around with some SPC code in ROMs is fun!
« Reply #153 on: July 01, 2008, 10:57:52 pm »
Romancing Sa-Ga 3 actually. But since we can import songs from RS3, yeah, custom songs in CT should be possible.
« Last Edit: July 01, 2008, 11:01:55 pm by Vehek »

Vehek

  • Errare Explorer (+1500)
  • *
  • Posts: 1761
    • View Profile
Re: Playing around with some SPC code in ROMs is fun!
« Reply #154 on: July 06, 2008, 05:30:05 pm »
You can see my not-so-good attempt to write a tutorial about the tool I used here:
http://slickproductions.org/forum/index.php?topic=612.0

MathOnNapkins

  • Iokan (+1)
  • *
  • Posts: 13
    • View Profile
Re: Playing around with some SPC code in ROMs is fun!
« Reply #155 on: July 11, 2008, 11:47:31 am »
According to what DJBouche has told me, MIDI would be the best format to import from for the Square sound engines. So yeah... not surprised.

On a related note, does anyone know if Treasure Hunter G has the same sound engine type as most other square games?

BROJ

  • CC:DBT Dream Team
  • Errare Explorer (+1500)
  • *
  • Posts: 1567
    • View Profile
Re: Playing around with some SPC code in ROMs is fun!
« Reply #156 on: July 28, 2008, 03:33:46 pm »
According to what DJBouche has told me, MIDI would be the best format to import from for the Square sound engines. So yeah... not surprised.

On a related note, does anyone know if Treasure Hunter G has the same sound engine type as most other square games?
I'm bumping this as I'd like to know if it would be possible to do a FF6 to THG conversion in order to replace some of the ingame music.

JCE3000GT

  • Guardian (+100)
  • *
  • Posts: 114
    • View Profile
    • BlitzKrieg Innovations
Re: Playing around with some SPC code in ROMs is fun!
« Reply #157 on: August 13, 2008, 02:21:31 am »
A couple of new imports.

According to what DJBouche has told me, MIDI would be the best format to import from for the Square sound engines. So yeah... not surprised.

On a related note, does anyone know if Treasure Hunter G has the same sound engine type as most other square games?
I'm bumping this as I'd like to know if it would be possible to do a FF6 to THG conversion in order to replace some of the ingame music.

If memory serves THG doesn't use the same core...but I could take another look to refresh my memory. 

[attachment deleted by admin]

BROJ

  • CC:DBT Dream Team
  • Errare Explorer (+1500)
  • *
  • Posts: 1567
    • View Profile
Re: Playing around with some SPC code in ROMs is fun!
« Reply #158 on: August 15, 2008, 04:20:07 pm »
A couple of new imports.

According to what DJBouche has told me, MIDI would be the best format to import from for the Square sound engines. So yeah... not surprised.

On a related note, does anyone know if Treasure Hunter G has the same sound engine type as most other square games?
I'm bumping this as I'd like to know if it would be possible to do a FF6 to THG conversion in order to replace some of the ingame music.

If memory serves THG doesn't use the same core...but I could take another look to refresh my memory. 
Please.  8)

Vehek

  • Errare Explorer (+1500)
  • *
  • Posts: 1761
    • View Profile
Re: Playing around with some SPC code in ROMs is fun!
« Reply #159 on: October 12, 2008, 01:26:31 am »
Several days ago, I was doing some MML imports into RS3 with RS3Extool to see where it would write to. This led to me noticing an area of data and searching for the equivalent in CT. That data is called "drum-set" by Japanese RS3 documents and is at 071871 in the US version.
The drum set data is 0x24 bytes per song.

Other things, from a RS3 document about some of the games RS3Extool can export from:

0x070BA4 position for the start of the loop waveform
0x070C9B pitch waveform correction (Is this correct?)
ADSR 0x070C9C waveform
I think these are in the same place in the US version.

Edit- Here's a MIDI conversion attempt from July of DanceMasterGlenn's song.

[attachment deleted by admin]
« Last Edit: October 12, 2008, 01:30:50 am by Vehek »

Zakyrus

  • Entity
  • Magical Dreamer (+1250)
  • *
  • Posts: 1358
  • "Bouncy, bouncy, bouncy... --!!"
    • View Profile
Re: Playing around with some SPC code in ROMs is fun!
« Reply #160 on: October 12, 2008, 06:09:09 pm »
Several days ago, I was doing some MML imports into RS3 with RS3Extool to see where it would write to. This led to me noticing an area of data and searching for the equivalent in CT. That data is called "drum-set" by Japanese RS3 documents and is at 071871 in the US version.
The drum set data is 0x24 bytes per song.

Other things, from a RS3 document about some of the games RS3Extool can export from:

0x070BA4 position for the start of the loop waveform
0x070C9B pitch waveform correction (Is this correct?)
ADSR 0x070C9C waveform
I think these are in the same place in the US version.

Sweet!

Quote
Edit- Here's a MIDI conversion attempt from July of DanceMasterGlenn's song.

:shock: You are a god! ...now I just have to hunt down DanceMasterGlenn and see if he'll do the rest of the songs I wanted for CT+

Vehek

  • Errare Explorer (+1500)
  • *
  • Posts: 1761
    • View Profile
Re: Playing around with some SPC code in ROMs is fun!
« Reply #161 on: November 22, 2008, 11:27:46 pm »
Some of my recent experiments. These were created by using an incomplete program I made to turn FFV's song data into a MML. I then imported the songs into RS3 through RS3ExTool2 and copied them into CT.

They may be off-sync.

[attachment deleted by admin]
« Last Edit: November 22, 2008, 11:36:43 pm by Vehek »

Shinrin

  • Chrono Trigger Threads of Time
  • Squaretable Knight (+400)
  • *
  • Posts: 487
  • Chrono Trigger Fan # 100
    • View Profile
    • Shinrin Cole
Re: Playing around with some SPC code in ROMs is fun!
« Reply #162 on: November 23, 2008, 01:15:08 am »
I'm gonna see about syncing these songs up. these could suffer from the RD sync bug.

Vehek

  • Errare Explorer (+1500)
  • *
  • Posts: 1761
    • View Profile
Re: Playing around with some SPC code in ROMs is fun!
« Reply #163 on: November 23, 2008, 01:21:42 am »
I tried to remove the RD sync bug beforehand. It's probably inaccuracies in matching the commands, differences in how long commands take, etc.

Shinrin

  • Chrono Trigger Threads of Time
  • Squaretable Knight (+400)
  • *
  • Posts: 487
  • Chrono Trigger Fan # 100
    • View Profile
    • Shinrin Cole
Re: Playing around with some SPC code in ROMs is fun!
« Reply #164 on: November 23, 2008, 01:40:21 am »
yeah, no dice here.