..:: PCSX2 Forums ::..

Full Version: Codes Conversion
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a way to convert CB V7 or AR Max Codes to be used by pcsx2?
Sure, just use Omniconvert and PCSX2CE to convert to pnach and save under pcsx2/cheats directory then enable cheats in pcsx2. It's thread has it's own step by step instructions. Also make sure the codes are for your game version.
I actually prefer this one by vsub as I don't like installing java, but that is just my preference.
Thanks guys....I have all the stuff you mentioned. The thing is, the CB V7 M codes (like mgs3 subsistence), you can't convert them all together, no matter how you encrypt/decrypt them. pcsx2 usually doesn't need the "must be on codes" to make cheat codes to work, but this game, mgs3 subsistence (disc 1), does need the M codes, otherwise all other codes would not be effective. The same case happened to AR Max M codes too. Not just the M codes, some of the other codes can't be converted too.
M codes can be converted just fine to raw using omniconvert, pcsx2ce doesn't add formatting to them simply cause master code basically tells the rest of the codes to apply when the game is detected, that is done by pcsx2 pnach system itself hence Master code is useless and probably not even implemented.
Anyway I googled for MGS3 master code and it looked something alike:
Code:
(M)
90177138 0C062470
E0072882 000802CC
200802CC 8C860000
200802D0 10C00033
200802D4 00050C02
200802D8 00C13021
200802DC 10000030
200802E0 A4C50000
100800BC 00000083
200C0220 3C01000C
200C0224 25CF0158
200C0228 03E00008
200C022C AC2F0000
200C0230 3C01000C
200C0234 3C040026
200C0238 8C843F10
200C023C 50800008
200C0240 AC200000
200C0244 8C85370C
200C0248 8C260260
200C024C 54A60004
200C0250 AC200000
200C0254 3C050803
200C0258 34A50088
200C025C AC85370C
200C0260 03E00008
200C0264 00000000
20177184 0803008C

(note: not even sure from what game version that is, pasted it as an example only)
^And in fact only the first line of it is the "master code". The rest is some kind of anti-anti-cheat patch or something alike an cheat enabler or something put under same name by laziness of the author or generalization;p, as long as you apply that other part, it potentially should work, however I'm not sure if E code type works in pcsx2 which is basically a multi line skip that applies the rest of the lines only when that code condition is meet.
You could always try using only those codes from third below, but if conditional was added then it might as well start crashing without or be broken in some other way.
To be exact the anti-anti-cheat code above does:
-Check 0x200802CC address,
-If the value is equal to 0x2882/not equal
-execute/skip next 7 lines
-execute all others(always)
Anyway even if E code type doesn't work(never really used it through, so not 100% sure;p), I used D type code in the past successfully and it could probably be written using D codes pretty easily, just would need 7 checks instead of 1(all being same it's very easy;p). I might waste a moment and try to create such code using those working types if you post that master code you need for your game version.
If by any chance you need the very same code I used as an example above, the working in pcsx2 version should be:
Code:
//disable anti-cheat system or cheat enabler
patch=1,EE,D00802CC,extended,00002882
patch=1,EE,200802D0,extended,10C00033
patch=1,EE,D00802CC,extended,00002882
patch=1,EE,200802D4,extended,00050C02
patch=1,EE,D00802CC,extended,00002882
patch=1,EE,200802D8,extended,00C13021
patch=1,EE,D00802CC,extended,00002882
patch=1,EE,200802DC,extended,10000030
patch=1,EE,D00802CC,extended,00002882
patch=1,EE,200802E0,extended,A4C50000
patch=1,EE,D00802CC,extended,00002882
patch=1,EE,100800BC,extended,00000083
patch=1,EE,D00802CC,extended,00002882
patch=1,EE,200802CC,extended,8C860000
patch=1,EE,200C0220,extended,3C01000C
patch=1,EE,200C0224,extended,25CF0158
patch=1,EE,200C0228,extended,03E00008
patch=1,EE,200C022C,extended,AC2F0000
patch=1,EE,200C0230,extended,3C01000C
patch=1,EE,200C0234,extended,3C040026
patch=1,EE,200C0238,extended,8C843F10
patch=1,EE,200C023C,extended,50800008
patch=1,EE,200C0240,extended,AC200000
patch=1,EE,200C0244,extended,8C85370C
patch=1,EE,200C0248,extended,8C260260
patch=1,EE,200C024C,extended,54A60004
patch=1,EE,200C0250,extended,AC200000
patch=1,EE,200C0254,extended,3C050803
patch=1,EE,200C0258,extended,34A50088
patch=1,EE,200C025C,extended,AC85370C
patch=1,EE,200C0260,extended,03E00008
patch=1,EE,200C0264,extended,00000000
patch=1,EE,20177184,extended,0803008C
But like I noted, I haven't even got a clue for what game version this is;p, some people just randomly post codes without caring and I just clicked like one of the first result to find an example.;] Also if anyone noticed I had to move first line to last one to skip since the code basically patches the adress it checks as well, dunno really if it does so couse some kind of sensitive protection or simply to activate the first part code only once after the game starts, but anyway moving that line to last of the 7 should makes sure all of them are patched.Tongue
Thank you so much miseru99! I have read your message several times and I believe I understand only part of your detailed explanation since I'm not a young person who can apprehend most of the computer knowledge and all its related theories.

Anyway, the game MGS3 subsistence is an U version one, #SLUS_213.59. The M codes you used is the same one I found in Gamefaqs. Originally I was trying to use those cheats from Codetwink. Their M codes are even longer and other codes such as inf health were unable to be converted by me. So I list out those codes for you to see how they can be converted and be used with pcsx2. Thank you.

Enable Codes
B4336FA9 4DFEFB79
68B064B4 7932F983
608F4A47 37258991
0CE90ACE BB7182E3
7AD90921 A084498D
08F403DA EE911766
05FB9DD1 12E338EB
A53927BC EC6B2CF5
497AFDF5 7CAE18F3
CAF60E7D FE32C78C
013E7C5A FE50D670
5BA998E9 0F6C8849
5010636B 57E9B2BA
2A80F47C 9C8FA421
BEC4FE10 1E3DC57F
E050F301 216E7BAD
0D24F401 F16D8E96
B94C50AF 80C56465
0BB67EB9 A11F67DF
4C8323CA F64A4321
C1B07F3F 37B26EAB
FDAA2330 719865EE
F74498E4 5F90935F
1996367A 5C830970
EB5ED9AD FBA4C982
BA22ACA4 3190F8A4
8F0C7EAB 7940BF4D
7C7F7CF9 4593E2C7
1A7FE10E 54E86DA8
C5243460 FA2DB304
FFE3D1C0 AABD6675

Disc 1-Subsistence Codes

1 Infinite Health
29B89C68 A3F77D19
C195F7B8 7BD62C6D

2 Infinite Stamina
C204D95D 55B7CC42
B0FBB50B 344300DA
That master/enable code is exactly same I posted, soo it should work, however the other codes have no sense for me at all O.o, after conversion they're:
Code:
Infinite Health
C01D5B38 068403E8
C01D5B38 068603E8

Infinite Stamina
C01D5B38 0A4A7530
C01D5B38 0A4C7530
@_@ basically C code type is just simple conditional that stops all cheats after if condition is not meet, which makes each of those codes have just conditions and nothing is actually executed nor stopped O.o. Exactly same thing happens with all other codes for this game, never really learned ps2 assembly, but it seems that the enable code runs some kind of script and all other codes just break that script on condition, it doesn't have much sense from pcsx2 perspective through... have no clue actually, don't have the game to test;3.
Still nothing to loose;3, give those a try:
Code:
//disable anti-cheat system or cheat enabler
patch=1,EE,D00802CC,extended,00002882
patch=1,EE,200802D0,extended,10C00033
patch=1,EE,D00802CC,extended,00002882
patch=1,EE,200802D4,extended,00050C02
patch=1,EE,D00802CC,extended,00002882
patch=1,EE,200802D8,extended,00C13021
patch=1,EE,D00802CC,extended,00002882
patch=1,EE,200802DC,extended,10000030
patch=1,EE,D00802CC,extended,00002882
patch=1,EE,200802E0,extended,A4C50000
patch=1,EE,D00802CC,extended,00002882
patch=1,EE,100800BC,extended,00000083
patch=1,EE,D00802CC,extended,00002882
patch=1,EE,200802CC,extended,8C860000
patch=1,EE,200C0220,extended,3C01000C
patch=1,EE,200C0224,extended,25CF0158
patch=1,EE,200C0228,extended,03E00008
patch=1,EE,200C022C,extended,AC2F0000
patch=1,EE,200C0230,extended,3C01000C
patch=1,EE,200C0234,extended,3C040026
patch=1,EE,200C0238,extended,8C843F10
patch=1,EE,200C023C,extended,50800008
patch=1,EE,200C0240,extended,AC200000
patch=1,EE,200C0244,extended,8C85370C
patch=1,EE,200C0248,extended,8C260260
patch=1,EE,200C024C,extended,54A60004
patch=1,EE,200C0250,extended,AC200000
patch=1,EE,200C0254,extended,3C050803
patch=1,EE,200C0258,extended,34A50088
patch=1,EE,200C025C,extended,AC85370C
patch=1,EE,200C0260,extended,03E00008
patch=1,EE,200C0264,extended,00000000
patch=1,EE,20177184,extended,0803008C


//Infinite Health
patch=1,EE,C01D5B38,extended,068403E8
patch=1,EE,C01D5B38,extended,068603E8

//Infinite Stamina
patch=1,EE,C01D5B38,extended,0A4A7530
patch=1,EE,C01D5B38,extended,0A4C7530

If those will not work either, then the game will not have any working codes under pcsx2 at least untill somebody make some cheats/trainer natively for emu. Well at least it should be clear it's not really caused by the mystical "Master code", but by either lack of support for C type codes(I guess you could still try running codebreaker on pcsx2 if that was the case) or generally a difference between ps2 and pcsx2 which is totally possible since the codes for this game are written in some weird way abusing assembly;p.
The master code is not mystic actually, it's just not implemented. It is what dictates how those C, D whatever non "conventional" memory pokes are treated.

Pnach engine is able to deal with those codes in some cases, not all cases. The point is the inner function of Codebreaker or other actual cheat engines aren't totally known. Their "emulation" would be another story really, better leaving to some external plugin at least for the while.

On the other hand, that makes the usage of actual ISO of those cheat engines tricky or impossible on PCSX2, that's due they don't run "under" PS2 but take control of it and they expect actual PS2 to be there and the emulator is not exactly the same thing as the actual device. So should not be expected support to such engines ISOs in near future, actually the engine is what "should" be adapted for PCSX2 so to work as intended.

That said, pnach works flawless for all conventional and simple memory access (supposing the code is right, but even when doing the "wrong" thing it is doing what was instructed to do), and May or may not work with complex features involving conditional memory access or code's jumps.
I believe these CB Codes and those AR Max codes too can't be used under pcsx2. Thanks again for your time and trouble, miseru99. You have given me a big help.