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. sonic

    sonic Well-Known Member Member

    Joined:
    Mar 27, 2008
    Messages:
    62
    Location:
    Michigan
    Download this http://www.hacking-cult.org/download/MusicPointerFixer.rar


    Next, open a hex editor twice. In the first hex editor, open the Emerald Hill music file. In the second hex editor, open Sonic the Hedgehog 2. Search for the first few bytes of the sound file in Sonic the Hedgehog 2. Write down the address of the sound file. Open the music pointer fixer. Open the sound file. Click SCAN. Select Sonic 2 final. Type in the sound file's location. A box will come up with a list of numbers. Click OK. Check the circle with Sonic 2 Final --> Sonic 1. Click FIX. Browse for where you want to put it and type in a name. Enter the address. It will ask you if it's a Sonic 2 final sound file. Click yes. There you go. Rename the sound file to the name of the sound file for Green Hill, which is music81.bin. Paste it in the Sonic 1 disassembly's music folder. Click yes when asked to replace the original file. Run build.bat and Green Hill should have Emerald Hill music when you play it.
     
  2. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    I can´t open the file: "Channel Setup isn´t defined as '0603' or '0703'. Unsupported format."
     
  3. sonic

    sonic Well-Known Member Member

    Joined:
    Mar 27, 2008
    Messages:
    62
    Location:
    Michigan
    I don't know what is causing the problem. Maybe it has problems with Sonic 2 final sound files. I don't know what to do.
     
  4. Sephiroth

    Sephiroth WHY SO CURIOUS?!? Member

    Joined:
    Aug 11, 2007
    Messages:
    507
    Location:
    Qatar, M.E.
    Actually, I really hate using the S2 sound driver, or the music for that matter. You are better off with the Sound Importer. Yes, it is the pussy way out, but it really is one of the only ways to work with the S2 sounds and driver.
     
  5. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    Forget everything I´ve said: It works!!! Thank you Twilight!^^
     
  6. sonic

    sonic Well-Known Member Member

    Joined:
    Mar 27, 2008
    Messages:
    62
    Location:
    Michigan
    Your welcome!^^
     
  7. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    But now I´ve new Question: Where is a Sonic 3k Disassemblier? I´ve found a text file. But not a Split!
     
  8. sonic

    sonic Well-Known Member Member

    Joined:
    Mar 27, 2008
    Messages:
    62
    Location:
    Michigan
    No one has made a split disassembly of Sonic 3k as far as I know. To build the rom you need to use an assembler instead of a build.bat. I don't know where to get an assembler, though.
     
  9. Spanner

    Spanner The Tool Member

    Joined:
    Aug 9, 2007
    Messages:
    2,570
    They need to be decompressed, TSDC's Saxman compressor cuts off a few bytes of the song's end I think, ESE's decompressor is fine.


    Of course, you'll need to fix up the DAC.
     
  10. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    Problem fixed. Another Problem: The Music isn´t realy the Original... The Music is at some points broken. Totally Broken! And if I use the FixCheckSum Tool of ESE the Music is more broken than before! What I´ve made wrong?
     
  11. Armada

    Armada DID SOMEONE SAY WEEABOO? Member

    Joined:
    Aug 17, 2007
    Messages:
    98
    Fixchecksum won't fix the music because it's not a checksum problem. You're probably having broken points because of different voice and DAC data. You'll have to fix that up.
     
  12. sonic

    sonic Well-Known Member Member

    Joined:
    Mar 27, 2008
    Messages:
    62
    Location:
    Michigan
    Excuse my post, but I have a quick off-topic question. How do you disable the title cards and end of level scoring in Sonic 1 like in the Sonic 2 early prototype? Sorry. I didn't want to start another topic just to ask this.
     
  13. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    Yeah I´m a member ^^! But now I want to explain:

    And how can I fix this DAC Problem? Also I didn´t understand, what DAC is (because I´m a Music Hacking Newbie)!


    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    That´s easy: Open your ASM file and go to loc_376B: and put a ; for the following 2 lines to comment them out:



    Code:
    ;		lea	(Nem_TitleCard).l,a0&#59; load title card patterns
    
    ;		bsr.w	NemDec
    Hope you know it now ^^! But a little Question: Why did you need this?
     
  14. sonic

    sonic Well-Known Member Member

    Joined:
    Mar 27, 2008
    Messages:
    62
    Location:
    Michigan
    For the hack I'm working on.
     
  15. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    Aha, but now let´s come back to my Question! I didn´t understand, why the Music is broken! But I think I know what the Problem is: This Topic tells you, were the Music Starts. But not were they end! So I´ve maybe copy to much...
     
  16. sonic

    sonic Well-Known Member Member

    Joined:
    Mar 27, 2008
    Messages:
    62
    Location:
    Michigan
    One song ends right before the next one begins. For example, it says that the Emerald Hill Zone music begins at $F88C4. Next, it says Metropolis Zone music begins at $F8DEE. So, Emerald Hill Zone music ends at $F8DED.
     
  17. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    But the Music is still broken...
     
  18. sonic

    sonic Well-Known Member Member

    Joined:
    Mar 27, 2008
    Messages:
    62
    Location:
    Michigan
    I'll try it and see what I get. If it works, I'll tell you how I did it. Hold on...
     
  19. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    Thanks!
     
  20. sonic

    sonic Well-Known Member Member

    Joined:
    Mar 27, 2008
    Messages:
    62
    Location:
    Michigan
    Your welcome! Just give me a moment...


    Edit: Sorry, I didn't have any luck with it. :D Just use the Emerald Hill Zone music from Sonic 2 Beta. I can guarantee that the music from the Sonic 2 Beta disassembly is almost completely identical to the final Emerald Hill music. Plus, I've ported the beta Emerald Hill music successfully.
     
    Last edited by a moderator: Jul 25, 2008
Thread Status:
Not open for further replies.