Author Topic: Remade the soundtrack, looking for someone to patch a ROM with my music  (Read 891 times)

Nevrosis

  • Iokan (+1)
  • *
  • Posts: 7
    • View Profile
    • Time Roch Orchestra
Title is pretty self-explanatory. I have remade about 92% of the Chrono Trigger soundtrack so far, and I am looking for someone who is able to re-patch a ROM with my music. If it's a simple process and someone can point me to some documentation on how to do it that would also be great.

Here's my latest entry: https://www.youtube.com/watch?v=7vk9B2l_g0g
You can hear all my tracks here: https://www.youtube.com/user/timerockorch

Thx!

trig

  • Porrean (+50)
  • *
  • Posts: 62
    • View Profile
Re: Remade the soundtrack, looking for someone to patch a ROM with my music
« Reply #1 on: January 29, 2020, 12:06:22 am »
I don't believe this will be a simple process, but it may very well be possible.

SNES music is handled by a processor, the SPC700, which executes its own programs, which are like music sequences, manipulating small, often compressed samples. A little like MIDI. More like MOD/tracker music, actually. To put your music into the game in this format would require much editing and preparation, only to have an end product that sounds almost identical to the in-game music. I would guess that's not what you would go for.

Streaming audio (PCM data, etc--a recording, or a "sound file") is hypothetically achievable thanks to the fictional (never real hardware) MSU1 "chip" developed by byuu, playable through some emulators, or on real console with tools like SD2SNES. If a Chrono Trigger ROM can be modified to interface MSU1 (this might be an extremely large "if"), then this may work!

I have no experience hacking SNES games. This is just based on what I've read from various sources.
I would love to try, but for all I know it would take months or years before I know enough to make it happen :-)

Some links of possible interest:
https://byuu.org/projects/msu1
https://higan.readthedocs.io/en/stable/guides/import/#msu-1-games
https://sd2snes.de/blog/


EDIT: Seems that a project like this one might fulfill your needs! Someone has modified Chrono Trigger to interface MSU1.
https://www.romhacking.net/forum/index.php?topic=23115.0

I will try to use this to get your music playing in the game, and will report back how it goes.
« Last Edit: January 29, 2020, 12:11:44 am by trig »

Nevrosis

  • Iokan (+1)
  • *
  • Posts: 7
    • View Profile
    • Time Roch Orchestra
Re: Remade the soundtrack, looking for someone to patch a ROM with my music
« Reply #2 on: January 29, 2020, 04:18:28 am »
Thx!
Someone on another forum also mentioned the CT version modified for MSU1. Thanks for the link!

If you can successfully get one of my tracks to play in the game, let me know and I can send you a link to download all of my tracks in WAV, FLAC and MP3 format if you want to keep going.

trig

  • Porrean (+50)
  • *
  • Posts: 62
    • View Profile
Re: Remade the soundtrack, looking for someone to patch a ROM with my music
« Reply #3 on: February 01, 2020, 03:24:05 pm »
Success!
I was able to add ocean/birds, morning, and town music. The town music even loops without clicking, as far as I can hear :-)

It takes a little bit of labour chopping up the songs and picking the right loop sample (I used Audacity) so I'm not going to keep going myself, but you or anyone can.

I'm using bsnes to play. bsnes expects an empty "<romname>.msu" to be in the directory with the ROM (.sfc, .smc, etc) in order to enable MSU1. Then just have a bunch of <romname>-<songnumber>.pcm files alongside the ROM file. (see below about songnumber) These PCM files are just the audio contents of a 16-bit 44100 Hz stereo WAV file, with a little header:

Code: [Select]
MSU1####where #### is a 32-bit unsigned little-endian integer representing the loop point of the audio. (Specify a particular sample -- for the town song it's sample #3433627)

When preparing your WAV file make sure it doesn't have tags/metadata (e.g. Song name, artist, etc). I use the tool kid3 to check this

To transform your .WAV into a .PCM is very simple; the program I included will do this for you. The .exe is just the compiled .go. The code is transcribed from here, but I didn't do all the verification stuff, just got to the point right away lol

songnumber
For the song number, I looked these up in Geiger's CT database, one of the Lists. The song numbers in that list are hexadecimal; convert to decimal for the .PCM filename.

For example, the town song "Peaceful Day" is song number 0x1E, which to decimal is 30. So the filename for the town song is "<romname>-30.pcm".

Once you have your .PCM files and your .MSU file beside your ROM, you can simply play the ROM in bsnes and it should work!

Your ROM needs to be patched with the "chrono_msu.bps" patch. You can do this with byuu's tool beat.

Other emulators might work with these files as they are, or with slight addition/modification.

Here's the demo with 3 of your songs. Your rom name in this case should be "ct-msu1test.sfc".

http://trig.fastmail.nl/ct-msu1test.tar.xz
« Last Edit: February 01, 2020, 03:40:03 pm by trig »

Lavos, a one-eyed tick

  • Earthbound (+15)
  • *
  • Posts: 42
  • Yep, that's me. The big one-eyed space tick.
    • View Profile
Re: Remade the soundtrack, looking for someone to patch a ROM with my music
« Reply #4 on: February 02, 2020, 09:06:36 am »
Wait hold on... YOU'RE Time Rock Orchestra? Dude I love all your stuff! I'd definitely play a version of the game with your awesome remasters if it was played!

MS04

  • Earthbound (+15)
  • *
  • Posts: 47
  • Not much to see here, just a fan of CT.
    • View Profile
Re: Remade the soundtrack, looking for someone to patch a ROM with my music
« Reply #5 on: February 02, 2020, 11:35:44 am »
Wait hold on... YOU'RE Time Rock Orchestra?


That's exactly what I thought! His CT remixes are genuinely amazing, and I've asked to use the remix of the main theme in my trailer for the Master Quest hack.