Announcement

Collapse
No announcement yet.

i'm missing something to be able to make NES cheat

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

  • paxtammy
    replied
    Originally posted by rimsky82 View Post

    Let me attempt to explain. Look at the first line.
    Code:
    $AC70:C6 34 DEC $0034 = #$02
    • $AC70 - This is the address
    • C6 34 - Then you have the instruction in machine code. This particular instruction requires two bytes, the instruction itself (C6) and the address to manipulate (34).
    • DEC $0034 - Then you have the translation of the instruction in assembly. C6, which in assembly is DEC or decrease, decreases the value in the defined address by 1. $0034 is the address whose value it's going to decrease. Simply, DECrease the value in address $0034.
    • = #$02 Finally, you have the new value after the instruction. As you might have figured out, $ denotes an address and #$ denotes a value. This is a nice feature of the debugger to help out a little with the interpretation.


    A lot of GG codes reverse storing instructions. So when you see LDA, which is LoaD into register A (the accumulator), it is pulling a value from memory. And when you see STA, or STore register A into memory, it is taking what is in A and putting it into the address specified. What I mean by reversing storing, is that you change the STA to an LDA.

    So when dealing with lives or energy, generally a game pulls a value from memory, decreases it or something and stores it back. When you change the store to another load, the new value is never written and the old value stays the same. It's important when making codes to not interfere with any other aspect of the game, so loading the value again instead of writing it is usually safe.

    When you make a game genie code, you are manipulating the game's code to do what you want. You can become a great code maker by using a reference for the 6502's instruction set. Then you can start to see what the game is doing, and change it to your liking to make great codes.
    this website is no longer active suggest an alternative?

    Leave a comment:


  • MethidMan
    replied
    Can EYXGPYEI for Clash at Demonhead be added to the database? I don't care who it's credited under, Hybrid can take the credit for it even if I came up with the raw code. Also, can APSUELEI for River City Ransom be added too? I think that code should be up there if LEXNGIZA is. Dunno who that should be listed under.

    Leave a comment:


  • Hybrid
    replied
    Fine with me

    Leave a comment:


  • MethidMan
    replied
    It works! Thank you!

    BTW, I saw those codes for River City Ransom that you and Panda posted for those extra menu options, which kinda frustrates me that the people who localized the game removed them when they had no reason to do so. Anyway, I've decided to post those codes on Romhacking.net along with a menu edit request in the hopes that someone can make a hack that would make them visible. Are you guys okay with that?

    Leave a comment:


  • Hybrid
    replied
    i hope this is what you are looking for
    EYXGPYEI

    Leave a comment:


  • MethidMan
    replied
    Hey Panda, while you're learning how to convert raw codes to game genie codes, you think you can help me with this one code I happened to discover by accident for Clash at Demonhead? It basically makes the message speed in the dialogue boxes much faster. The code is 0513:01 (I don't know the compare value, sorry). I tried figuring it out on my own but I just couldn't do it, even with tutorials... Would you be willing to give it a try?

    Leave a comment:


  • panda
    replied
    Thanks, C5B6 works perfectly I only changed the value, because i just noticed the max lives in the game is 8, and if i put 9, it return to 8 lives when i gain 1.

    This code works even better than the codes i made for the 4 items, because when i "Reset" the game, i always start again with the 8 lives. My codes for the items i have to "hard-reset" (Power), because the items doesn't return to 255 if i simply Reset, so if i used 3 items i'll start with 252. Probably due to a small glitch caused by the fact i didn't found the Compare, but at least it works. I should practice with a different game.

    Leave a comment:


  • Hybrid
    replied
    start with 9 lives
    IEUGTILA

    (C5B6?03:09)

    you notice how this LDX loads the value 03 but nothing stores that register until $C5CD
    Code:
    $C5B5:A2 03     LDX #$03                   A:00 X:FF Y:00 P:nvUBdIZC
    $C5B7:85 9A     STA $009A = #$00           A:00 X:03 Y:00 P:nvUBdIzC
    $C5B9:85 24     STA $0024 = #$FF           A:00 X:03 Y:00 P:nvUBdIzC
    $C5BB:C0 C0     CPY #$C0                   A:00 X:03 Y:00 P:nvUBdIzC
    $C5BD:D0 06     BNE $C5C5                  A:00 X:03 Y:00 P:nvUBdIzc
    $C5C5:85 2C     STA $002C = #$FF           A:00 X:03 Y:00 P:nvUBdIzc
    $C5C7:85 2D     STA $002D = #$FF           A:00 X:03 Y:00 P:nvUBdIzc
    $C5C9:85 2F     STA $002F = #$FF           A:00 X:03 Y:00 P:nvUBdIzc
    $C5CB:85 2E     STA $002E = #$FF           A:00 X:03 Y:00 P:nvUBdIzc
    $C5CD:86 2A     STX $002A = #$00           A:00 X:03 Y:00 P:nvUBdIzc
    i don't see where the others are written from but atleast theres the one code

    Leave a comment:


  • panda
    replied
    Thanks for the info, i added the compare 05, and i get LTUIGAIA to start with 99 continues, the code works perfectly. I didn't knew it was best to always use the compare, i thought it was optional. There seems to be some codes that doesn't work when i add the compare. For example, i'm currently making some codes for the puzzle game called Banana, (because codes for this game are almost non-existent). At this time, i made these:
    Start with 255 bombs NNGKGS (Also found 002E:FF to have infinite)
    Start with 255 ladders NNGKAS (Also found 002D:FF to have infinite)
    Start with 255 ropes NNGKZS (Also found 002F:FF to have infinite)
    Start with 255 boulders NNGGTS (Also found 002C:FF to have infinite)
    Adding a compare of 00 to these codes makes them not working, if my codes only work without the compare, does that mean these codes have a mistake?

    I was trying to make a similar code for "Start with 9 lives" (Found 002A:09 to have infinite), i think the address for making this code should be C5CE or C5CD, i tried with both, and i get the same strange results with both of them; if i use a compare, the code do nothing, and if i doesn't put a compare, i start with 0 life, and this 0 is not really 0, as it is an unknown glitch number when i lose (by pressing A+B).
    Edit: Maximum lives in the game is 8, not 9.
    Last edited by panda; 08-17-2016, 12:32:20 PM.

    Leave a comment:


  • Hybrid
    replied
    it may not be necessary but its always best to use the compare digit in the code it will stop glitches

    Leave a comment:


  • panda
    replied
    I'm glad to hear the code was good for Mickey Mouse
    I practiced with other games, and i tried to make more codes. With the game Bomberman (the first one), i noticed there is a cheat from Galoob already available on gamehacking, the code GXEKLGSA to "Never lose remote controller after pick-up" is a good code. But i noticed there was no similar code for the 3 other powerups (flamepass, wallpass, and bombpass), so when you pick these powerups, you will lose them if you die. I decided to make a code for each one of these, so you never lose them after pick-up. These new codes are:
    Never lose wallpass after pick-up: GXEGYGSA
    Never lose bombpass after pick-up: GXEKPGSA
    Never lose flamepass after pick-up: GXEKIGSA

    I was also trying some already existing codes on gamehacking (to add in my .cht file), i noticed 2 things that should be noted: The code PEEGTGAA by Whipon has a flaw, it says "Don't Loose Items When You Die", but you can start a new game, get hit by an enemy or an explosion, and you'll receive all 4 powerups, even if you didn't had them before getting hit. So this code should be described as "Receive and keep all powerups when you die" for a more accurate description. Another thing, the "Start on level" code ??LGY? by Iceboxman has a mistake for "Level 14", it should say "Level 14 - TE,U" instead of "Level 14 - ZO,U", as "ZO,U" is for Level 26.

    I also made 1 code for the game "Jackie Chan Action Kung Fu". Usually, you start with 5 continues (the continues are like the Life in this game, since you get the Game Over screen everytime you die). I wanted a code that would allow me to decide the number of continues i start with. I tried the code YUZELK from Brian Johnson, but for me this code was not working (no effect?). That's when i thought i had a new challenge, trying to make this code. For some reason, i found it difficult to find this one while i think it shouldn't be that hard, but i finally made it: LTLIGA to start with 99 continues (Addr: D034 Val: 63). On the title screen, there's already a secret-code you can do with the controllers to start with 99 continues, but it's easier and faster to simply activate a code, and more importantly, there's no way to start with a different amount of continues with the secret-code of the controllers; it's always 99. While the game genie code allow you to choose any amount of continues only by changing the value, so let's say you want to start with 10 continues, you can use the value 0A (game genie = ZALIGE).

    I think these new codes should be correct but if there's a mistake, it would be in the Jackie Chan code, as i had more difficulty to make it, but i tried it and it seem to works. I will practice more, there were more codes i wanted to do but i didn't succeed for now.

    Leave a comment:


  • Hybrid
    replied
    ooh that is interesting there might be a flaw in what i did wow even Galoob used E9 on mickey mouscapade you out hacked me on that one
    ok i see now what i did
    the coding starts out like this
    Code:
    $9663:E5 00     SBC $0000 = #$01
    $9665:85 C2     STA $00C2 = #$01
    (this coding subtracts the value at address 0000 (in this case 01) from c2)
    my mistake was changing it to this
    Code:
    $9663:A5 00     LDA $0000 = #$01
    $9665:85 C2     STA $00C2 = #$01
    (this code loads the value at address 0000 and stores it to c2)

    the correct way
    Code:
    $9663:E9 00     SBC #$00
    $9665:85 C2     STA $00C2 = #$01
    (changes the type of SBC where it subtracts 00 instead of using it as an address ) kudos to you very well done


    to fix the ending thing use this
    SXKIXSSE

    and for mickey mousecapade
    SXSIESSE

    also level 03 is the only level where both of them shoot (pirate ship/never never land )

    Leave a comment:


  • panda
    replied
    I'm happy that i was able to make valid Game Genie codes I'll continue to practice with other games.

    About the infinite energy code, i tried SZVPLTST (with a value of A5 instead of E9) and, it works, but there's something i noticed: When i get hit, my hit points could drop until it reach 1 hit point left, and then, this remaining hit point was infinite. With OTVPLTSV, my hit point are not dropping at all. I don't really know the technical details behind this, but i think that SZVPLTST is indeed the good code, as you have a lot more knowledge than me about making codes.

    Thanks for the bonus codes. I found 2 things about the codes to start at X level invincible and able to shoot, these are details but i think i should share these infos:
    1. These codes make the following code not working: AASSKTPA. So, if you want to start at the last stage with the code GEUSUIAA, you should use the RAW code 07FE:00 if you want to see the ending of the game instead of return to the title screen (RAW code works in this case, but not AASSKTPA).
    2. These codes to start invincible and able to shoot, it's to note that while Mickey is able to shoot, Minnie can't. If you want to have all weapons, this code should also be used: 00BC:03.

    In case anyone is interested, i just found a code to deactivate all music of the game (works for both versions of the game): 018C:00
    So you can play with only the sound effect and listen to another music while playing.

    Leave a comment:


  • Hybrid
    replied
    correct codes
    Start with 0 lives: AEKPIPGA.
    Start with 1 lives: PEKPIPGA.
    Start with 2 lives: ZEKPIPGA.
    Start with 3 lives: LEKPIPGA.
    Start with 5 lives: IEKPIPGA.
    Start with 6 lives: TEKPIPGA.
    Start with 7 lives: YEKPIPGA.
    Start with 8 lives: AEKPIPGE.
    Start with 9 lives: PEKPIPGE
    Infinite lives: SZUPLZVG

    For Mickey Mousecapade (US) AANIXTPA
    Mickey Mouse Fushigi no Kuni no Daibouken, it is AASSKTPA

    all these codes seem to be correct above the only one that seems abit off is your infinite energy OTVPLTSV
    good going the infinite energy should be this SZVPLTST use a value of A5 instead of E9

    now as for a bonus here's a few codes
    Start on the Ocean invincible and able to shoot
    PEUSUIAA
    Start on Woods Land invincible and able to shoot
    ZEUSUIAA
    Start on Never Land invincible and able to shoot
    LEUSUIAA
    Start on Queen's Palace invincible and able to shoot
    GEUSUIAA

    Invincibility
    EYSOTTEI
    Invincibility
    00F1:01

    here's for Mickey Mousecapades
    Start on The Ocean invincible and able to shoot
    PEKSOIAA
    Start on The Woods invincible and able to shoot
    ZEKSOIAA
    Start on The Pirate Ship invincible and able to shoot
    LEKSOIAA
    Start on The Castle invincible and able to shoot
    GEKSOIAA

    Invincible
    ENEOGTEI

    Leave a comment:


  • panda
    replied
    Since my previous message, i practiced a lot to make Game Genie codes. I think i succeed to make some cheats, and it is obviously due to all your help if i was able to do this, and i'm thankful for it.

    I remembered that when i was young, i had a strange NES cart with 10 NES games on it (it was a blue screen with 10 games that i could choose). I don't think it was a legit cart as i never heard or found any info about this cart anywhere on internet. Strangely, the games on this cart were mostly games released in Japan only, such as Bio Miracle Bokutte Upa. I remember there was also a game of Mickey Mouse, and i realised i had the Japanese version of the game. I didn't had Mickey Mousecapade, but it was really Mickey Mouse Fushigi no Kuni no Daibouken, that Japanese version of the game has some differences (monsters and more). I found that the Game Genie codes i could find on internet for this game was obviously not working on the Japanese version of the game, and since i'm more familiar with this version, i had to create the cheats myself.

    These are the cheats i made. I tried everyone of my codes, and i think they works (only for Mickey Mouse Fushigi no Kuni no Daibouken):
    Invincibility: OTVPLTSV (no hit points are lost when you get hit)
    Start with:
    No Extra Life: AEKPIPGA. 1 Extra life: PEKPIPGA. 2 Extra life: ZEKPIPGA. 3 Extra life: LEKPIPGA. 4 Extra life: GEKPIPGA (useless, you already start with 4). 5 Extra life: IEKPIPGA. 6 Extra life: TEKPIPGA. 7 Extra life: YEKPIPGA. 8 Extra life: AEKPIPGE. 9 Extra life: PEKPIPGE
    Infinite life: SZUPLZVG

    I also found a secret about this game (and then i had to make one more cheat). On the title screen, there's a way to select the level in which you want to start (i found the cheat somewhere). But there's a problem with this secret.
    In the Mickey Mousecapade (US) version of the game, if you decide to start on a specific level (let's say on the second level), as soon as you finish this level, the game bring you back to the title screen instead of making you continue to the next level. And if you choose to start to the last level, after the level you'll not even see the end of the game as the game bring you back to the title screen. In the Japanese version of the game (Mickey Mouse Fushigi no Kuni no Daibouken), the problem is almost the same: The game let you continue to the next level, but if you choose to play the last level, you'll not see the ending of the game and again, you'll be back to the title screen. So, this level selector has a flaw in both versions of the game.

    I found that to fix this problem, in both versions of the game, you can use this cheat Address: 07FE Value: 00
    With this cheat activated, even if you select the level in which you start, you'll continue to the next level, and you'll see the ending of the game after you complete the last one. I also tried to make a Game Genie version of this cheat for both versions of the game. I'm not completely sure if they are valid codes, but they seem to works when i try them. Here they are:
    For Mickey Mousecapade (US) AANIXTPA, and for the Japanese version of the game; Mickey Mouse Fushigi no Kuni no Daibouken, it is AASSKTPA

    Anyway, i think i still have to learn things because i was unable to make a cheat for the Japanese version of the game, to have the weapon for Mickey and Minnie. I found the cheat Address: 00BC Value: 03 but this was more difficult with this one. Anyway, i'll still be happy if my other cheats are good.

    Leave a comment:

Working...
X