|
Post by Speshyfrog on Jan 10, 2005 23:49:58 GMT -5
Ok, a big question that I have been unable to find answers to in hexing tutorials! What do you do if you would like to delete things from a .pet tutorial (in my case, an omission?) Can you just put in a duplicate number, or erase it entirely, and if so how can you make that up in terms of the checksum and file length? Also, how do you add things (In this case a line) to a .pet file? (NOT a breedfile!) I'm trying to fix a few petz of mine that were born with incomplete legs- I've found the parts of their files I need to change but am not sure how to do it. If anyone's attempted such things before or has any hints, I'd appreciate it! Thanks!
|
|
|
Post by PlaidButterfly on Jan 11, 2005 14:48:11 GMT -5
Unfortunately you have just found the nature of trickiness of .pet hexing. To keep the checksum the same, you can't have that insert setting on - things must overwrite. (usually in petz there is a space or two before the number and a comma after, I think you can erase this without much consequence, but I don't have much esperience with this). However, each side needs to remain the same. It's easier to think of a math problem: 2+2=4 If you want to put a 3 in there (like your new color of your dogz' fur), and still want it to equal 3 (the checksum to equal out) you're going to have to change things: 3+1=4. The total number of bytes in the file needs to remain the same. I think you may be able to put in another something to a .pet file if you duly delete that amount from something else in the file (I believe most .pet file tutorials point you toward some junk space the file has that is good for this). To delete things/take them out, try just adding a comma before the line (;63, 134, blah blah). That comments it out and tells the game essentially to ignore it. For me this is all second and third hand knowledge, you might want to check it first from Carolyn Horn's tutorials first
|
|
|
Post by Speshyfrog on Jan 11, 2005 17:10:32 GMT -5
Thanks, I will try those things! I've messed around with pet files once or twice in the past, but that was only changing one or two numbers- this is a bit different!
|
|