Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What is wrong with my code?
#1
Hi,

I am trying to make a cheat for ratchet and clank going commando, here is how it looks like :

gametitle=ratchet and clank going commando (PS2)
comment=bolts
patch=1,EE,00012D40,extended,0FFFFFFF

I get the famous "TLB miss" error.

The game run perfectly well, I am sure of the address, and I think I have the right CRC (the file is named "38996035.pnach").

ELF (cdrom0:\SCUS_972.68;1) Game CRC = 0x38996035, EntryPoint = 0x00131AE8
Found Cheats file: '38996035.pnach'
comment: bolts
Loaded 1 Cheats from '38996035.pnach'
Overall 1 Cheats loaded
(EE pc:80006C28) TLB Miss, addr=0x12d40 [store]
(EE pc:80005F2C) TLB Miss, addr=0x12d40 [store]
(EE pc:80005F2C) TLB Miss, addr=0x12d40 [store]
(EE pc:80005F2C) TLB Miss, addr=0x12d40 [store]
...

Could you help me please, and tell me what am I doing wrong?
Reply

Sponsored links

#2
what's the code even supposed to do?
[Image: gmYzFII.png]
[Image: dvedn3-5.png]
Reply
#3
(01-16-2015, 06:20 PM)Nobbs66 Wrote: what's the code even supposed to do?

It is supposed to change the amount of bolts (money in the game).
Reply
#4
PCSX2 don't like some codes...they may work fine on the ps2 but they can make pcsx2 to crash.
And another thing...according to the value,you are supposed to change 4 addresses but the 0 in the address(while using extended)is writing only to one address which can lead to problems.

Try
patch=1,EE,20012D40,extended,0FFFFFFF
Reply
#5
(01-16-2015, 06:33 PM)vsub Wrote: PCSX2 don't like some codes...they may work fine on the ps2 but they can make pcsx2 to crash.
And another thing...according to the value,you are supposed to change 4 addresses but the 0 in the address(while using extended)is writing only to one address which can lead to problems.

Try
patch=1,EE,20012D40,extended,0FFFFFFF

It didn't made it, I also tried :

gametitle=ratchet and clank going commando (PS2)
comment=bolts
patch=1,EE,00012D46,extended,0FFF

Still, nothing happens.
Reply
#6
Try this
patch=1,EE,201A7A00,extended,0098967F
Reply
#7
(01-16-2015, 07:10 PM)vsub Wrote: Try this
patch=1,EE,201A7A00,extended,0098967F

Found Cheats file: '38996035.pnach'
comment: bolts
Loaded 1 Cheats from '38996035.pnach'
Overall 1 Cheats loaded


No TLB miss, but the cheat doesn't change anything, what is it supposed to do?
Also the game crashes after a minute, which he never did before.
Reply
#8
(01-16-2015, 07:10 PM)vsub Wrote: Try this
patch=1,EE,201A7A00,extended,0098967F

why the wrong address?! even for pal it's the wrong one. we don't deliver obvious cheats?!? Laugh ntsc is 8 less. pal is 80 more.
Reply
#9
I don't know what you mean,the code was taken from gametwink(the codebreaker site)and converted to raw.
What's wrong with the address?

I said the code exbds posted was wrong when extended is used because the first digit of the address is saying(in extended mode)how many addresses to change with the values and 0 means one.

Also during my "how to search for cheats and use values on them" time,I notest that some games don't like addresses that exceed the maximum which you can actually get in the game(the normal way)

I think KH 1 or 2 and maybe MS Saga New Dawn were acting in a weird way if you use bigger values
Reply
#10
(01-16-2015, 06:33 PM)vsub Wrote: Try
patch=1,EE,20012D40,extended,0FFFFFFF

(01-16-2015, 06:44 PM)exbds Wrote: It didn't made it, I also tried :

gametitle=ratchet and clank going commando (PS2)
comment=bolts
patch=1,EE,00012D46,extended,0FFF

Still, nothing happens.

Have you really tried
Code:
patch=1,EE,20012D40,extended,0FFFFFFF
as suggested by vsub or have you tested
Code:
patch=1,EE,00012D40,extended,0FFFFFFF
instead as you have written?

The first value in the address is important for the datarange/type if you use extended mote for pnachs (as already said by vsub). Please be sure that you try to use the cheat with a beginning 2



Edit:
Sorry... missed somehow the meaning of your words. Ignore me.
Reply




Users browsing this thread: 1 Guest(s)