Disabling Music

Discussion in 'Engineering & Reverse Engineering' started by Mr Lange, Oct 11, 2010.

Thread Status:
Not open for further replies.
  1. Mr Lange

    Mr Lange

    A wise guy eh. I know how to DEAL with wise guys. Member
    1,286
    10
    18
    The Land of Waldos
    Sonic Utopia, Sonic Overture
    I'm working on some videos of the classic Sonic games. I'd like to use other music while preserving the sound effects. To do so I was wondering if there is a known method of disabling or silencing music in the legacy Sonic games. I'm aware that each game handles audio differently and to pull this off may be difficult. There is Sonic mp3 Tool, but I don't need such a specific program and it only works for Sonic 2. If there are already hacks, tutorials or information on this somewhere, please direct me to it and forgive me for wasting time. Such a general question is hard to search for.
     
  2. MarkeyJester

    MarkeyJester

    A D V A N C E Resident Jester
    2,080
    211
    43
    Japan
    While no tool exists specifically for MP3 playback on other games besides Sonic 2, having any music of your choice may be difficult, unless of course, you write your own tool or a plugin for one of the emulators to allow such an action.

    We can, however, advise methods of working with and altering game sound drivers, as Nineko, Tweaker, andlabs and a vast majority of others to note, have done a lot of research in this department and have proven the ability of porting music from game to game, and even the drivers themselves, we have got to the period now where we're able to place our own designed music in place of what's originally there.

    While you won't be able to use or produce any music/sound you want, you're at least provided with two sound chips which do their best to generate realistic enough sounds.

    Now, most Sonic games tend to use a provided sound driver known as SMPS, while I don't know the full function and locations to all of them, I can at least provide you with a way to disable the music perminantly, you'll require a hexadecimal editor to do this though:

    Sonic 1 (REV 00)

    Offset: 00000338
    Change "B2 51" to "60 04"
    Offset: 00001396
    Change "11 C0 F0 0A" to "4E 75 00 00"
    Offset: 00071FD2
    Change "0C 07 00 88" to "4E 75 00 00"

    Sonic 1 (REV 01)

    Offset: 00000338
    Change "B2 51" to "60 04"
    Offset: 0000138E
    Change "11 C0 F0 0A" to "4E 75 00 00"
    Offset: 00071FD2
    Change "0C 07 00 88" to "4E 75 00 00"

    Sonic 2 (REV 00)

    Offset: 00000338
    Change "B2 51" to "60 04"
    Offset: 00001352
    Change "4A 38 FF E0" to "4E 75 00 00"

    Sonic 2 (REV 01)

    Offset: 00000344
    Change "B2 51" to "60 04"
    Offset: 0000135E
    Change "4A 38 FF E0" to "4E 75 00 00"

    Sonic Crackers

    Offset: 00006402
    Change "33 FC 01 00 00 A1 11 00" to "4E 75 00 00 00 00 00 00"

    Sonic 3

    Offset: 000015E2
    Change "33 FC 01 00 00 A1 11 00" to "4E 75 00 00 00 00 00 00"

    Sonic & Knuckles

    Offset: 00001358
    Change "33 FC 01 00 00 A1 11 00" to "4E 75 00 00 00 00 00 00"

    Sonic 3 & Knuckles (Two parts)

    Offset: 00001358
    Change "33 FC 01 00 00 A1 11 00" to "4E 75 00 00 00 00 00 00"
    Offset: 002015E2
    Change "33 FC 01 00 00 A1 11 00" to "4E 75 00 00 00 00 00 00"

    Sonic 3D blast, flickies' island

    While I was considering looking through the Z80 code, I really couldn't be bothered on my part, so I could only recommend searching for some "00 A0 1C 0A" and changing them to "00 A0 70 00", some may be used for SFX, so I suggest being careful with which ones you change =P

    The other Sonic games? Beats me...
     
  3. LordOfSquad

    LordOfSquad

    bobs over baghdad Member
    4,921
    45
    28
    Winnipeg, MB
    making cool music no one gives a shit about
    <!--quoteo(post=515872:date=Oct 11 2010, 03:21 AM:name=MarkeyJester)--><div class='quotetop'>QUOTE (MarkeyJester @ Oct 11 2010, 03:21 AM) <a href="index.php?act=findpost&pid=515872">[​IMG]</a></div><div class='quotemain'><!--quotec-->While no tool exists specifically for MP3 playback on other games besides Sonic 2...<!--QuoteEnd--></div><!--QuoteEEnd-->

    Not yet. Cinossu's MP3 plugin he included in Retro Channel will eventually support Sonic 1, Sonic 2 and Sonic 3K. Dunno when that's gonna be ready for release, though.
     
  4. Super Egg

    Super Egg

    Master of MS Paint. Member
    311
    0
    16
    Tomball, TEXAS
    Sonic 2 beta 3 hoax
    Well if you actually go off and download the SAGE demo pack, you can get the mp3tool. In theory if you setup the mp3s, you should be able to run them, specifically Sonic 1 anyway. Good luck
     
  5. LordOfSquad

    LordOfSquad

    bobs over baghdad Member
    4,921
    45
    28
    Winnipeg, MB
    making cool music no one gives a shit about
    <!--quoteo(post=515926:date=Oct 11 2010, 10:07 AM:name=Super Egg)--><div class='quotetop'>QUOTE (Super Egg @ Oct 11 2010, 10:07 AM) <a href="index.php?act=findpost&pid=515926">[​IMG]</a></div><div class='quotemain'><!--quotec-->Well if you actually go off and download the SAGE demo pack, you can get the mp3tool. In theory if you setup the mp3s, you should be able to run them, specifically Sonic 1 anyway. Good luck<!--QuoteEnd--></div><!--QuoteEEnd-->

    I believe only Sonic 1 is fully compatible at the moment, though.
     
  6. iojnekns

    iojnekns

    trouble keeps you runnin' faster Member
    148
    0
    16
    Correct me if I am wrong, but OP is simply making a video. He needs to disable the in-game music so that he can play his own tunes over the top - without having to mute the sound effects too. He doesn't want to put his music choices into the game and have them play instead. I'd have thought this would be as simple as replacing the necessary music files with blank ones? Then he can simply play through with sfx only, and dub his own music over the top for the video.
     
  7. nineko

    nineko

    I am the Holy Cat Tech Member
    5,934
    122
    43
    italy
    <!--quoteo(post=515940:date=Oct 11 2010, 07:00 PM:name=iojnekns)--><div class='quotetop'>QUOTE (iojnekns @ Oct 11 2010, 07:00 PM) <a href="index.php?act=findpost&pid=515940">[​IMG]</a></div><div class='quotemain'><!--quotec-->I'd have thought this would be as simple as replacing the necessary music files with blank ones?<!--QuoteEnd--></div><!--QuoteEEnd-->This is what I would do, actually. Not sure if he wants to bother with a split disassembly, though. Markey's suggestions can be converted to PAR codes and used directly in Gens instead.
     
  8. Cinossu

    Cinossu

    Administrator
    2,829
    16
    18
    London, UK
    Sonic the Hedgehog Extended Edition
    <!--quoteo(post=515924:date=Oct 11 2010, 04:57 PM:name=LordOfSquad)--><div class='quotetop'>QUOTE (LordOfSquad @ Oct 11 2010, 04:57 PM) <a href="index.php?act=findpost&pid=515924">[​IMG]</a></div><div class='quotemain'><!--quotec--><!--quoteo(post=515872:date=Oct 11 2010, 03:21 AM:name=MarkeyJester)--><div class='quotetop'>QUOTE (MarkeyJester @ Oct 11 2010, 03:21 AM) <a href="index.php?act=findpost&pid=515872">[​IMG]</a></div><div class='quotemain'><!--quotec-->While no tool exists specifically for MP3 playback on other games besides Sonic 2...<!--QuoteEnd--></div><!--QuoteEEnd-->

    Not yet. Cinossu's MP3 plugin he included in Retro Channel will eventually support Sonic 1, Sonic 2 and Sonic 3K. Dunno when that's gonna be ready for release, though.
    <!--QuoteEnd--></div><!--QuoteEEnd-->
    Sonic 1 support is there already, and Sonic 2 support is all-but-done. Sonic 3K is a different story right now, though. :P
     
  9. Impish

    Impish

    Member
    Darn, thats the one I want most, Project Chaos in-game is gonna be great!
     
  10. Mr Lange

    Mr Lange

    A wise guy eh. I know how to DEAL with wise guys. Member
    1,286
    10
    18
    The Land of Waldos
    Sonic Utopia, Sonic Overture
    <!--quoteo(post=515872:date=Oct 11 2010, 10:21 AM:name=MarkeyJester)--><div class='quotetop'>QUOTE (MarkeyJester @ Oct 11 2010, 10:21 AM) <a href="index.php?act=findpost&pid=515872">[​IMG]</a></div><div class='quotemain'><!--quotec-->Smart hex cheat codes and stuff.<!--QuoteEnd--></div><!--QuoteEEnd-->

    You may have provided me with exactly what I needed. I didn't even need all those games. Thank you very much, I will give this a try later.

    Also, thank you iojnekns for the correction, that is what I want, to silence/disable music while preserving sound effects. I'll add the music by video editing or whatever externally. I'm not trying to replace the audio in-game.

    I will have to test MarkeyJester's hex later. May I request that this thread not be locked until I return triumphant?
     
  11. MarkeyJester

    MarkeyJester

    A D V A N C E Resident Jester
    2,080
    211
    43
    Japan
    <!--quoteo(post=515950:date=Oct 11 2010, 06:51 PM:name=Cinossu)--><div class='quotetop'>QUOTE (Cinossu @ Oct 11 2010, 06:51 PM) <a href="index.php?act=findpost&pid=515950">[​IMG]</a></div><div class='quotemain'><!--quotec--><!--quoteo(post=515924:date=Oct 11 2010, 04:57 PM:name=LordOfSquad)--><div class='quotetop'>QUOTE (LordOfSquad @ Oct 11 2010, 04:57 PM) <a href="index.php?act=findpost&pid=515924">[​IMG]</a></div><div class='quotemain'><!--quotec--><!--quoteo(post=515872:date=Oct 11 2010, 03:21 AM:name=MarkeyJester)--><div class='quotetop'>QUOTE (MarkeyJester @ Oct 11 2010, 03:21 AM) <a href="index.php?act=findpost&pid=515872">[​IMG]</a></div><div class='quotemain'><!--quotec-->While no tool exists specifically for MP3 playback on other games besides Sonic 2...<!--QuoteEnd--></div><!--QuoteEEnd-->

    Not yet. Cinossu's MP3 plugin he included in Retro Channel will eventually support Sonic 1, Sonic 2 and Sonic 3K. Dunno when that's gonna be ready for release, though.
    <!--QuoteEnd--></div><!--QuoteEEnd-->
    Sonic 1 support is there already, and Sonic 2 support is all-but-done. Sonic 3K is a different story right now, though. :P
    <!--QuoteEnd--></div><!--QuoteEEnd-->
    Wait, something like this already exists? Man am I behind, I might check this out infact =O
     
  12. Mr Lange

    Mr Lange

    A wise guy eh. I know how to DEAL with wise guys. Member
    1,286
    10
    18
    The Land of Waldos
    Sonic Utopia, Sonic Overture
    Ok, I tried MarkeyJester's hex and it has worked for every game. Thank you Markey and Sonic Retro, this has helped me a lot.
     
  13. Chaos Rush

    Chaos Rush

    AKA J.Matz Member
    510
    25
    28
    <!--quoteo(post=515872:date=Oct 11 2010, 02:21 AM:name=MarkeyJester)--><div class='quotetop'>QUOTE (MarkeyJester @ Oct 11 2010, 02:21 AM) <a href="index.php?act=findpost&pid=515872">[​IMG]</a></div><div class='quotemain'><!--quotec-->Sonic 3 & Knuckles (Two parts)

    Offset: 00001358
    Change "33 FC 01 00 00 A1 11 00" to "4E 75 00 00 00 00 00 00"
    Offset: 002015E2
    Change "33 FC 01 00 00 A1 11 00" to "4E 75 00 00 00 00 00 00"<!--QuoteEnd--></div><!--QuoteEEnd-->
    This. Thank you. I've always wanted to know how to disable the music just so I could make videos of levels with different music, but with the sound effects left intact.

    <a href="http://s441.photobucket.com/albums/qq134/1Shouta/?action=view&current=HydrocityMock.mp4" target="_blank">This is why S3&K</a><a href="http://s441.photobucket.com/albums/qq134/1Shouta/?action=view&current=LavaReefMock.mp4" target="_blank"> needs the mp3 tool.</a>
     
Thread Status:
Not open for further replies.