Next Generation Emulation banner

Convert Code Breaker Cheats to PNACH Files!

3 reading
719K views 417 replies 144 participants last post by  Hisam18  
#1 · (Edited)
You will need:

CB Crypt v1.11 - Converts CodeBreaker Codes to RAW.
CodeBreaker Disc Version - Checks your game is the correct one for the codes.

Signup to the Code Breaker Site (it's free) for the codes...though I assume they are all yank cheats :rolleyes:

Browse to the game you wish to cheat on, for this example Makai Kingdom. At the bottom of the page will be:
Advanced PS2 Identification System:
E9 32 A9 0F 13 12 33 CB D7 3E E2 85 06 A9 1E 52 D3 D6 D3 15
Use CodeBreaker Disc Version to scan your disc drive (the drive you've inserted the PS2 CD or DVD into, if you're using an ISO, mount it with Daemon Tools). It will then scan the ELF, if the two strings match, your in business, if they don't these cheats won't work for the game.

On the cheats page, click View Codes.

Open up, CB Crypt v1.11 and a blank text file.

Put in the Text file:

Code:
gametitle=Makai Kingdom [SLUS 21170] (U) [121AFAF5]
comment=Patch by Author of Codes (replace with the name of the CodeBreaker who made the cheats.)
//Master Code
Scroll down on the cheats page until you see the Enable Code entry:
Code:
9A404435 ED112A0C
2A7B314C 00000000
Past these two lines into CB Crypt (left hand side box), and click Decrypt, this will give you the following in the right handside box:
Code:
[b][COLOR="Red"]9[/COLOR][/b]0118DB8 00832021
2013AF50 00000000
If the line starts with a 9 or an F do NOT include this in your master code.
Code:
gametitle=Makai Kingdom [SLUS 21170] (U) [121AFAF5]
comment=Patch by Author of Codes (replace with the name of the CodeBreaker who made the cheats.)
//Master Code
patch=1,EE,2013AF50,word,00000000
This process can be repeated to add cheats, simply paste in the cheat on the left hand side, and decrypt and enter into the pnach file in the same format, obviously the usual method of finding CRC (for file name) is applicable.

I recommend labelling each cheat with a //comment to keep yourself organised.

Here's a larger example of a cheat pnach I created:
Code:
gametitle=Makai Kingdom [SLUS 21170] (U) [121AFAF5]
comment=Patch by Author of Codes (replace with the name of the CodeBreaker who made the cheats.)
//Master Code
patch=1,EE,2013AF50,word,00000000
//Infinite Money
patch=1,EE,002E7AD0,word,0000FFFF
//Max Money
patch=1,EE,202E7AD0,word,107A3FFF
patch=1,EE,202E7AD4,word,00005AF3
//Infinite Bonus Points (Character Creation)
patch=1,EE,202AAE18,word,0098967F
//Level 9,999 After 1 Kill
patch=1,EE,20189CA8,word,3C020001
patch=1,EE,20189CAC,word,0002103C
//Insanely Quick Exp Gain
patch=1,EE,20189CA8,word,3402270F
patch=1,EE,20189CAC,word,0002103C
//Ultra Quick Skill Exp Gain
patch=1,EE,2017F594,word,3406FFFF
//Insanely Quick Mana Gain
patch=1,EE,20189F20,word,3C0305F5
 
  • Like
Reactions: ofernandofilo
#4 ·
Disc checker makes sure your game matches the game the cheats where designed for, eg FFX (USA) cheats are different from FFX (EUR) cheats.

Gametitle etc, I typed in manually.
 
#6 ·
It will work for GS2 and ARMAX...this was just an example. I will note that don't convert CodeBreaker cheats with MaxConvert, as it was pulling some dodgey values.
 
#11 · (Edited)
Memory Mapping.

If the address is in the 1xxxxxxx range simply change the leading 1 into a 0 or 2, eg: 100314BF2 would become 000314BF2 or 200314BF2 respectively. 0 and 2 memory ranges are mirrors of each other.

You find the mirrors in memory.c:
RAM
---
0x00100000-0x01ffffff this is the physical address for the ram.its cached there
0x20100000-0x21ffffff uncached
0x30100000-0x31ffffff uncached & acceleretade
0xa0000000-0xa1ffffff MIRROR might...???
0x80000000-0x81ffffff MIRROR might... ????

It makes no difference to which of these you write.

1xxxxxxx is reserved for mapping of hardware registers (GS, IPU, DMA etc.), hence the crash if information is written there.

You can port AR / GS / CB codes to raw and use them in PCSX2, it does not have to be specificly CB.

Now I know more about the whole aspect of cheating and some other work going on with PCSX2, I shall be writing a full blown guide to cheating and memory searching.
 
#15 ·
That number is the CRC for the game generated by PCSX2 to ID the games ELF file.
 
#20 ·
Hmm, I'm wondering if anyone can help me with the kingdom hearts patch because I can't seem to get a few of the cheats working, such as the code that lets you have all 101 Dalmatians, have all the keys and Quick EXP Gain.

My codes for the patches are:

all the keys-
patch=1,EE,103F217A,word,00000101
patch=1,EE,403F217C,word,00030001
patch=1,EE,01010101,word,00000000
patch=1,EE,103F218C,word,00000101

101 Dalmatians-
patch=1,EE,003F3393,word,000000FF
patch=1,EE,203F3394,word,FFFFFFFF
patch=1,EE,203F3398,word,FFFFFFFF
patch=1,EE,203F339C,word,FFFFFFFF

quick exp gain-
patch=1,EE,103F1CD0,word,0000FFFF

Thanks in advance
 
#23 ·
Given current developments in PCSX2 0.9.2 of which I am helping towards and testing, there will be a completely new guide covering _many_ aspects of cheat making, mem hacking and general patches. So for now this thread can bob up and down on the tides of the forum as this section already has way to many stickies.

The patch system, it's interface and it's uses are being greatly enhanced, which you will be informed about in detail at a later point in the future.
 
#24 ·
sounds interesting :)

Only patches I bother with are skip video LOL cuz I dunno HEX very well hehe.
 
#26 ·
There will be backwards compat for the old pnach files, though they will be depricated eventually in favour of this new system, which is greatly improved, so well worth the transition.