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.
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.. ^^)
I could use help, thanks in advance