Announcement

Collapse
No announcement yet.

I need help making a specific type of Nintendo 64 Gameshark code

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

  • I need help making a specific type of Nintendo 64 Gameshark code

    Well to start off I'm kinda new here, so hello. Anyway, I was hacking MegaMan 64 for the Nintendo 64, and I came across a fog density code. What I am trying to do is, make a code where you hold C-right and press D-pad up to increase fog intensity and hold C-Left and press D-Pad down to decrease it. The value for the fog is 0004 and what I would like to do is have it increase by a value of 2 when I hold C-right and press D-pad up and then have it decrease by a value of 2 when C-left is held and D-pad down is pressed.

    I already know that normal jokering won't work, so what I tried doing was using a repeater patch code type to see if I could make it increment the value by 2 each time I held C-right and pressed D-pad up, but it didn't work.
    Can someone take a look at the code I made and tell me what I did wrong?

    Here is the code. [Note: This is only the first part of the code I am trying to make]

    Increase Fog Intensity (Hold C-Right And Press D-Pad Up To Increase Intensity)
    D11ACA04 0801
    50000100 0002
    80204924 0004
    I'm retired from code hacking.
    I do not take requests!

  • #2
    I've done very little hacking for N64, being primarily interested in PSX at the time, but if D1 codes for N64 GS are the same as D0 codes for PSX GS (docs seem to suggest that), you may not be able to activate a serial repeater (50-type) with a D1 code. For PSX GS, there was a C0 code type, which activated all subsequent lines rather than just the next line. However, there doesn't seem to be such a code type for N64 GS.

    Someone with more N64 hacking experience should probably clarify.
    I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

    Comment


    • #3
      The only code types I am aware of that could work for this, are activator code types and the repeater patch code type. I read on the Enhacklopedia, that a 50 type code can be preceded by any D0 type code, however, that doesn't seem to be the case. I'll keep trying out different code types and see if I can get it to work. If I can't get it to work, I'll just make a fog modifier code and call it good there.

      Thanks for replying and trying to help me Lazy Bastard. I really appreciate it!
      I'm retired from code hacking.
      I do not take requests!

      Comment


      • #4
        Just a thought, try telling it to write twice with an address increment of zero. What you're doing here is faking out the cheat engine a bit, so whether or not this works is contingent on how it's written. I'm thinking the value increment is not used on the first pass.

        There are a couple of ways I see this going. If this actually works, it'll either be because the people who coded the cheat engine had the foresight to look at a repeater followed by a write as a single code/line, or because the engine simply executes the constant write unless the test/activator causes the repeater to come into play. If it's the former, you'll see the increment as you expect, and you can merrily play the game. If it's the latter, then the change will only work until you release the buttons, at which point the constant write will put the 4 back.
        Last edited by Pyriel; 04-17-2013, 03:52:24 PM.

        Comment

        Working...
        X