Mad Scientists sprite insanity
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In my investigations into the structure of .spr files, although I found that extracting the individual frames in order to edit them by hand is too big a job, I have discovered that there is a lot of fun to be had from swapping them around, and indeed that's what I did when I made my "freedom fishbowl" etc. For instance...

Case skinz creators, haven't you always been irritated by the way you make the perfect, subtle case -- and then find that it's got that brash yellow and red door on it? Well, you can change all that now!

I'm not going to give you a download for this, because if I did it would be nearly 30 megabytes big. But I'm going to tell you how to fiddle around with your game to get results such as these:

tiny hole small heart
or this one, which is good fun because the door actually works but doesn't mess up the case skin:
a proper kennel door
In all of these, the pet will come out of the place where you see the sprite, and to put it away you must put it there instead of in the usual place. Also if you minimise the case, the sprite will still be visible, but you can wipe it out by moving a pet or something over it.

You want to know more? Are you insane? Okay then, read on. There are two ways of doing this; the first makes use of ResHacker's ability to replace items. Simply open the Petz 5 Rez.dll into Reshacker and choose Action and "Save SPR resources". A whole bunch of spr files will then be unpacked onto your hard drive with names like Data_1.bin, along with a little text file which tells you which one should have which spr name. Now pick one which sounds like fun and replace the Casedoor SPR with it.

The second method is the one I use; it takes all those 78 SPR files (you can extract them with Reshacker or by hand in a hex editor, it's your choice) and puts them into directories on your hard drive, so that you can swap them around until you go dizzy. Yes, you might crash your game -- but us mad scientists don't mind things like that, do we? Actually I've not crashed the game yet by doing this, and it's good fun. First off, you've got to alter one byte in the Petz 5 Rez.dll so that it will look on your hard drive for the files instead of inside the .dll. Here's what you want to change:
what to change

of it might look like this in your particular Petz 5 Rez.dll file:
what to change

Just alter that highlighted letter to any other letter. Next, you need to give all of those 78 files the correct names, which you will find in a list at the bottom of this page.
The directories that they must go into will probably have to be created by you; off the main petz 5 game directory you need to have one called art, and then off that one called sprites, then off that you will need seven directories -- adpt, case, foot, hart, hole, minigames, and weather. It should be reasonably logical as to which ones go in which directory, but if you get it wrong there's no big problem, the game will simply tell you what's missing and close. Just put whatever it wants wherever it wants, and all will be well.

If it asks for a .scp file, then download this small file and unpack it into your game's main directory. The files should all go into the correct place, off a directory called ptzfiles. So, here's where everything should be (screengrab is from my Windows Explorer):
where it all goes

And there you are! You can rename Casedoor.spr and then copy various of the .spr files into your "case" directory and try them out, renaming each one in turn to Casedoor.spr.

Enjoy!

Carolyn Horn


the list of .SPR files:
ADPT.SPR
ADPTDOOR.SPR
ADPTICON_CATF.SPR
ADPTICON_CATM.SPR
ADPTICON_DOGF.SPR
ADPTICON_DOGM.SPR
CASE.SPR
CASEDOOR.SPR
CASEICON_CATF.SPR
CASEICON_CATM.SPR
CASEICON_DOGF.SPR
CASEICON_DOGM.SPR
COBRA.SPR
FOOT_C1.SPR
FOOT_D1.SPR
FOOT_G1.SPR
FOOT_S1.SPR
FOOT_W1.SPR
HART.SPR
HAUNTEDBOX.SPR
HAUNTEDCLOCK_DRAWER.SPR
HAUNTEDCLOCK_HOURHAND.SPR
HAUNTEDCLOCK_MINUTEHAND.SPR
HAUNTEDCLOCK_PENDULUM.SPR
HOLE.SPR
HOLE_D1.SPR
HOLE_G1.SPR
HOLE_S1.SPR
KENNEL.SPR
KENNELDOOR.SPR
KNIGHT.SPR
KNIGHT_ARM.SPR
KNIGHT_HEAD.SPR
LITERAIN.SPR
MEDRAIN.SPR
MONKEY.SPR
MRBONEZ.SPR
MRBONEZ_NOTES.SPR
MRBONEZ_TILES.SPR
MRGOPHER.SPR
MRKNIGHT_BLUE.SPR
MRKNIGHT_RED.SPR
MRKNIGHT_SCOREBOARD.SPR
OBSTACLE_COURSE.SPR
OC_BRIDGEBUTTON.SPR
OC_CHECK_BUTTON.SPR
OC_HOOP_BUTTON.SPR
OC_LONGJUMP_BUTTON.SPR
OC_POLES_BUTTON.SPR
OC_SELECTOR_BKGD.SPR
OC_TABLE_BUTTON.SPR
OC_TRIPLEJUMP_BUTTON.SPR
PAPER.SPR
PD_FADEAWAY.SPR
PD_MOUND_BL.SPR
PD_MOUND_BM.SPR
PD_MOUND_BR.SPR
PD_MOUND_ML.SPR
PD_MOUND_MM.SPR
PD_MOUND_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