Announcement

Collapse
No announcement yet.

Need Help (NES Game Genie codes)

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

  • Need Help (NES Game Genie codes)

    I've done a few codes by finding RAM addresses and making them into Game Genie codes... though I can't seem to get others to work for some reason...

    Chip N Dale Rescue Rangers

    In Level B there are bombs that you can pick up....

    048A 01 (Explode right away)
    048A FF (Don't Explode)

    When I first go to pick it up

    $F899:99 80 04 STA $0480,Y @ $048A = #$FF
    $F89C:A9 00 LDA #$00
    $F89E:99 90 04 STA $0490,Y @ $049A = #$00
    $F8A1:A9 00 LDA #$00
    $F8A3:99 E0 04 STA $04E0,Y @ $04EA = #$10
    $F8A6:38 SEC
    $F8A7:60 RTS
    $F8A8:A9 00 LDA #$00
    $F8AA:99 80 04 STA $0480,Y @ $048A = #$FF
    $F8AD:99 A0 04 STA $04A0,Y @ $04AA = #$00
    $F8B0:B9 E0 04 LDA $04E0,Y @ $04EA = #$10
    $F8B3:C9 01 CMP #$01
    $F8B50 EA BNE $F8A1
    $F8B7:B9 80 05 LDA $0580,Y @ $058A = #$01
    $F8BA:99 90 04 STA $0490,Y @ $049A = #$00
    $F8BD:A9 3C LDA #$3C
    $F8BF:99 A0 04 STA $04A0,Y @ $04AA = #$00
    $F8C20 DD BNE $F8A1
    $F8C4:84 00 STY $00 = #$FC
    $F8C6:A0 0F LDY #$0F

    Afterwords:

    $8638:9D 80 04 STA $0480,X @ $048A = #$B4
    $863B:BD 90 04 LDA $0490,X @ $049A = #$00
    $863E:E9 00 SBC #$00
    $8640:9D 90 04 STA $0490,X @ $049A = #$00
    $8643:60 RTS
    $8644:BD 10 04 LDA $0410,X @ $041A = #$00
    $8647:C9 03 CMP #$03
    $86490 0C BNE $8657
    $864B:BD 30 04 LDA $0430,X @ $043A = #$01
    $864E:C9 04 CMP #$04
    $86500 05 BNE $8657
    $8652:A9 00 LDA #$00
    $8654:9D D0 04 STA $04D0,X @ $04DA = #$80
    $8657:60 RTS
    $8658:BD D0 04 LDA $04D0,X @ $04DA = #$80
    $865B:29 0F AND #$0F
    $865D0 12 BNE $8671
    $865F:FE D0 04 INC $04D0,X @ $04DA = #$80
    $8662:BC 20 04 LDY $0420,X @ $042A = #$27
    $8665:B9 6E 86 LDA $866E,Y @ $866E = #$9D

    And...

    $8638:9D 80 04 STA $0480,X @ $048A = #$FF
    $863B:BD 90 04 LDA $0490,X @ $049A = #$00
    $863E:E9 00 SBC #$00
    $8640:9D 90 04 STA $0490,X @ $049A = #$00
    $8643:60 RTS
    $8644:BD 10 04 LDA $0410,X @ $041A = #$00
    $8647:C9 03 CMP #$03
    $86490 0C BNE $8657
    $864B:BD 30 04 LDA $0430,X @ $043A = #$02
    $864E:C9 04 CMP #$04
    $86500 05 BNE $8657
    $8652:A9 00 LDA #$00
    $8654:9D D0 04 STA $04D0,X @ $04DA = #$80
    $8657:60 RTS
    $8658:BD D0 04 LDA $04D0,X @ $04DA = #$80
    $865B:29 0F AND #$0F
    $865D0 12 BNE $8671
    $865F:FE D0 04 INC $04D0,X @ $04DA = #$80
    $8662:BC 20 04 LDY $0420,X @ $042A = #$27
    $8665:B9 6E 86 LDA $866E,Y @ $866E = #$9D


    I've looked at some texts online but still can't figure out how to get this to function.

    I think I had found the address for the "super acorn"... that normally fills up all your health but couldn't figure out how to make it not fill any or just one.
    Last edited by johnnie1; 07-01-2008, 06:32:59 PM.

  • #2
    Am I missing something? What exactly do you want to do to the bombs you're showing the assembly for? NES isn't my specialty, but I don't mind having a look.

    Comment


    • #3
      Bombs never Explode
      OUONOEOO
      from
      $F899:99 80 04 STA $0480,Y @ $048A = #$FF
      to
      $F899:B9 80 04 LDA $0480,Y @ $0480 = #$00

      Bombs Explode Right Away
      ENXAPPEI

      doing a BPR of 048A and chaning the nearby address

      from
      $81A1: D0 18 BNE $81BB
      t0
      $81A1:F0 18 BEQ $81BB

      Bombs Explode in half the time
      ZSONEAKU

      Bombs Explode in more time than usual
      NNONEAKU

      and these two involve changing the values there
      $F897:A9 B4 LDA #$B4

      heres a few more codes for that game
      Start at Zone A
      PAEKLTAA
      PAEGGVLA
      Start at Zone B
      ZAEKLTAA
      ZAEGGVLA
      Start at Zone C
      LAEKLTAA
      LAEGGVLA
      Start at Zone D
      GAEKLTAA
      GAEGGVLA
      Start at Zone E
      IAEKLTAA
      IAEGGVLA
      Start at Zone F
      TAEKLTAA
      TAEGGVLA
      Start at Zone G
      YAEKLTAA
      YAEGGVLA
      Start at Zone H
      AAEKLTAE
      AAEGGVLE
      Start at Zone I
      PAEKLTAE
      PAEGGVLE
      Veiw Ending
      ZAEKLTAE
      ZAEGGVLE
      Last edited by Hybrid; 07-10-2008, 11:30:52 PM.

      RIP MOM 6-27-52 - 12-25-10

      Comment


      • #4
        Hey Hybrid, nice to see how you're improving faster and faster.
        Last edited by VisitntX; 07-11-2008, 12:23:30 AM.
        "Dizzy my future, silly my way."
        "Under my flag I live free."

        Comment


        • #5
          Yeah!

          Yes, a new retro hacker is always welcome .

          Comment


          • #6
            Very nice indeed.

            Especially the level select ones, granted it's an easy game but still, nice to see after all these years new codes.

            Thanks =)

            Comment


            • #7
              not a problem glad you like the codes

              RIP MOM 6-27-52 - 12-25-10

              Comment


              • #8
                One thing I noticed though, when I tested it on my NES it didn't seem to need the second part of the code to work [level selects] granted I didn't try all the levels.

                I need to learn how to read coding better to make some better codes other than the trial and error method I've done in the past [granted I got some interesting ones]



                ETA:

                Wow... I understood some of the stuff just from your examples and got infinite stun to work (which is not that great unless you're looking for a challenge in forcing a possible restart.)

                I'll play around a bit and see about posting a few more on the other thread later.
                Last edited by johnnie1; 07-30-2008, 05:24:11 PM.

                Comment


                • #9
                  Start at Zone A
                  PAEKLTAA
                  PAEGGVLA


                  the second part of the code is for the intro to the levels while not strictly nessecary but it still looks better when the correct intro is shown

                  RIP MOM 6-27-52 - 12-25-10

                  Comment


                  • #10
                    johnnie1 I recommend you to try MESS for debugging, it's a really powerful debugger, you can use BP and WP.
                    "Dizzy my future, silly my way."
                    "Under my flag I live free."

                    Comment


                    • #11
                      doing a BPR of 048A and chaning the nearby address
                      This may be a simple question or a hard one. I've figured out a few more things as I'm still playing with Rescue Rangers 1 and 2... but how and what exactly is doing a BPR to an address. I'm not sure where to do that, or does that require some knowledge that the program doesn't do?

                      Like above a BPR was done to 048A to get more code information to use. I'm using FCEUXD SP 1.07 emulator to do my debugging.

                      VisitntX - I've downloaded that a little while ago, haven't really figured it out much other than loading a rom.

                      ETA: Is BP/WP something to do with BPR?
                      Last edited by johnnie1; 08-01-2008, 10:30:57 PM.

                      Comment


                      • #12
                        ^^

                        Well, I'll try to explain it a bit n_n.
                        A BP (breakpoint) generally speaking is when you make the debugger watch for an instruction of the rom being executed.
                        A WP (watch point) is when you make the debugger watch for an addess in RAM being changed or readed. There's two types of WP, reading WPs and write WPs. So I think Hybrid was talking about making a reading WP at that RAM address.
                        On the other hand if you're using FCEUXD SP, you don't have to worry about BPs or WPs, since its debugger doesn't name them that way. You just have to open its debugger, click the "Add" button, then write the desired address. If you want to monitorize when an instruction of the ROM is executed, write the ROM address, then check "Execute". If you want to make a read WP, write the address and check "Read". If you want to make a write WP, do the same procedure, but check "Write" instead. For all 3 cases, make sure that the "CPU Mem" radius button is checked.
                        Try to give a quick read of the fceuxd.txt and readme.txt in the same folder of FCEUXD SP.
                        About MESS, its true that it has a very powerfull debugger, but it crashes in some games, and doesn't emulate at all another ones. Its very easy to use, just download the latest version, load your rom, them press the key that is directly down from the "ESC" key and left to the "1" key (the one used to write "ยบ"). I can't remember its name, lol.
                        Then the debugger console will appear. Then you must input the commands to start the job.
                        For example a read WP:
                        WP 0932,1,r
                        The "1" means that we only want to check for reads for $0932 only. If you need to check for the contiguous addresses, just change the "1" to "2" or the desired number as needed.

                        For example
                        WP 0932,4,r
                        Will check for reads of $0932,$0933,$0934 and $0935

                        A write WP:
                        WP 0932,1,w

                        And lastly a BP:
                        BP F621
                        It will check if the instruction at $F621 is executed.

                        You can also type HELP at the console, and then read the detailled help for all the commands of the MESS debugger.

                        Hope you can start to hack some codes with this info.
                        Good luck .

                        Whipon.
                        Last edited by Whipon; 08-03-2008, 05:00:30 PM.

                        Comment


                        • #13
                          Originally posted by johnnie1 View Post
                          This may be a simple question or a hard one. I've figured out a few more things as I'm still playing with Rescue Rangers 1 and 2... but how and what exactly is doing a BPR to an address. I'm not sure where to do that, or does that require some knowledge that the program doesn't do?

                          Like above a BPR was done to 048A to get more code information to use. I'm using FCEUXD SP 1.07 emulator to do my debugging.

                          VisitntX - I've downloaded that a little while ago, haven't really figured it out much other than loading a rom.

                          ETA: Is BP/WP something to do with BPR?
                          Has been usefull the info I posted?. You can say thanks at least, don't you think so?.

                          Comment


                          • #14
                            I have been on the boards a bit since you've posted [mostly finishing old codes I had started on previously], but haven't had much of a chance to work on trying this stuff out until a little while ago...

                            It has been helpful, though I'm still slow on finding codes out, some moreso than others... trial and error mostly... some things work on an emulator but the code sometimes needs tweaking to work on the NES. I've figured out a couple more codes tonight, will post them when I have a few more to add to it.

                            I still haven't gotten around to using the other emulator.

                            I suppose I should have wrote 'Thanks' earlier even though I hadn't really tested out the information, but I've tested it out a bit now and it's helped me a fair bit, still don't quite get execute as it doesn't seem to do anything when I've tried it, I think the regular fceu help file would probably have more in it when I get around to looking at it as a lot of references in the XD file refer to checking that.

                            I apologize for not replying sooner, I really do appreciate the help, I don't want to give off the impression that I didn't.
                            Last edited by johnnie1; 08-06-2008, 08:56:03 PM.

                            Comment


                            • #15
                              Its ok =P

                              Its ok, glad that you managed to start the process. If you find any problems again, post them here, If I can't help you, surelly someone else will. Another point to note is the vast amount of info avalaible in this forum. Pugsy, Ugetab, Tony Hedstrom, Chemist and VisitntX had helped me a lot to achieve my current level. I owe them a lot of fun!!!.
                              Good luck and good f_ _k!!!.
                              Whipon.

                              Comment

                              Working...
                              X