How pnach files work
#41
notice that in all codes you used the token "word" which is not necessarily wrong, but some values suggest it should be byte or short.

let's understand the meaning of these three

0 = "byte" means only the 2 right most digits are actually pushed into the address. All the leading zeroes are left alone.
1= "short" means the four right digits will be pushed into the address field, even if they are zeroes.
2= "word" means all those digits will be pushed into the address field, including the zeroes.

the point being if you push a "word" where it should be "byte" it corrupts all the boundary, probably resetting adjacent fields, what can lead to issues that may present itself immediately or later, when will be hard to trace it's cause.

To be sure, verify the original codes and use the correct token according with the values above...

Better yet, change all parameters to "extended" and keep the address exactly how it presents itself on the original code (after converted to raw, of course).
Man, you must rename your pnach file to be the same as that "CRC" value.
Imagination is where we are truly real
Reply

Sponsored links

#42
so it's short or byte now how do i change it to that with out messing it up?
Reply
#43
Just look onto the original codes, change everything to "extended" and keep those digits exactly as they are in the original. It's the easier way.

Notice there is no way to grant those codes in your post are not indeed words, they could be (although probably not).
The inverse is easy to pinpoint, if the value is, for example: 0000A710 and the token is "byte", the code is certainly wrong (It is probably short) because only the 10 would be pushed into the memory and the A7 go waste.
Imagination is where we are truly real
Reply
#44
Excuse me, new guy here..
I'd like to ask you about pnach-ing in PCSX2 ver. 0.9.8...

Just how do we insert the file into the emulator?

I'm playing an old version of Monster Hunter games, [Monster Hunter 1]..

I did create a pnach file, but in previous version of PCSX2 (0.9.7 exactly)..

It works well with the cheats and so on, but I really wondering if I can do the same with 0.9.8? No "Cheats" or "Patches" folder in there, so I totally screwed this one...

Help me, please..

And thanks in advance Laugh
Reply
#45
0.9.8 does have a cheats folder....except if you used the installer and PCSX2 relocated those folders in your My Documents/PCSX2 folder.
[Image: newsig.jpg]
Reply
#46
Oh, right! I just missed the folder MUCH earlier..

Now I found it, the "cheats" folder..

So, I only need to copy said pnach file to designated folder (cheat folder)?

That's the only thing I need to figure out..

@Bositman: U're the MAN!.. Thanks... Wink
Reply
#47
Sorry to say Fuma, Bosit isn't a man, mainly since Angels are sexless (A) Tongue
Reply
#48
Well, jokes aside, but you're right... LOL...
thanks, I just refreshed myself after reading your comment.. Wink
Reply
#49
LOL after reading that. Tongue2 Now lets forget about it. Tongue2
[Image: recodersignature2.png]
Reply
#50
Yes, Sir...
BTW, this is what I saved during the finding of "cheats" folder in pcsx2 0.9.8 ....

PCSX2 0.9.8.r4600 - compiled on Apr 27 2011
Savestate version: 0x9a010000

Host Machine Init:
Operating System = Microsoft Windows 7 Ultimate Edition (build 7600),
32-bit
Physical RAM = 758 MB
CPU name = Intel® Pentium® CPU P6200 @ 2.13GHz
Vendor/Model = GenuineIntel (stepping 05)
CPU speed = 2.126 ghz (2 logical threads)
x86PType = Standard OEM
x86Flags = bfebfbff 0082e39d
x86EFlags = 28100000

x86 Features Detected:
MMX.. SSE.. SSE2.. SSE3.. SSSE3

Reserving memory for recompilers...

Loading plugins...
Binding GS : C:\Program Files\PCSX2 0.9.8\Plugins\gsdx-ssse3-r4600.dll
Windows 6.1.7600
Intel® HD Graphics (8.15.10.2119)
Binding PAD : C:\Program Files\PCSX2 0.9.8\Plugins\lilypad-r4600.dll
Binding SPU2 : C:\Program Files\PCSX2 0.9.8\Plugins\spu2-x-r4600.dll
Binding CDVD : C:\Program Files\PCSX2 0.9.8\Plugins\cdvdiso-r4600.dll
Binding USB : C:\Program Files\PCSX2 0.9.8\Plugins\USBnull.dll
Binding FW : C:\Program Files\PCSX2 0.9.8\Plugins\FWnull.dll
Binding DEV9 : C:\Program Files\PCSX2 0.9.8\Plugins\DEV9null.dll
Plugins loaded successfully.

(GameDB) 9082 games on record (loaded in 323ms)
HLE Notice: ELF does not have a path.


Initializing plugins...
Init GS
Windows 6.1.7600
Intel® HD Graphics (8.15.10.2119)
Init PAD
Init SPU2
Init CDVD
Init USB
Init FW
Init DEV9
Plugins initialized successfully.

Opening plugins...
Opening GS
Opening PAD
Opening SPU2
Opening CDVD
isoFile open ok: D:\monsterHunterPS2\Image.iso
Image type = DVD
Fileparts = 1
* CDVD Disk Open: DVD, Single layer or unknown:
* * Track 1: Data (Mode 1) (1951536 sectors)
Opening USB
Opening FW
Opening DEV9
McdSlot 0: C:\Users\user\Documents\PCSX2\memcards\Mcd001.ps2
McdSlot 1: C:\Users\user\Documents\PCSX2\memcards\Mcd002.ps2
Plugins opened successfully.
EE/iR5900-32 Recompiler Reset
Bios Found: USA v02.00(14/06/2004) Console
BIOS rom1 module not found, skipping...
BIOS rom2 module not found, skipping...
BIOS erom module not found, skipping...
(UpdateVSyncRate) Mode Changed to NTSC.
(UpdateVSyncRate) FPS Limit Changed : 59.94 fps
(SYSTEM.CNF) Detected PS2 Disc = cdrom0:\SLUS_208.96;1
(SYSTEM.CNF) Software version = 1.00
(SYSTEM.CNF) Disc region type = NTSC
ELF (cdrom0:\SLUS_208.96;1) Game CRC = 0x0EF16A99, EntryPoint =
0x00100008
(SYSTEM.CNF) Detected PS2 Disc = cdrom0:\SLUS_208.96;1
(SYSTEM.CNF) Software version = 1.00
(SYSTEM.CNF) Disc region type = NTSC
[wx] can't open file 'cheats\0ef16a99.pnach' (error 2: the system
cannot find the file specified.)
No cheats found. Resuming execution without cheats...
Closing plugins...
Closing DEV9
Closing FW
Closing USB
Closing CDVD
Closing SPU2
Closing PAD
Closing GS
Plugins closed successfully.

____________

See? I must be sleepy at all times because I didn't even notice the log... And, would you please give me any words (advice, comment, or else) about that log??
Reply




Users browsing this thread: 1 Guest(s)