Announcement

Collapse
No announcement yet.

Hacking 2 byte (or more) codes in FCEUX

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

  • Hacking 2 byte (or more) codes in FCEUX

    Game in Question: Romance of the Three Kingdoms (NES)

    Scenario: I'm starting out in game scenario 1 (that is Jan. 189) with me controlling Cao Cao in State 7. When I first start out the game, I start out with 1200 gold and 20000 rice. It is these numbers that I am obviously concerned about. Since the value of these numbers are well over 255 (the maximum value for a one byte code), I can not use a known value search in the cheats menu.

    This opens up two questions:

    1. I know that this site has some RAW codes for the game in question, but I have no knowledge in how to get them to work with my game.

    2. Is there any special techniques that is required for searching for 2 byte codes in FCEUX?

  • #2
    Not familiar with FCEUX, but if it really constrains searches to one byte only, you can always just search for the low-order bits of the value. 20,000 = 0x4E20, so search for 0x20 and look for the 4E in an adjacent byte. You could change the value and search again too, if you're looking for a RAM code. Add 100 rice and search for 0x84 or whatever.

    I know NES codes are sort of primitive, but presumably you could write single bytes to adjacent addresses to modify the full value, if that's what you want to do. I don't know if that's actually doable. I don't remember any specific limitation that would prevent it, aside from not being able to do it in RAM with certain devices.

    Comment


    • #3
      Originally posted by Pyriel View Post
      Not familiar with FCEUX, but if it really constrains searches to one byte only, you can always just search for the low-order bits of the value. 20,000 = 0x4E20, so search for 0x20 and look for the 4E in an adjacent byte. You could change the value and search again too, if you're looking for a RAM code. Add 100 rice and search for 0x84 or whatever.

      I know NES codes are sort of primitive, but presumably you could write single bytes to adjacent addresses to modify the full value, if that's what you want to do. I don't know if that's actually doable. I don't remember any specific limitation that would prevent it, aside from not being able to do it in RAM with certain devices.
      It does restrict known value searches to one byte. I had a bit of difficulty searching for State 7's horse value that took me, as someone who is inexperienced in hacking NES codes, a better part of a day to find a code that will work, but at this point, I'm willing to try anything.

      EDIT: I just want to add in the code that I found for State 7's horses, if that helps:

      7434:FF (original value code: 7434:42)
      Last edited by Sanji Himura; 06-24-2015, 08:59:10 PM. Reason: Adding Additional Information

      Comment


      • #4
        example
        000073A8 05F5E0FF

        should look like this on NES Emulstor
        73A8 FF
        73A9 E0
        73AA F5
        73AB 05
        lee4 Does Not Accept Codes Requests !
        When lee4 asks a question it does not mean lee4 will look at your game
        *How to create and use SegaCD codes >click here<*
        >)

        Comment

        Working...
        X