Announcement

Collapse
No announcement yet.

SNES Hamelin no Violin Hiki GG codes help

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

  • SNES Hamelin no Violin Hiki GG codes help

    Since this game has no save feature i've made a few codes to unlock all the levels and costumes.

    unlock all stages on map (RAW)
    7E0A50:08

    unlock all stages on map (GG)
    1B29-14A8
    DD29-17D8
    D629-1708
    3C29-1768

    unlock all costumes (RAW)
    7E0B30:01
    7E0B31:01
    7E0B32:01
    7E0B33:01
    7E0B34:01
    7E0B35:01
    7E0B36:01
    7E0B37:01
    7E0B38:01
    7E0B39:01

    I am having some issues finding the GG codes for the costumes, any help would be appreciated...
    Codes and requests made by me

  • #2
    Actually using your unlock all levels code you see that the game loads the value from this address:

    7E0B7C

    which is then stored in your address above

    so this is the proper address for all stages unlocked

    All Stages Unlocked
    7E0B7C:08

    GG Equivalent:

    Unlock All Stages
    DD20-14D8
    D620-1468

    Basically I took this snipet of ASM:

    $82/DD44 AD 7C 0B LDA $0B7C [$80:0B7C] A:0000 X:0000 Y:FCFC P:envmxdiZC < Loads the address I mentioned above
    $82/DD47 D0 03 BNE $03 [$DD4C] A:0001 X:0000 Y:FCFC P:envmxdizC < Checks to see if it is not ZERO then Jumps to the Store if it isn't Zero
    $82/DD4C 8D 50 0A STA $0A50 [$80:0A50] A:0001 X:0000 Y:FCFC P:envmxdizC < Stores Value in your address


    to this below which is my GG code above:

    $82/DD44 AD 7C 0B LDA $0B7C [$80:0B7C] A:0000 X:0000 Y:FCFC P:envmxdiZC
    $82/DD47 D0 00 BNE $00 [$DD49] A:0001 X:0000 Y:FCFC P:envmxdizC < changed it to never jump to the Store
    $82/DD49 A9 08 00 LDA #$0008 A:0001 X:0000 Y:FCFC P:envmxdizC < changed the 01 originally here to 08
    $82/DD4C 8D 50 0A STA $0A50 [$80:0A50] A:0008 X:0000 Y:FCFC P:envmxdizC < Stores it with the value we want into your address



    What is in Red is what I changed, I'll do the costumes next but later today or tomorrow and I hope this explained how I came to these results.
    Spoiler Alert! Click to view...

    THE BAD GUY!!!!!!

    Comment


    • #3
      As long as the effect is the same i don't mind having lesser codes.
      Btw i've tested the code up to the 2nd world only, i hope it won't glitch with the remaining worlds... (i'm going to try it on a real console once the costumes code is ready).
      Last edited by eadmaster; 12-26-2015, 12:35:58 PM.
      Codes and requests made by me

      Comment


      • #4
        From looking at the ASM it basically checks if there a level 0 loaded/unlocked which it shouldn't but is there in case some game screwup and loads the value 1 which is the first stage but I forced it to always load 8 so it will always unlock all stages every time you go to the world map.

        Anyways Here is the Costumes code but they aren't colored in but can all be chosen, I tried many methods of accomplishing this but this seems to be the best method for now and I hijacked some ASM routine that is called through all costume addresses so it unlocks them all. Feel free to snoop around these locations to improve the code.

        Unlock All Costumes
        BB28-1FDB
        4E28-1F0B
        D828-1F6B


        Original ASM:

        $82/D5A9 B9 2F 0B LDA $0B2F,y[$80:0B30] A:0588 X:0588 Y:0001 P:eNvMxdizc
        $82/D5AC D0 04 BNE $04 [$D5B2] A:0500 X:0588 Y:0003 P:envMxdiZc
        $82/D5AE A9 10 LDA #$10 A:0500 X:0588 Y:0003 P:envMxdiZc
        $82/D5B0 80 02 BRA $02 [$D5B4] A:0510 X:0588 Y:0003 P:envMxdizc
        $82/D5B4 8D FC 07 STA $07FC [$80:07FC] A:0510 X:0588 Y:0001 P:envMxdizc



        New ASM:

        $82/D5A9 B9 2F 0B LDA $0B2F,y[$80:0B30] A:7E80 X:0000 Y:0001 P:envMxdizc
        $82/D5AC D0 04 BNE $04 [$D5B2] A:7E00 X:0000 Y:0001 P:envMxdiZc
        $82/D5AE A9 10 LDA #$10 A:7E00 X:0000 Y:0001 P:envMxdiZc
        $82/D5B0 80 02 BRA $02 [$D5B4] A:7E10 X:0000 Y:0001 P:envMxdizc
        $82/D5B4 99 2F 0B STA $0B2F,y[$80:0B30] A:7E10 X:0000 Y:0001 P:envMxdizc

        I know that LDA #$10 looks like you should change to 01 but it makes no difference in the costume images not being full color, there is another branch which loads $08 once there is a value higher than ZERO but again changing that makes it still not give color but it works so eh.
        Spoiler Alert! Click to view...

        THE BAD GUY!!!!!!

        Comment


        • #5
          thank you the for codes, i will try them on a real console and report back any issue i found (if any)...
          Codes and requests made by me

          Comment


          • #6
            The game runs a check on addresses 7E0B30-7E0B3F for the costumes but you only have till 7E0B39 so it seems you might be missing some costumes as there game wouldn't run that set of addresses without a reason.
            Spoiler Alert! Click to view...

            THE BAD GUY!!!!!!

            Comment

            Working...
            X