M3 REAL AR Cheat type support Help

Discussion in 'M3 Adapter' started by dsrules, Mar 1, 2008.

Mar 1, 2008
  1. dsrules
    OP

    Member dsrules GBAtemp Psycho!

    Joined:
    Sep 20, 2005
    Messages:
    3,300
    Country:
    I just tried some of the codes on M3 Real that uses the Repeat Write Function:
    ex.
    Soma Bringer [J] [AR]
    All Abilities Lv20
    C0000000 00000009
    020FDBE4 14141414
    DC000000 00000004
    D2000000 00000000


    Final Fantasy IV [J] [AR]
    Press L+R Max HP
    94000130 FCFF0000
    C0000000 0000000C
    120D5FDE 0000270F
    020D5FE0 0000270F
    DC000000 000001C0
    D2000000 00000000

    But, none of them seems to work. Does the M3 Real support these kind of codes????????
     
  2. xJonny

    Member xJonny ...

    Joined:
    Aug 16, 2007
    Messages:
    1,395
    Country:
    Yes they should, but you should type them in correct format for the file's extension.

    E.g. you could put this in a file called cheats.xml:

    CODEÂÂÂÂ
    Jonny's CHETELIST

    Soma Bringer [J]
    GAME ID HERE
    2006/07/24 17:56
    ÂÂÂÂ
    ÂÂÂÂ
    All Abilities Lv20

    ÂÂÂÂ
    C0000000 00000009
    020FDBE4 14141414
    DC000000 00000004
    D2000000 00000000




    Final Fantasy IV [J]
    GAME ID HERE
    2006/07/24 17:56
    ÂÂÂÂ
    ÂÂÂÂ
    Press L+R Max HP

    ÂÂÂÂ
    94000130 FCFF0000
    C0000000 0000000C
    120D5FDE 0000270F
    020D5FE0 0000270F
    DC000000 000001C0
    D2000000 00000000



     
  3. dsrules
    OP

    Member dsrules GBAtemp Psycho!

    Joined:
    Sep 20, 2005
    Messages:
    3,300
    Country:
    Nope, I've tried *xml, *.dht, and *.db (from Rayder) formats, they all don't work

    ex. When using this code:
    Final Fantasy IV [J] [AR]
    Press L+R Max HP
    94000130 FCFF0000
    C0000000 0000000C
     
  4. Pokemonhacker

    Newcomer Pokemonhacker Member

    Joined:
    Oct 2, 2005
    Messages:
    28
    Country:
    These codes don't work because the DC code type is broken in the M3Real cheat engine. Instead of adding the offset with the value of the DC code, it makes offset = [offset + value of the DC code].

    Anyway, use this code to fix it (just put it once, at the start of the code list for a given game) :

    523FE274 E79B9009
    023FE274 E08B9009
    D2000000 00000000
     
  5. dsrules
    OP

    Member dsrules GBAtemp Psycho!

    Joined:
    Sep 20, 2005
    Messages:
    3,300
    Country:
    OMG!!!!! DC Code Type finally works on M3 REAL!!!

    Pokemonhacker (kenobi), YOU ARE THE BEST! Even better than the M3 REAL Team [​IMG]
     
  6. Pokemonhacker

    Newcomer Pokemonhacker Member

    Joined:
    Oct 2, 2005
    Messages:
    28
    Country:
    Glad it works (I only made a small test on super mario 64 before posting that fix).
    There might be other problems around in their cheat engine, I only looked at the DC code type for now as I was told it was buggy.
    I'll check every other code type else later on (but if you know of any code type not working properly, just tell me, and I'll take a direct look at it).

    And well, I'm not better than anyone. I just happen to know exactly what should be the effect of the code type, and I spotted the bug right away. Anyone creating a cheat engine from scratches (as the M3Real team didn't copy/paste the AR cheat engine, they rewrote it totally) will have to debug/beta test it properly, else there will be problems as you can't write the perfect piece of software right away (even great coders like chishm for the DS (nitrohax) or weltall for the PSP (cwcheat) have/had bugs in their cheat engines).
     
  7. dsrules
    OP

    Member dsrules GBAtemp Psycho!

    Joined:
    Sep 20, 2005
    Messages:
    3,300
    Country:
    Thanks! The only problem I had with M3REAL was the DC code type. Othere than that , so far, I have yet to found any other code type that doesn't work. Even the E,F codes bug on R4 works fine.
    Maybe, I haven't tested all code types, but if I run into any more problems, I'll post it here.
     
  8. Pokemonhacker

    Newcomer Pokemonhacker Member

    Joined:
    Oct 2, 2005
    Messages:
    28
    Country:
    Indeed everything looks fine in their cheat engine.
    However, as it is different from the AR one, the Execute custom asm routine hack doesn't work on it.

    So I made a hack to enable the execution of custom ASM routines for M3Real users.

    Enable custom asm routine for M3Real
    E23FDFDC 00000024
    E08AA009 E35A0000
    1A0000AB E1A0A00E
    E28FE000 E12FFF1C
    E1A0E00A E31E0402
    EA00009E 00000000
    023FE294 EAFFFF50

    With this hack, both the normal E code type and the custom asm routine code type are working. That means you just need to put this hack once at the start of a game list.

    You'll also need to remove the "023FE074 012FFF11" and the "023FE074 E3520003" which are at the start and the end of the AR custom asm routine hacks.

    Be aware that there seem to be a little delay between the time the game is started and the time the hack is applied to the cheat engine (on SM64, it starts working like 10 seconds after the game has booted up ; not sure about other games). So you might want to wait some seconds before loading your save, just in case a custom asm routine hack needs to be enabled right when the actual gameplay starts.

    Also, with this hack, the custom asm routine execution will only occur if the E code type starts with E0000000, and if the offset is set to 0. In case the offset is not zeroed, put a D3000000 00000000 code just before the E0000000 code type.

    Finally, it is possible that some AR custom routines rely on the AR code engine registers (or the AR code engine itself). That will naturaly cause a mess with the M3Real. But I doubt a lot of these cases (if any) actually exist. A problem will also happen if some game overwrites the 0x023FDFDC~0x023FE000 area (however, if the M3Real team chooses to add this "hack" in the official code engine, that problem will be gone).

    Fyi, I tested some custom hack I made, and the backlight code (DS Lite), and everything went fine.
     
  9. dsrules
    OP

    Member dsrules GBAtemp Psycho!

    Joined:
    Sep 20, 2005
    Messages:
    3,300
    Country:
    Seems like the M3 has done it again. This code that fixes the DC code Type on M3REAL becomes useless on the newest firmware 3.5x

    523FE274 E79B9009
    023FE274 E08B9009
    D2000000 00000000

    Pokemonhacker, could you please take a look if you have time?
     
  10. FlatFrogger

    Member FlatFrogger GBAtemp Regular

    Joined:
    Apr 20, 2007
    Messages:
    291
    Country:
    United Kingdom
    Does it break the custom ASM routine code too dsrules?
     
  11. dsrules
    OP

    Member dsrules GBAtemp Psycho!

    Joined:
    Sep 20, 2005
    Messages:
    3,300
    Country:
    I only tried the DC code type..that's what I use mostly.
     
  12. Pokemonhacker

    Newcomer Pokemonhacker Member

    Joined:
    Oct 2, 2005
    Messages:
    28
    Country:
    Strange, I looked into the 3.5x cheat engine, and there is no change with the old one, so it's still "buggy" and the fixes should work correctly. (Actually I tried the enable custom asm code I made, along with the DC code type fix, and they worked properly).

    So make sure the fix is enabled ?
     
  13. dsrules
    OP

    Member dsrules GBAtemp Psycho!

    Joined:
    Sep 20, 2005
    Messages:
    3,300
    Country:
    It didn't work on The World Ends With You, when I tried it on 3.5x... then I changed back to 3.4x and it worked....
    Let me try it again to make sure

    Update: Oops..seems I made a mistake, the fix still works on 3.5x. I think the reason it didn't work was that I use *.txt cheatfiles and sometimes the last code on the list doesn't work, have to put [end] at the end of the file.

    Update 2: Strange...It works on other games, but it refuse to work on The World Ends With You on 3.5x..works fine on 3.4x tho
     
  14. dsrules
    OP

    Member dsrules GBAtemp Psycho!

    Joined:
    Sep 20, 2005
    Messages:
    3,300
    Country:
    Firmware 3.6x finally fixes the DC code type..thanks goes to Pokemonhacker a.k.a kenobi and the M3Team. Great Job!
     
  15. Pokemonhacker

    Newcomer Pokemonhacker Member

    Joined:
    Oct 2, 2005
    Messages:
    28
    Country:
    Thanks. And indeed the 3.6x fixed the DC code type bug.

    The "custom asm hack" is still needed to use codes like the change brightness.
    The old one might have had a small bug, so please use this one :

    Enable custom asm routine for M3Real
    523FE294 E08AA009
    E23FDFDC 00000024
    E08AA009 E35A0000
    1A0000AB E1A0A00E
    E28FE000 E12FFF1C
    E1A0E00A E31E0402
    EA00009F 00000000
    023FE294 EAFFFF50
    D2000000 00000000

    Also, I saw that the code handler could be in a different location.
    So if that hack does not work for a game (like TWEWY), try this one :
    Enable custom asm routine for M3Real (alternate)
    523FE594 E08AA009
    E23FDFDC 00000024
    E08AA009 E35A0000
    1A00016B E1A0A00E
    E28FE000 E12FFF1C
    E1A0E00A E31E0402
    EA00015F 00000000
    023FE594 EAFFFE90
    D2000000 00000000

    (be aware that the TWEWY game doesn't seem to like when you try to turn off the screen with the backlight code, as it also shuts down the NDS...).
     

Share This Page