..:: PCSX2 Forums ::..

Full Version: A simplistic guide to pnach files (aka pnach for dummies)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
why it doesn't work for me?
Maybe if you tell us what you've done and what you're trying to convert and what problems you're having we might be able to tell you?
What do i do if i end up with 3 lines of code for each cheat?
^ it doesn't matter. Besides, I think those codes aren't raw.
Yes they are not.
He is using Action Replay v1(encrypted)for output
i'm using the ARMAX codes from codejunkies for the PAL version of Jak II Renegades

Edit:
nvm, forgot to choose unencrypted - Standard
Yes but for output in omniconvert you are using Action Replay=>Action Replay v1 which is wrong

Code:
gametitle=Jak 2
//Infinite Health
patch=1,EE,20116FC4,extended,3C03201A
patch=1,EE,20116FC8,extended,3C024100
patch=1,EE,20116FCC,extended,AC62C6C0

//Max Gems
patch=1,EE,20116FD0,extended,3C032062
patch=1,EE,20116FD4,extended,3C024461
patch=1,EE,20116FDC,extended,AC623014

//Max Orbs
patch=1,EE,20116FE0,extended,3C032062
patch=1,EE,20116FE4,extended,3C024461
patch=1,EE,20116FE8,extended,AC623020
Code:
gametitle=Jak II Renegades [SCES_516.08] [2479F4A9]
//Infinite Health
patch=1,EE,20116FC4,extended,3C03201A
patch=1,EE,20116FC8,extended,3C024100
patch=1,EE,20116FCC,extended,AC62C6C0

//Max Gems
patch=1,EE,20116FD0,extended,3C032062
patch=1,EE,20116FD4,extended,3C024461
patch=1,EE,20116FDC,extended,AC623014

//Max Orbs
patch=1,EE,20116FE0,extended,3C032062
patch=1,EE,20116FE4,extended,3C024461
patch=1,EE,20116FE8,extended,AC623020

now it's correct, but shouldn't i change the 20116FD0 to 00116FD0 so PCSX2 can load the 2479F4A9.pnach ?
extended mode applies the code type depending on the first digit of the address.
Changing it to 0 will make only the last two digits of the address value to be applied and most likely will make the code to not work
hmm... when i choose Boot cdvd (fast) then it will load the pnach, but the game windows is just black.

Here's the log file.
Code:
Found Cheats file: '2479F4A9.pnach'
Loaded 3 Cheats from '2479F4A9.pnach'
Overall 3 Cheats loaded
Opening plugins...
    Opening GS
    Opening PAD
    Opening SPU2
AMD Radeon HD 7500M/7600M Series (8.17.10.1247)
    Opening CDVD
isoFile open ok: C:\Iso filer\games\Jak II Renegade.iso
    Image type  = DVD
* CDVD Disk Open: DVD, Single layer or unknown:
* * Track 1: Data (Mode 1) (2153504 sectors)
    Opening USB
    Opening FW
    Opening DEV9
McdSlot 0: C:\Users\Kenneth\Documents\PCSX2\memcards\Mcd001.ps2
McdSlot 1: C:\Users\Kenneth\Documents\PCSX2\memcards\Mcd002.ps2
Plugins opened successfully.
EE/iR5900-32 Recompiler Reset
    Bios Found: Europe  v01.60(04/10/2001)  Console
    BIOS rom1 module not found, skipping...
    BIOS rom2 module not found, skipping...
    BIOS erom module not found, skipping...
# Initialize memory (rev:3.63, ctm:393Mhz, cpuclk:295Mhz detected)

PlayStation 2 ======== Hard reset boot
ROMGEN=2001-1004, IOP info (CPUID=1f, CACH_CONFIG=0, 2MB, IOP mode)
<20011004-175839,ROMconf,PS20160EC20011004.bin:11520>
# Total accessable memory size: 32 MB (B:2:8:0) (363:2:7c30)
# TLB spad=0 kernel=1:12 default=13:30 extended=31:38
# Initialize Start.
# Initialize GS ...
# Initialize INTC ...
# Initialize TIMER ...
# Initialize DMAC ...
# Initialize VU1 ...
# Initialize VIF1 ...
# Initialize GIF ...
# Initialize VU0 ...
# Initialize VIF0 ...
# Initialize IPU ...
# Initialize FPU ...
# Initialize User Memory ...
# Initialize Scratch Pad ...
# Initialize Done.

EE DECI2 Manager version 0.06 Jul  4 2001 16:03:45
  CPUID=2e20, BoardID=0, ROMGEN=2001-1004, 32M

(SYSTEM.CNF) Detected PS2 Disc = cdrom0:\SCES_516.08;1
(SYSTEM.CNF) Software version = 1.01
(SYSTEM.CNF) Disc region type = PAL
ELF (cdrom0:\SCES_516.08;1) Game CRC = 0x2479F4A9, EntryPoint = 0x00100008
(SYSTEM.CNF) Detected PS2 Disc = cdrom0:\SCES_516.08;1
(SYSTEM.CNF) Software version = 1.01
(SYSTEM.CNF) Disc region type = PAL


IOP Realtime Kernel Ver.0.9.1

    Copyright 1999 (C) Sony Computer Entertainment Inc.

Reboot service module.(99/11/10)
cdvd driver module version 0.1.1 (C)SCEI
Load File service.(99/11/05)
Multi Threaded Fileio module.(99/11/15)
iop heap service (99/11/03)
loadelf: fname cdrom0:¥SCES_516.08;1 secname all
loadelf version 3.30
Input ELF format filename = cdrom0:¥SCES_516.08;1
1 00100000 00027f90 ...
2 00128000 00009118 ..
Loaded, cdrom0:¥SCES_516.08;1
start address 0x100008
gp address 00000000
# Restart Without Memory Clear.
# Initialize GS ...
# Initialize INTC ...
# Initialize TIMER ...
# Initialize DMAC ...
# Initialize VU1 ...
# Initialize VIF1 ...
# Initialize GIF ...
# Initialize VU0 ...
# Initialize VIF0 ...
# Initialize IPU ...
# Initialize FPU ...
# Initialize Scratch Pad ...
# Restart Without Memory Clear Done.
Found Cheats file: '2479F4A9.pnach'
Loaded 3 Cheats from '2479F4A9.pnach'
Overall 3 Cheats loaded
sce_fileio: unrecognized code ff
dkernel: boot:1 debug:0 mem:0 dev:2 mod:1
(EE pc:00117000) TLB Miss, addr=0x55544249 [load]
(EE pc:00117000) TLB Miss, addr=0x54 [store]
(EE pc:00117000) TLB Miss, addr=0x55544249 [load]
(EE pc:00117F28) TLB Miss, addr=0x54 [load]
(EE pc:00117F54) TLB Miss, addr=0x54 [store]
(EE pc:00117FE0) TLB Miss, addr=0xc [load]
(EE pc:001199E8) TLB Miss, addr=0x54 [load]
(EE pc:00119A04) TLB Miss, addr=0x54 [store]
(EE pc:00119A18) TLB Miss, addr=0xc [load]
# Syscall: undefined (0)

and here's the pnach file
I've commented out Max orb & gem cheat just to test the Infinite health.
Code:
gametitle=Jak 2 [SCES_516.08] [2479F4A9]
//Infinite Health
patch=1,EE,20116FC4,extended,3C03201A
patch=1,EE,20116FC8,extended,3C024100
patch=1,EE,20116FCC,extended,AC62C6C0

//Max Gems
//patch=1,EE,20116FD0,extended,3C032062
//patch=1,EE,20116FD4,extended,3C024461
//patch=1,EE,20116FDC,extended,AC623014

//Max Orbs
//patch=1,EE,20116FE0,extended,3C032062
//patch=1,EE,20116FE4,extended,3C024461
//patch=1,EE,20116FE8,extended,AC623020

There must be something i'm doing wrong, but what? o.O
Pages: 1 2 3 4 5