(01-29-2013, 04:16 PM)Lucky C Wrote: [ -> ]Here is a pnach file I made for Digimon World Data Squad NTSC-U
...Though...since the codes are Float type (I have practically no experience with them) I have problems with the Digimon codes...so an expert's help would be greatly appreciated.
You will see that I didn't bother putting ,byte, ,short, ,double, ,word, ,extended, on many codes since I know that they wouldn't work either way.
X = doesn't work, Y = works fine (I haven't put Y on some codes but they work)
If the code doesn't work it was simply made for different game version or you messed up the decryption(if the codes were encrypted). Seeing you took codes from different sources and possibly used some outdated program from one of the confusing guides floating around here, both are totally possible;p.
Float, integer, string or anything else doesn't really matter, all codes must be in hex anyway and soo you had those floats in hex, dunno if you thought that was a problem, but I assure you it's not, float simply takes 32 bit of space(also known as "word") in hexadecimal format.
But also you don't have to specify lenght to begin with, you can always use "extended" and pcsx2 will automatically see correct lenght based on code type which it reads from the first number in the adress,
example:
patch=1,EE,X02353E0,extended,AAAABBCC
In that code, X althrough being first number in adress is also a code type,
if X = 2 - 4 bytes/32 bit/word, soo AAAABBCC will be written to memory
if X = 1 - 2 bytes/16 bit/short, soo BBCC will be written doesn't matter if AAAA is 0, anything else, or doesn't exist at all(we usually write 0's to make all codes same lenght for clarity, nothing else)
if X = 0 - 8 bit/byte, meaning only CC will be written, same rules applied as above.
And some others more advanced you can google for if you ever will actually create codes, not really needed for conversion;p.
If you convert codes, they'll always use code types like that, soo you should always use "extended" to be safe and make use of all codes properly. Mixing any other code type than 2 with anything other than "extended" would actually make your pnatch useless(exception if you actually do plan to patch executable not memory, but that's not really for cheats).
Worth mentioning that you can use a tool like
PCSX2CE to completely avoid any manual labor and typing;]. Converting even few pages of codes with omniconvert(link in PCSX2CE thread) and this tool takes few seconds(depending on your ctrl+c, ctrl+v skills;p) and gives you everything properly formatted;].