Announcement

Collapse
No announcement yet.

Requesting Music Codes for Super Mario Bros. (NES)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Requesting Music Codes for Super Mario Bros. (NES)

    I know that SMB is the most hacked mario game on nes with super mario 3, but I've found some music codes that swap music around through the game. In fact, some make the music a whole lot better in my opinion. These codes are the **PPPP series of codes, and I can show you where I get the music swap codes from, but I'm looking for certain codes that make the following changes to the music:

    Underwater music plays instead of Overworld
    Castle music plays instead of Underground
    Overworld plays instead of Underwater
    Underground plays instead of Castle

    More info on the **PPPP Series of codes can be found on a GameFAQs game genie code list for the super mario nes series found here.
    Well hello there, I am jeff, a senior from Iowa.

    Jeff

  • #2
    Hmm, I'm just thinking of finding more values myself, but I'm not sure what to do to find that. I'm using FCEUX to watch the ram address where the pointers are at.
    Well hello there, I am jeff, a senior from Iowa.

    Jeff

    Comment


    • #3
      If there are already codes to change the music just decrypt the codes and pop them in the debugger of FCEUX and look at what is happening in the code and make your changes based on that.
      Spoiler Alert! Click to view...

      THE BAD GUY!!!!!!

      Comment


      • #4
        Originally posted by JeffCharizardFlame View Post
        I know that SMB is the most hacked mario game on nes with super mario 3, but I've found some music codes that swap music around through the game. In fact, some make the music a whole lot better in my opinion. These codes are the **PPPP series of codes, and I can show you where I get the music swap codes from, but I'm looking for certain codes that make the following changes to the music:

        Underwater music plays instead of Overworld
        Castle music plays instead of Underground
        Overworld plays instead of Underwater
        Underground plays instead of Castle

        More info on the **PPPP Series of codes can be found on a GameFAQs game genie code list for the super mario nes series found here.
        Are these what you wanted?
        http://gamehacking.org/vb/threads/77...5878#post65878
        Last edited by 47iscool; 03-29-2013, 08:29:34 PM.

        Comment


        • #5
          @47iscool: No, those don't do the same thing as the **PPPP set of codes. The codes I'm thinking of are codes that randomize what music plays when.

          @helder: how do I use fceux to do this? I've already put the codes and stuff in, and now I don't know what to do next. When you convert the code PPPPPP to raw you get the following code: 9111: 11

          Edit: I found out how to use the debugger in fceux, nvm the question about how I use fceux to do this. So do I play the game normally and then put one of the **PPPP codes on? I used the gg encoder/decoder on PPPPPP and it came up with 4 affected rom addresses, which I bookmarked in the debugger. These rom addresses are 001121 (9111), 003121 (B111), 005121 (D111), and 007121 (F111).
          Last edited by JeffCharizardFlame; 03-30-2013, 12:41:52 PM. Reason: found the addresses, didn't need the how to question answered anymore.
          Well hello there, I am jeff, a senior from Iowa.

          Jeff

          Comment


          • #6
            What I meant is to put a break on Execute in the raw address and when the game breaks look at what is happening in the code like is it loading something before that address or something else. You will have to see what is happening on various breaks to learn what calls the music that is played.
            Spoiler Alert! Click to view...

            THE BAD GUY!!!!!!

            Comment


            • #7
              Alright, I'll try that later today. anyways, if I can get this break thing to work, then I'll have my codes, and I could even post them here since I technically used an already made code and then used the addresses from it, but I will give credit for the original code.
              Well hello there, I am jeff, a senior from Iowa.

              Jeff

              Comment


              • #8
                I'm still having troubles, oddly enough. I'm still confused about this. lD I don't see any change in the stuff. I'm gonna need a collaborator for this. lD If anyone wants to join my expedition, feel free.
                Well hello there, I am jeff, a senior from Iowa.

                Jeff

                Comment


                • #9
                  Ok I looked at the code but it just changes the value loaded to load the music, this is what it boils down to and it is a few lines away from 47iscool's address with the same values so I bet it get copied over after running this instruction.

                  00:9110:B9 E7 90 LDA $90E7,Y @ $90EC = #$20
                  00:9113:85 FB STA $00FB = #$00

                  First address loads 90E7+value of Y register which gives us 90EC and loads that value into Register A which is 20h. Other Values in Y Register will change the value loaded.
                  Second address stores it in Ram address 00FB which is then copied to 00F4 (47cool's code).
                  Spoiler Alert! Click to view...

                  THE BAD GUY!!!!!!

                  Comment


                  • #10
                    So now it looks like all we do is try out different variables for the number in the address, and use trial and error until we get the desired result. I've got some tests for school coming up soon, so I won't be able to do it, so I'll need some collaboration for this part, but I hope to have these codes done soon, like near the end of my school year on May 31st. tentatively. stupid snow days. lD
                    Well hello there, I am jeff, a senior from Iowa.

                    Jeff

                    Comment


                    • #11
                      Also, I'm new to the debugging language, can someone either explain or point me towards a tutorial? The reason being on top of this, I'm trying to enable the debug menu in Pokemon Gold and Silver, but IDK how to do it. I know that the pokemon gold/silver part is a little off topic, but I intend for this reply to be tied to the current topic.
                      Well hello there, I am jeff, a senior from Iowa.

                      Jeff

                      Comment

                      Working...
                      X