A couple of years back (the original file is dated 6/18/2007), me and Puto worked together to create something neat that would encourage music hacking a hundredfold for Sonic 2 hacks—a clone of Sonic 2's music and sound using Sonic 1's 68k SMPS sound driver. The idea was that it would make music hacking a bit more uniform and possible in Sonic 2 without the user having to fight with the compression, banking and specific alignment issues of the Z80 SMPS driver that are prominent unless you have specific knowledge of the Z80. For all intents and purposes, this job was accomplished fairly well with little-to-no longstanding issues. Today, we're going to present that work—work that was for the longest time limited to a case-by-case basis in regards to distribution. The observant may have noticed several hacks already use this for custom music—Sonic 2 Revamped, Sonic 2 SMTP, Sonic Boom (hack), and Sonic 2 Retro Remix, just to name a few.
In the following pack of files include every piece of music and sound effect from Sonic 2 ported to work in 68k SMPS format, as well as edits to the sound driver to include the extra DAC samples used in the game. Admittedly, not all of these are 100% perfect; in a few cases the tempo is off by a few ticks and a couple of sound effects have issues we were never able to fully work out for whatever reason. However, this is a very strong and acceptable basis to throw into any hack and have the results largely indistinguishable from the original game. Ideally speaking, anyone using this driver in their hack is going to replace the music anyway, so this is very likely to be a non-issue.
Sonic 2 Clone Driver
NOTE: This requires having already ported the Sonic 1 sound driver to your hack to actually work.
To use the clone driver, simply replace the relevant files in your disassembly with the ones included in this pack. We used jman's custom DAC driver to simplify adding the new samples; you're free to replace this if you wish, but it should work fairly well for any given purpose.
Credits go to myself and Puto for the music ports and driver edits, and jman for the custom DAC driver and 68k frontend. If you decide to use this in your hack, do us a favor and leave us a small mention—we'd appreciate it.
Enjoy! Hope to see this put to good use.
In the following pack of files include every piece of music and sound effect from Sonic 2 ported to work in 68k SMPS format, as well as edits to the sound driver to include the extra DAC samples used in the game. Admittedly, not all of these are 100% perfect; in a few cases the tempo is off by a few ticks and a couple of sound effects have issues we were never able to fully work out for whatever reason. However, this is a very strong and acceptable basis to throw into any hack and have the results largely indistinguishable from the original game. Ideally speaking, anyone using this driver in their hack is going to replace the music anyway, so this is very likely to be a non-issue.
Sonic 2 Clone Driver
NOTE: This requires having already ported the Sonic 1 sound driver to your hack to actually work.
To use the clone driver, simply replace the relevant files in your disassembly with the ones included in this pack. We used jman's custom DAC driver to simplify adding the new samples; you're free to replace this if you wish, but it should work fairly well for any given purpose.
Credits go to myself and Puto for the music ports and driver edits, and jman for the custom DAC driver and 68k frontend. If you decide to use this in your hack, do us a favor and leave us a small mention—we'd appreciate it.
Enjoy! Hope to see this put to good use.


00
