Activating music slots $94 through $9F

Discussion in 'Discussion and Q&A Archive' started by Mike B Berry, Jul 5, 2012.

Thread Status:
Not open for further replies.
  1. Mike B Berry

    Mike B Berry A grandiose return Member

    Joined:
    Jun 6, 2012
    Messages:
    377
    Location:
    New places, newer motivation
    Alright, I've got one question. I have extended the music slots playlist and added the pointers into the indexes and the track numbers. I have also added the actual files for the songs. Now how am I supposed to actually activate them so I can test them in the Level Select menu? I'm one step further in this hack, and it doesn't seem to run right at this point. Do I have to re-extend the music slots and do it correctly, or is it something super simple that I can easily just push a button?
     
  2. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    First you go to MusicIndex and expand it to whatever number of new song IDs you want, I'm just thinking about $9F, so:



    MusicIndex: dc.l Music81, Music82
    dc.l Music83, Music84


    dc.l Music85, Music86


    dc.l Music87, Music88


    dc.l Music89, Music8A


    dc.l Music8B, Music8C


    dc.l Music8D, Music8E


    dc.l Music8F, Music90


    dc.l Music91, Music92


    dc.l Music93, Music94


    dc.l Music95, Music96


    dc.l Music97, Music98


    dc.l Music99, Music9A


    dc.l Music9B, Music9C


    dc.l Music9D, Music9E


    dc.l Music9F



    Then you go to Music93 and also expand that list with the number of new sond IDs you've added. For example, if I expanded it to $96 songs, this needs to be added:



    Music94: incbin soundmusic94.bin
    even


    Music95: incbin soundmusic95.bin


    even


    Music96: incbin soundmusic96.bin


    even
     
    Last edited by a moderator: Jul 5, 2012
  3. Mike B Berry

    Mike B Berry A grandiose return Member

    Joined:
    Jun 6, 2012
    Messages:
    377
    Location:
    New places, newer motivation
    I did that and I have no music still. I've added the songs to the list and it loads nothing when I select the track number.
     
  4. vladikcomper

    vladikcomper Well-Known Member Member

    Joined:
    Dec 2, 2009
    Messages:
    415
    Level select menu code simply doesn't play slots $94-$9F


    To fix it, find this:



    LevSel_NoCheat:
    cmpi.w #$94,d0 ; is sound $80-$94 being played?


    bcs.s LevSel_PlaySnd ; if yes, branch



    And change $94 to $A0.


    EDIT: On second thought, I think it'll will be wiser just to go to LevSel_NoCheat and delete all the code there:



    cmpi.w #$94,d0 ; is sound $80-$94 being played?
    bcs.s LevSel_PlaySnd ; if yes, branch


    cmpi.w #$A0,d0 ; is sound $95-$A0 being played?


    bcs.s LevelSelect ; if yes, branch



    Both solutions should work, but the last one is the most 'perfect' one.
     
    Last edited by a moderator: Jul 5, 2012
  5. Mike B Berry

    Mike B Berry A grandiose return Member

    Joined:
    Jun 6, 2012
    Messages:
    377
    Location:
    New places, newer motivation
    Yah, I just read over that bit and everything was changed exept for the


    Cmpi.w #$94,d0.


    I had entirly forgoten to change it to 9F (A0 because 9F is cancled every time it is selected.)


    So once again I thank you for your help.


    Also since this is up; Where can I get the Sonic 1 remastered invincibility theme (Sonic 3 invincibility remix)?
     
    Last edited by a moderator: Jul 5, 2012
  6. Mike B Berry

    Mike B Berry A grandiose return Member

    Joined:
    Jun 6, 2012
    Messages:
    377
    Location:
    New places, newer motivation
    I would be greatful if someone could actually obtain this music file, My SuperSonic music dosen't fit in with the rest of the game.
     
  7. MarkeyJester

    MarkeyJester ♡ ! Member

    Joined:
    Jun 27, 2009
    Messages:
    2,867
    Understand, we're not going to do the ripping, porting, and clean up for you, it's your project, your work, and your responsibility, I would however, like to advise against using music that other hacks have already used, not because they now have some sort of right over it due to being the first to have it, but because your hack would do so much better with new and different music, it's what will seperate your hack from everyone else's. It will also prevent us from becoming bored with both your hack and puto's.
     
  8. Mike B Berry

    Mike B Berry A grandiose return Member

    Joined:
    Jun 6, 2012
    Messages:
    377
    Location:
    New places, newer motivation
    Eaily understood. So It might be time to overhaul again. SuperSonic's theme is a little glitched. Nothing but a clean converted Xm file will do the trick in the long run. I thank ou once again.
     
Thread Status:
Not open for further replies.