Posts: 8
Threads: 3
Joined: Dec 2013
Reputation:
0
I added some new codes and this is the error i get
(Patch) Error Parsing: patch=1,EE,Cheat Name: items inf
Expected 5 data parameters; only found 3
witch is odd the code worked fine before i added these
// Game Title: FF X
// Game Region: NTSC
// Start of Cheat
// Cheat Name: inf X
patch=1,EE,200FFF00,word,3C030064
patch=1,EE,200FFF04,word,8C636360
patch=1,EE,200FFF0C,word,10030008
patch=1,EE,200FFF14,word,2402270F
patch=1,EE,200FFF18,word,AC62027C
patch=1,EE,200FFF1C,word,AC620280
patch=1,EE,200FFF34,word,24030070
patch=1,EE,200FFF38,word,080B6CB6
patch=1,EE,202DB2D4,word,0803FFC0
// End of Cheat
// Start of Cheat
patch=1,EE,Cheat Name: items inf
patch=1,EE,101BECEA,word,0000A266
patch=1,EE,201BECA4,word,24020064
patch=1,EE,End of Cheat
// End of Cheat
// Start of Cheat
// Cheat Name: money
patch=1,EE,1031A028,word,0000FFFF
// End of Cheat
// Start of Cheat
// Cheat Name: tranny
patch=1,EE,20319FF0,word,03FFFFFF
// End of Cheat
// Start of Cheat
// Cheat Name:Auron Super HP
patch=1,EE,1031B9FC,word,0000270F
// End of Cheat
// Start of Cheat
// Cheat Name:Auron SuperMP
patch=1,EE,1031B9F8,word,0000270F
// End of Cheat
Sponsored links
Posts: 3.091
Threads: 76
Joined: Dec 2008
Reputation:
57
change "word" to "extended"
just edit it on notepad
Main PC1:i5-4670,HD7770(Active!)
Main PC2:i5-11600K,GTX1660Ti(Active!)
PCSX2 Discord server IGN:smartstrike
PCSX2 version uses:Custom compiled build 1.7.0 64-bit(to be update regularly)
smartstk's YouTube Channel
Posts: 8
Threads: 3
Joined: Dec 2013
Reputation:
0
Thanks but this is what i got
Cheats found!
(Patch) Error Parsing: patch=1,EE,Cheat Name: items inf
Expected 5 data parameters; only found 3
(Patch) Error Parsing: patch=1,EE,End of Cheat
Expected 5 data parameters; only found 3
Cheats Loaded: 15
Posts: 21.718
Threads: 401
Joined: Sep 2013
Reputation:
476
Location: 私の夢の中
(12-16-2013, 04:23 AM)treeofdeath Wrote: Thanks but this is what i got
Cheats found!
(Patch) Error Parsing: patch=1,EE,Cheat Name: items inf
Expected 5 data parameters; only found 3
(Patch) Error Parsing: patch=1,EE,End of Cheat
Expected 5 data parameters; only found 3
Cheats Loaded: 15
Take these lines out:
Code: patch=1,EE,Cheat Name: items inf
patch=1,EE,End of Cheat
Gaming Rig: Intel i7 6700k @ 4.8Ghz | GTX 1070 TI | 32GB RAM | 960GB(480GB+480GB RAID0) SSD | 2x 1TB HDD
Posts: 432
Threads: 16
Joined: Aug 2013
Reputation:
45
12-16-2013, 06:16 AM
(This post was last modified: 12-16-2013, 06:35 AM by tadatada.)
They are all comments like "// Start of Cheat".
Remove or comment out("// ...") them from the pnach file.
Also, in order to convert raw codes to pnach format, there is a handy tool PCSX2CE and read Step 6 of a guide A simplistic guide to pnach files.
Posts: 21.718
Threads: 401
Joined: Sep 2013
Reputation:
476
Location: 私の夢の中
12-16-2013, 06:34 AM
(This post was last modified: 12-16-2013, 06:35 AM by Blyss Sarania.)
Still there is invalid data in there, for instance here:
// Start of Cheat
patch=1,EE,Cheat Name: items inf
patch=1,EE,101BECEA,word,0000A266
patch=1,EE,201BECA4,word,24020064
patch=1,EE,End of Cheat
// End of Cheat
Line 2 and 5 are not a valid patch lines.
Gaming Rig: Intel i7 6700k @ 4.8Ghz | GTX 1070 TI | 32GB RAM | 960GB(480GB+480GB RAID0) SSD | 2x 1TB HDD
Posts: 1.821
Threads: 13
Joined: Mar 2011
Reputation:
55
Location: Florida, USA
Pnach cheats can make certain parts of FFX hang or freeze. I recommend you use the save editor.
http://forums.pcsx2.net/Thread-FFXED-Fin...ave-Editor
OS: Linux Mint 17.2 64 bit (occasional Antergos/Arch user)
(I am no longer a Windows user)
CPU: Intel Pentium G3258
GPU: Nvidia GTX 650 Ti
Posts: 4.504
Threads: 14
Joined: Jul 2009
Reputation:
89
12-16-2013, 02:16 PM
(This post was last modified: 12-16-2013, 02:24 PM by nosisab Ken Keleh.)
Both smartstrike and Blys Sarania are right, the use of the older direct length token (byte, short and word) should be avoided from new files since after extended was implemented.
The main reason being "extended" keeps the original code format, no need to change the first digit at the address offset. On the other hand one must be careful when trying to simply changing to extended, many original codes started with 0 or 1 may have that bit changed to 2 as was the "recommended" once upon a time and proved catastrophic. You see, 0 means the value is byte length and 1 means it is short length and if changed, the token "extended" will interpret them as "word" maybe causing issues.
The worst case is using addresses starting with 1 with any the tokens byte, short or word, this will most probably crash the emulator for poking out of game's data memory area. The problem is less grave with using 0 or 2 wrongly because pnach will mirror them to the correct address starting with 2xxxxxxx.
One final advice about parsing errors. If using non English language, open the cheat file in a decent text editor and change the encode to unicode. Non ASCII characters might confuse the parser even when the line is commented, or simply remove or change lines having any non ASCII characters, like special language characters, accentuated characters and so on.
PS: and yes, in the special case of the FF games which have the save editor, it's a lot better using them as suggested by DaTank
Imagination is where we are truly real
Posts: 432
Threads: 16
Joined: Aug 2013
Reputation:
45
12-17-2013, 03:23 AM
(This post was last modified: 12-17-2013, 04:03 AM by tadatada.)
(12-16-2013, 02:16 PM)nosisab Ken Keleh Wrote: Both smartstrike and Blys Sarania are right, the use of the older direct length token (byte, short and word) should be avoided from new files since after extended was implemented.
The main reason being "extended" keeps the original code format, no need to change the first digit at the address offset. On the other hand one must be careful when trying to simply changing to extended, many original codes started with 0 or 1 may have that bit changed to 2 as was the "recommended" once upon a time and proved catastrophic. You see, 0 means the value is byte length and 1 means it is short length and if changed, the token "extended" will interpret them as "word" maybe causing issues.
The worst case is using addresses starting with 1 with any the tokens byte, short or word, this will most probably crash the emulator for poking out of game's data memory area. The problem is less grave with using 0 or 2 wrongly because pnach will mirror them to the correct address starting with 2xxxxxxx.
One final advice about parsing errors. If using non English language, open the cheat file in a decent text editor and change the encode to unicode. Non ASCII characters might confuse the parser even when the line is commented, or simply remove or change lines having any non ASCII characters, like special language characters, accentuated characters and so on.
PS: and yes, in the special case of the FF games which have the save editor, it's a lot better using them as suggested by DaTank
I know this is an off topic, but you seem familiar with the pnach cheating system of pcsx2.
If you know about here and could give some comments, I appreciate it.
|