Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unrecognized patch 'char' (pnach files)
I'm currently using the patch/pnach method of "cheating", and have come across something odd.

Using "patch=1,EE,<address>,short,0000 --> this being the value" and "patch=1,EE,<address>,word,00000000" to patch words and dwords respectively work flawlessly; but using the patch finder's output, "patch=1,EE,<address>,char,00", to edit single bytes does not seem to work. The console says that the patch loads fine, but spits out "Unrecognized patch 'char'" for every entry that uses 'char' as a length parameter. I'm just wondering: What's the proper length parameter?

Sponsored links

i think the emulator refers to it as "byte" rather than char, but the length is correct

give it a try
[Image: ref_sig_anim.gif]
Like our Facebook Page and visit our Facebook Group!
Ah thank you. That works. Tongue

I got 'char' from the Cheat/Patch Finder. If you ask for an 8 bit code to use in the pnach by pressing Add, it gives you "patch=0,EE,<address>,char,<value>" as well as ",short,<value>" for 16 bits, ",word,<value>" for 32 bits and ",double,<value>" for 64 bits. I haven't tested "double", but "char" is apparently incorrect.

Anyway, thanks again. Smile

Users browsing this thread: 1 Guest(s)