..:: PCSX2 Forums ::..

Full Version: Patch/Cheat Enquiry
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm getting these in the 'Console' when I play, but nothings coming up; some details I'm not sure'll be helpful, but will include anyway; looking for insight as to how to fix.

Included the patch/cheats file

Game: Shadow Hearts Covenant (Disk 1)
Codes: Action Replay (converted with maxconverter v0.71, ARMax > Raw)




(IsoFS) Block 0x10: Primary partition info.
(SYSTEM.CNF) Detected PS2 Disc = cdrom0:\SLES_820.30;1
(SYSTEM.CNF) Software version = 1.02
(SYSTEM.CNF) Disc region type = PAL
(IsoFS) Block 0x10: Primary partition info.
Initializing Elf: 2391464 bytes
ELF (cdrom0:\SLES_820.30;1) CRC=0x167A484D, EntryPoint=0x00200008
(IsoFS) Block 0x10: Primary partition info.
(SYSTEM.CNF) Detected PS2 Disc = cdrom0:\SLES_820.30;1
(SYSTEM.CNF) Software version = 1.02
(SYSTEM.CNF) Disc region type = PAL


(EE pc:00411C20) TLB Miss, addr=0x10100868 [store]
(EE pc:00411C20) TLB Miss, addr=0x10100628 [load]
(EE pc:00411C20) TLB Miss, addr=0x10100628 [store]
(EE pc:00411C20) TLB Miss, addr=0x101006e8 [load]
(EE pc:00411C20) TLB Miss, addr=0x101006e8 [store]
(EE pc:00411C20) TLB Miss, addr=0x101003e8 [load]
(EE pc:00411C20) TLB Miss, addr=0x101003e8 [store]
(EE pc:00411C20) TLB Miss, addr=0x101007a8 [load]
(EE pc:00411C20) TLB Miss, addr=0x101007a8 [store]
(EE pc:00411C20) TLB Miss, addr=0x10100928 [load]
(EE pc:00411C20) TLB Miss, addr=0x10100928 [store]
(EE pc:00411C20) TLB Miss, addr=0x10100aa8 [load]
(EE pc:00411C20) TLB Miss, addr=0x10100aa8 [store]
(EE pc:00411C20) TLB Miss, addr=0x10100b68 [load]
(EE pc:00411C20) TLB Miss, addr=0x10100b68 [store]
(EE pc:00411C20) TLB Miss, addr=0x101001a8 [load]
(EE pc:00411C20) TLB Miss, addr=0x101001a8 [store]


The Codes are in the attatchment; from "(IsoFS) Block 0x10: Primary partition info." and on is what comes up in the 'Console"
There are many "errors" in that pnach it's even a miracle the emulator did not crash.

Probably it will work by simply replacing the token "word" by "extended", you can do it to all at once with the find/replace feature of the text editor.

That's because to use "word" the value must be indeed a word (as in length) and the address in the code MUST begin with 0 or 2 (the address is that first 8 hex digits long parameter), and this is not because the 2 that happen in the original code where the first address digit tell the code type and 2 is indeed word... it is like:

the first digit in address in the original code being:
0 - means the value parameter is byte, the value has the format: 000000bb (of course "byte" should be used instead word)
1 - means the value is short 0000ssss (the 1 in original code must be changed to 0 or 2 and "short" is used)
2 - means the value is word wwwwwwww (the 2 in original code can be kept or changed to 0, and "word" is indeed used)
above this "extended" must be used.

But you can use "extended" for all codes and this has the advantage of not needing and not allowed to change the first address digit.

Those codes beginning with 4 with the token "word" is placing the value outside the games range, those beginning with 1 are placing in sensible area which can lead to emulator's crash.

PS: remove the Master Code (or comment it). It means nothing to pnach and can cause troubles.
^^ Thank you very much, that fixed it =) I was thinking the code was completely bust and I was doing completely wrong.

(I just wanted to make my own instead of asking for others to waste time for me ^^" was my first)
Be welcome, now you know the surface of that strange first byte in address meaning, it is complex and knowing all they do is outside the scope of this forum (but welcomed discussion about it).

In it's second "generation" the pnach engine introduced the "extended" and the old "byte", "short" and "word" are kept for compatibility reasons since they force changing the original code. "Extended", beyond introducing more functions (hence the name) avoid the need to change the code.