How do I import Music to Sonic 1 (Split Disassembly)?

Discussion in 'Discussion and Q&A Archive' started by Selbi, Jul 20, 2008.

Thread Status:
Not open for further replies.
  1. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    I making currently a hack of Sonic 1. Now I want to port Music of the Sonic 2 Disassembly to Sonic 1. I´ve tried to replace the GHZ Sound with the EHZ Sound. But It doesn´t work! I can build the Rom, but if I start, the game is chrashing! How can I put in this Music file?
     
  2. Spanner

    Spanner The Tool Member

    Joined:
    Aug 9, 2007
    Messages:
    2,570
    That's because they fucking use different sound drivers!


    Anyway, this article will help you on your way to music porting.
     
  3. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    But I want to use a Split Disassemblier and no Hex! Also I´m banned of Sonic Retro!
     
    Last edited by a moderator: Jul 20, 2008
  4. Qjimbo

    Qjimbo Well-Known Member Member

    Joined:
    Feb 27, 2008
    Messages:
    850
    Location:
    Vancouver, BC
    Was that really nessasary? Keep your hair on dude.


    Also just log out and you should be able to view the wiki just fine. You're only banned from editing. The music guide works with split disassemblies and hex. It's the same concepts.
     
    Last edited by a moderator: Jul 20, 2008
  5. sonic

    sonic Well-Known Member Member

    Joined:
    Mar 27, 2008
    Messages:
    62
    Location:
    Michigan
    I want to add music to Sonic 1, too. How do you port the Sonic 2 sound driver to Sonic 1? Also, is the sound driver for Sonic 2 and Sonic 2 beta the same? Because I want to have music from Sonic 2 Beta in Sonic 1.
     
  6. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    Thanks, for that tip! But I still can´t access the Forum! But, this isn´t the Question. I´ve looked at the Music Topic but don´t understand, what is Pointer... It looks so Hex, and I know only a few things about ASM, for Example: How to change the Level Select Cheat. But that´s all!

    At the bottom of the Topic is an Instroction, how to add Music from S1 to S2Beta and not S2Beta to S1! Also: Who wants to hack a Prototype? xD
     
    Last edited by a moderator: Jul 20, 2008
  7. shobiz

    shobiz Well-Known Member Member

    Joined:
    Aug 11, 2007
    Messages:
    198
    Location:
    Karachi, Pakistan
    Porting music != porting sound drivers! The music editing guide SOTI linked to has a music porting section, you should take a look at that.
     
  8. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    But there aren´t any Guids, how to port Music "to" Sonic 1! Only, how to port Music "from" Sonic 1!
     
  9. sonic

    sonic Well-Known Member Member

    Joined:
    Mar 27, 2008
    Messages:
    62
    Location:
    Michigan
    What if we did what it said for porting from Sonic 1 to Sonic 2 Beta in reverse?
     
  10. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    Maybe!^^
     
  11. sonic

    sonic Well-Known Member Member

    Joined:
    Mar 27, 2008
    Messages:
    62
    Location:
    Michigan
    Also, the sound files for Sonic 2 Beta and Sonic 2 Final in the disassemblies are .snd files. I wonder if the file extension matters...
     
  12. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    Hmm... this files aren´t .snd Files! They are .bin files! Or wich Split Disassemblier do you use?
     
  13. sonic

    sonic Well-Known Member Member

    Joined:
    Mar 27, 2008
    Messages:
    62
    Location:
    Michigan
    Oh, the music files in the Sonic 2 disassembly are .bin files? My mistake. The ones in the beta disassembly are .snd files. It shouldn't make a difference, though. I used the command prompt in Windows to make a .bin file and they're identical.
     
  14. SeanieB

    SeanieB Dude! Root Admin

    Joined:
    Jul 19, 2008
    Messages:
    230
    Location:
    San Diego, CA
    Agreed. He was just asking a question, no need to chew the poor kid out!

    How'd you manage that?
     
    Last edited by a moderator: Jul 22, 2008
  15. amphobius

    amphobius spreader of the pink text Member

    Joined:
    Feb 24, 2008
    Messages:
    970
    Location:
    United Kingdom
    If you want to port music, use the Sonic Retro wiki.


    You will need a Sonic Crackers ROM (I know this isn't what you are wanting, but it is simple), Music Pointer Fixer, Hex Editor Neo/Hex Workshop, and the Hivebrain 2005 Sonic 1 Split Dissasembly.


    Now, hopefully you got a good Crackers rom: when you open up the ROM in the Hex editor, you should see "Sonic Studium" somewhere on the right near the top.


    Now, since I love the song Evening Star, we'll make an attempt at porting it. This is where the SCHG comes in: It gives you the pointers! Now, look for offset 11210. The first few bytes should be something like this:



    Code:
    XX XX 06 03
    The XX XX can be anything. Now, make a search for the next 06 03. Go back 4 bytes, which is the XX XX.


    Now make a note of the offset: if using Hex Editor Neo you can tell by the column on the left. Now select from 11210 to that offset you made a note of. Copy it all and put it into a new file. Save it with the .bin extention.


    Now we fix it up. With Music Pointer Fixer, highlight S2B/S3K to S1. But we need to fix it up. So we click on SCAN, and type in 11210. You should get a list of adresses. Then click on FIX. You should get a few on screen questions. Answer them accordingly (If it isn't S2Beta music then use S3K Flag Conversion). Now we should rename our music to "musicXX" to test it out. Place it in the sound folder and build. You should get a port of Evening Star in your hack!
     
    Last edited by a moderator: Jul 22, 2008
  16. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    I fucked my PC! No, but this wasn´t my Question! Get back to your live and don´t ask such things again!

    Did you say that to me or to Seanieb?
     
  17. amphobius

    amphobius spreader of the pink text Member

    Joined:
    Feb 24, 2008
    Messages:
    970
    Location:
    United Kingdom
    It was sortah aimed at you, but I've edited it out.
     
  18. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    Yes, I´m from Germany and in SchoolI haven´t already some words, so I´ve to try...
     
  19. sonic

    sonic Well-Known Member Member

    Joined:
    Mar 27, 2008
    Messages:
    62
    Location:
    Michigan
    Hey DalekSam, thanks for the info! I was finally able to port the music I wanted.


    Edit: Selbi, I can port the Emerald Hill music for you if you want.
     
    Last edited by a moderator: Jul 22, 2008
  20. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    Well, I didn´t understand, how to make a note!
     
Thread Status:
Not open for further replies.