Page 1 of 1

quick question on Pk2 editing, or should I say questions

Posted: Sat Apr 21, 2007 3:09 am
by DerinZZ
A couple questions on pk2 editing :

1.I dont really get modding clothes, I do the right code but my garms dont change and if they do its only the hat

2.Im doing fine on the wolf modding but I dont get the part where you mess with null bytes to match the file size.

:oops: I could use help, thanks in advance

Posted: Sat Apr 21, 2007 3:32 am
by MastaChiefX
replace clothes_0X
With clothes_09

Replace all.

Posted: Sat Apr 21, 2007 6:28 am
by Ell
Remember to do the right degree you have on. Also do both bsr and ddj.

Re: quick question on Pk2 editing, or should I say questions

Posted: Sat Apr 21, 2007 3:57 pm
by Azilius
DerinZZ wrote:A couple questions on pk2 editing :

1.I dont really get modding clothes, I do the right code but my garms dont change and if they do its only the hat

You have to press Replace ALL.

2.Im doing fine on the wolf modding but I dont get the part where you mess with null bytes to match the file size.

To add null bytes, you have to open the .txt in a hexeditor (HexEdit121). Then scroll down to the bottem, and add zeros (00[every 2 zeros = 1 byte]) until the file size is the same as the ORIGINAL. So if you're editing Characterdata.txt and you change your wolf, and you see that what you copied over is smaller than the wolf entry, you need to save and open it up in a hexeditor etc. If the entry is BIGGER, then you need to scroll down in the Characterdata.txt and replace the "Euro Mercs" (It's stated in the guide) with the horse.ddj (Stated in the guide). Doing this just creates extra room in the file. After that you save -> open it in a hex editor, and add the null bytes (00 at the bottem) until it is the SAME file size. You need to do this because SRO will only start with files of the right size (or ksro files.. ^^)

:oops: I could use help, thanks in advance

Posted: Sat Apr 21, 2007 6:25 pm
by DerinZZ
lol thanks for the help, found my flaw, ^^

Posted: Sat Apr 21, 2007 8:12 pm
by DerinZZ
1 Last question, how do I paste-over? each time I try pasting my modded txt file over the FF FE (start of characterdata.txt) it ends up wrong