Hexing .pet files
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 

How to change an eyelid or eye color in a .pet file.  
   
Well, eyelids are pretty easy but you need to be aware of some things:  

1. Always, always keep a copy safe somewhere of any file that you intend to edit, but _particularly_ so with a pet file.  

2. When you edit a pet file you need to keep the size of the file the same _and_ the checksum. Which means that if you change a digit from, say, 1 to 3, you will have to compensate for that by reducing a digit somewhere else by 2. If you change a digit from 4 to 3, you will have to increase a digit somewhere else by 1. Simple arithmetic, but it makes my eyeballs rotate all the same; I never was too good with maths  A good place for making those compensating reductions or increasings is in the [Paint Ball] section, where you see numbers like 0.707107 which are long decimal-place numbers and so if you change a digit near the end of such a number it will be completely un-noticeable on your pet. If you have a rare pet which doesn't have a [Paint Ballz] section, it'll be a little trickier to find a number which won't show if it's changed, but most pets do have that section because they have paw pads.  

3. Eyelid changes tend not to show up until you choose "restore original colours" in the game. In Babyz you actually have to change a binary byte within the file because there is no such game-option, so Petz players are lucky  

4. To change the eyelid colour, open the pet in the hex editor and search for [256 eyelid color] and it will look something like this:  

00006688 | 3233 0A30 2030 0A5B 3235 3620 4579 656C | 23.0 0.[256 Eyel  
00006704 | 6964 2043 6F6C 6F72 5D0A 3635 2032 0A5B | id Color].65 2.[  

in the above example, if you want pink eyelids, change the 6 of 65 to 7. Then go to the [Paint Ballz] area which will look something like this:  

00015744 | 0A5B 5061 696E 7420 4261 6C6C 7A5D 0A30 | .[Paint Ballz].0  
00015760 | 2037 3020 2D30 2E37 3235 3437 3620 302E | 70 -0.725476 0.  

and reduce a digit by 1, for instance in this example the second 7 in that long decimal-place number can be reduced to 6.  

Save. Start the game. Curse because you somehow got it wrong and corrupted the pet. Start again with a fresh copy of the pet (you _did_ obey item no. 1 in this "howto", didn't you??) and do it again, being more careful this time. Start the game, bring out pet, scream because the eyelids look the same, remember item no. 3 in this "howto", and choose "restore original colours" for that pet. Eureka!! Pink eyelids! (Ewwww...) 
 

Enjoy!
Carolyn Horn