having a cheat issue and need help
#21
Ah okay thank. I understand now

@OP

Maybe you have to joker some of the codes (had to do this with 1 of my cheats too)
Reply

Sponsored links

#22
(09-02-2014, 07:22 PM)vsub Wrote: There are two ways to add pnach formatting.

The first is the old one which uses byte,short and word
If a code is 1 byte(only the last digits of the address is modified),the code will look like this
patch=1,EE,00000001,byte,00000000

This will write 0 to 00000001

If the code is 2 bytes(the last 2 digits of the address is modified),the code will look like this
patch=1,EE,00000001,short,00000000

This will write 0 to 00000001 and 00000002

If the code is 4 bytes(all 4 digits of the address is modified),the code will look like this
patch=1,EE,00000001,word,00000000

This will write 0 to 00000001 and 00000002,3 and 4

The other method is the new method which is simpler
Everything is the same as above except that the first digit of the address is replaced by the value for the code type
0 for byte
1 for short
2 for word
and rather than typing byte,short or word,you will write extended.


There is nothing wrong with using either of those methods but it's wrong to say
"Most(all?) of them should be "word" and not "extended" "
They will work the exact same way if you replace extended with word in this case(since all of the codes are writing to 4 bytes)

OMG I am so glad you explained this. Now I finally understand which codes should start with what number.
[Image: XTe1j6J.png]
Gaming Rig: Intel i7 6700k @ 4.8Ghz | GTX 1070 TI | 32GB RAM | 960GB(480GB+480GB RAID0) SSD | 2x 1TB HDD
Reply
#23
(09-03-2014, 12:15 AM)Blyss Sarania Wrote: OMG I am so glad you explained this. Now I finally understand which codes should start with what number.

Similar explanations are written in Cheat Problem Guide. And a creator of its Word and PDF versions is you. Smile

Quote:Cheat Problem Guide:

(4-2) Check the pnach format.

There are 4 types: "byte", "short", "word" and "extended"

patch=1,EE,xxxxxxxx,byte,yyyyyyyy
patch=1,EE,xxxxxxxx,short,yyyyyyyy
patch=1,EE,xxxxxxxx,word,yyyyyyyy
patch=1,EE,xxxxxxxx,extended,yyyyyyyy

x: an 8 digit hexadecimal number, represents an address.
y: an 8 digit hexadecimal number, represents a value.
byte: 1 byte write command.
short: 2 bytes write command.
word: 4 bytes write command.
extended: Cheat command.

e.g. (Correct)
patch=1,EE,001FB1E0,byte,000000FF
patch=1,EE,001FB1E0,short,0000FFFF
patch=1,EE,001FB1E0,word,FFFFFFFF
patch=1,EE,201FB1E0,extended,FFFFFFFF

Some like nosisab wrote similar explanations many times so far. this is one of reasons why I decided to create Cheat Problem Guide.

I think that some basic cheat information of pcsx2 should be written as one of official guides in the official guide section including meanings of each pnach field like this:

patch=PlaceToPatch,CPU,aaaaaaaa,Type,dddddddd

- PlaceToPatch: 0 or 1 (and details)
- CPU: EE or IOP (and details)
- Type: byte, short, word and extended (and details plus code implementation of extended)


(09-02-2014, 06:57 PM)vsub Wrote: 4 also work(there are other types but I don't remember which of then pcsx2 support)

I have created a summary of code implementation of pcsx2.
- Cheat Problem Guide -> pcsx2 code implementation (an attached file)
Reply
#24
^ Yes, I know, but what I specifically didn't know was that the first number of the address is actually the data type with extended. I always wondered how you guys automatically knew which number went there, it seemed random to me.
[Image: XTe1j6J.png]
Gaming Rig: Intel i7 6700k @ 4.8Ghz | GTX 1070 TI | 32GB RAM | 960GB(480GB+480GB RAID0) SSD | 2x 1TB HDD
Reply
#25
I have a Cheatcode only writing 1 byte as extended, but it does work. Can you explain ? ^^
Reply
#26
Can you post a concrete example?
Reply
#27
patch=1,EE,11CE0B68,extended,00000065

NVM; the original code says
11CE0B68 0000????

but still, this are only 2 bytes right ? so extended shouldnt work here. But it does xD
Reply
#28
Per what vsub said:

The address starts with one, that means it's writing a short(two bytes).

Extended uses the first digit of the address to determine the code type.

0 for byte
1 for short
2 for word
[Image: XTe1j6J.png]
Gaming Rig: Intel i7 6700k @ 4.8Ghz | GTX 1070 TI | 32GB RAM | 960GB(480GB+480GB RAID0) SSD | 2x 1TB HDD
Reply
#29
so extended is a "lazymode" ?
Reply
#30
For example, here are item IDs of Grandia Xtreme:

ID Name
---------------------
0065 Megaheal Medicine
0066 Recovery Medicine
0067 Wound Salve
...
00FD Red Fly Agarics
00FE Platinum Feather
00FF GoldFeather
0100 Silver Feather
0101 Angel Tear
0102 Shine Prism


Correct:
1xxxxxxx 00000102 // Shine Prism (As an old value for this explanation)
1xxxxxxx 00000065 // Megaheal Medicine

Incorrect:
1xxxxxxx 00000102 // Shine Prism (As an old value for this explanation)
0xxxxxxx 00000065 // Megaheal Medicine

In this case, the third and fourth digit 0 of 8-digits data have a meaning.

If you overwrite 0102 with 65, a result is 0165. This is not what you want.
You have to overwrite 0102 with 0065, a result is 0065.


This image is an example of this behaviour by using a money cheat of FFX with PCSX2OTC.

[attachment=52180]
Reply




Users browsing this thread: 4 Guest(s)