Hacking M3 REAL AR Cheat type support Help

dsrules

Well-Known Member
OP
Member
Joined
Sep 20, 2005
Messages
8,687
Trophies
2
XP
6,229
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????????
 

xJonny

...
Member
Joined
Aug 16, 2007
Messages
1,394
Trophies
0
Website
Visit site
XP
184
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



 

dsrules

Well-Known Member
OP
Member
Joined
Sep 20, 2005
Messages
8,687
Trophies
2
XP
6,229
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
 

Pokemonhacker

Active Member
Newcomer
Joined
Oct 2, 2005
Messages
28
Trophies
0
XP
53
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
 

dsrules

Well-Known Member
OP
Member
Joined
Sep 20, 2005
Messages
8,687
Trophies
2
XP
6,229
Country
OMG!!!!! DC Code Type finally works on M3 REAL!!!

Pokemonhacker (kenobi), YOU ARE THE BEST! Even better than the M3 REAL Team
smile.gif
 

Pokemonhacker

Active Member
Newcomer
Joined
Oct 2, 2005
Messages
28
Trophies
0
XP
53
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).
 

dsrules

Well-Known Member
OP
Member
Joined
Sep 20, 2005
Messages
8,687
Trophies
2
XP
6,229
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.
 

Pokemonhacker

Active Member
Newcomer
Joined
Oct 2, 2005
Messages
28
Trophies
0
XP
53
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.
 

dsrules

Well-Known Member
OP
Member
Joined
Sep 20, 2005
Messages
8,687
Trophies
2
XP
6,229
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?
 

Pokemonhacker

Active Member
Newcomer
Joined
Oct 2, 2005
Messages
28
Trophies
0
XP
53
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 ?
 

dsrules

Well-Known Member
OP
Member
Joined
Sep 20, 2005
Messages
8,687
Trophies
2
XP
6,229
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
 

Pokemonhacker

Active Member
Newcomer
Joined
Oct 2, 2005
Messages
28
Trophies
0
XP
53
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...).
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Xdqwerty @ Xdqwerty:
    also gonna install twilight menu in my r4 flashcard
  • Psionic Roshambo @ Psionic Roshambo:
    One thing that just occurred to me.... The sound on the 2600 sucked less back then the harsh sound we hear now is from infinitely better speakers we have now, back when the 2600 was new speakers produced a almost muffled sound, like CRTs made old graphics look slightly better.
  • Psionic Roshambo @ Psionic Roshambo:
    I wonder if I could recommend that to some emulation devs that perhaps the sound could use some smoothing out to simulate those old TVs
  • Psionic Roshambo @ Psionic Roshambo:
    I think a few of the early systems could benefit from that, at least up to the 8 bit generation, by the 16 bit generation I think TVs had gotten a lot better in almost every way
  • Xdqwerty @ Xdqwerty:
    i dont have an sd card adapter but I have an usb sd card adapter
  • K3Nv2 @ K3Nv2:
    Old people games
  • Xdqwerty @ Xdqwerty:
    its not the one that comes with the r4
  • Xdqwerty @ Xdqwerty:
    doesnt work (my flashcard is from r4isdhc.com)
  • Xdqwerty @ Xdqwerty:
    might install ysmenu first
  • Psionic Roshambo @ Psionic Roshambo:
    Try Wood firmware
  • Psionic Roshambo @ Psionic Roshambo:
    For your R4
  • Psionic Roshambo @ Psionic Roshambo:
    It's old but it's the best firmware out for DS stuff
  • Xdqwerty @ Xdqwerty:
    it says it only works for the original R4, R4i Gold (r4ids.cn), R4iDSN (r4idsn.com) and Acekard R.P.G.
  • Xdqwerty @ Xdqwerty:
    nvm it does support mine
  • Xdqwerty @ Xdqwerty:
    but why choose it over ysmenu @Psionic Roshambo?
  • Xdqwerty @ Xdqwerty:
    bc im stupid?
  • Xdqwerty @ Xdqwerty:
    yea ik im stupid
  • Xdqwerty @ Xdqwerty:
    good night
  • Psionic Roshambo @ Psionic Roshambo:
    Just give it a try, but honestly if you have a 3DS you can play DS games without a card just off the internal SD card
  • Psionic Roshambo @ Psionic Roshambo:
    Slightly slower loading but a bit more convenient
  • BakerMan @ BakerMan:
    guys, my fuckin headphones have an out of place speaker
  • K3Nv2 @ K3Nv2:
    Did you try wearing them?
    B @ btjunior: @Xdqwerty 16