View Single Post
Old March 13th, 2009   #4 (permalink)
Pontifice
Registered User
 
Join Date: Nov 2007
Location: ES
Posts: 17
Quote:
Originally Posted by redlofredlof View Post
The codes on the website are in RAW format and need to be converted to make them work with pcsx2. For this you will require CBcrypt.
The codes are in Codebreaker format, you want then in RAW format so you are using CBcrypt to Decrypt them

Quote:
Originally Posted by redlofredlof View Post
If the decrypted code starts with 1 or 2, then change them to 0 {zero}
This is wrong, for example
Code:
Decrypted code
203FE82C 02020202
203FE830 02020202
103FE834 00000202

you translated it to:

Fixed code
003FE82C 02020202
003FE830 02020202
003FE834 00000202 

and then

patch=1,EE,003FE82C,word,02020202
patch=1,EE,003FE830,word,02020202
patch=1,EE,003FE834,word,00000202
the translation of the last code is wrong it should be
patch=1,EE,003FE834,short,00000202

codes should be translated this way:
Code:
003FE82C 00000002    patch=1,EE,003FE82C,byte,00000002
103FE830 00000202    patch=1,EE,003FE82C,short,00000202
203FE834 02020202    patch=1,EE,003FE82C,word,02020202
The first numer indicates the data's length.

Try searching for a code different from

0XXXXXX 000000YY
1XXXXXX 0000YYYY
2XXXXXX YYYYYYYY

The true intention of the lines

203FE82C 02020202
203FE830 02020202
103FE834 00000202

is to write 10 "02".
if you write the cheats like

patch=1,EE,003FE82C,word,02020202
patch=1,EE,003FE830,word,02020202
patch=1,EE,003FE834,word,00000202

PCSX2 is writing 10 "02" and 2 "00"

Quote:
If the decrypted code already starts from 0 or some other letter other then 1 and 2 then no need to change anything
Any cheat that doesn't start by 0,1,2 is not working with this method

for example code "Unlock All Weapons for soul calibur 2"

403FE778 002F0001
02020202 00000000
103FE834 00000202

it means

Code:
 4aaaaaaa xxxxyyyy
 dddddddd 00000000  

Starting with the address specified by aaaaaaa, 
this code will write to xxxx addresses. 
The next address is determined by incrementing 
the current address by (yyyy * 4). 
The value specified by dddddddd is written 
to each calculated address. Also known as a "Patch Code."
So it writes 44 (2f) times "02020202" starting from adress 03FE778 and then writes another two "02" in adress 3FE834 (with the line 103FE834 00000202)

If you translate this code your way it will be wrong.

Anyway in pcsx2 are implemented almost any code if you use it with

Code:
code 
XXXXXXXX YYYYYYYY

translated to

patch=1,EE,XXXXXXXX,extended,YYYYYYYY
Pontifice is offline   Reply With Quote