HEXING Guide - Textures
!!!!!UNDER CONSTRUCTION!!!!!
1. Texture files
-- File Properties
For a texture file to work with Petz it needs to be saves as a Bitmap (.bmp) with 256-bit color properties. Simply saving the image as bitmap will not let your textures show up properly in-game.
For petz 5 besides the previous characteristics, the image being used as a texture must also be sized in numbers that are multiples of 8. EX.: A "20px x 20px" or "20px x 32px" texture will not work because at least one of the dimensions is not a multiple of 8 (20, in this case). TEST NEEDED Dimensions that I know for sure will properly work are: 8px, 16px, 32px, 64px, 128px and 256px
To easily convert a bmp into 256 bit, you'll need to use the app IrfanView. USING IRFANVIEW GUIDE HERE? --Petz Palette
You can make a texture even more petz friendly by using IrfanView to apply the specific palette used by Petz 5. Insert LINK HERE
--- Texturable COLORS
10-149 are texturable colors, any other colors will NOT work with any textures.
2. Setting up texture library
inside Resource folder: Usual places - Resource/Catz or Resource/Dogz or create Resource/Texturez
3. LNZ Pro x Pet Workshopexplain pet workshop is a bit glitchy when dealing with textures, it's easier to tweak them on lnz pro.
4. LNZ Pro [Texture List]
[Texture List]
\art\textures\hair10.bmp 1 ;0
\Resource\Texturez\test.bmp 0 ;1
- path
"\art\textures\hair10.bmp" is an INTERNAL path. You aren't able to find an art\textures folder in your installation directory.
"\Resource\Texturez\test.bmp" is an EXTERNAL path. It's a folder you can navigate to in your Petz folder.
- transparency argument
The RED number is the Transparency Argument
0 means the image is NOT transparent
1 means the game will try to apply the texture on top of the ball color, it usually only works with orange (60-69) colored textures
any number larger than 1 means the game will try to turn a certain color/range transparent, and leave the rest untouched. (the number is the assigned color number in the petz palette)
- assigning textures
The GRAY number in that example is the Texture Number. Your file may not have this number visible, as it's usually added in as a comment (any text after a ';' is treated as a comment in the lnz file and will not alter any of the code) by whoever is hexing the file
5. Troubleshooting
My textures aren't showing up properly! How can I fix it!? These are the most common issues with textures not working:
. Incorrect file path in Texture List or a Typo on file path.
fix: Make sure there are no typos whatsoever on the path. it should start with "\Resource\" EXACTLY. and end with ".bmp"; Make sure that the all the folders in your path currently EXISTS in your Petz/Resource folder! and that your TExture file is inside it;
More detailed info: Section 4 - path
. Unassigned Texture.
fix: Section 4- assigning textures
. The are has an Un-texturable Base Color.
fix: Section 1-Texturable colors
. The texture file is not compatible with Petz games.
fix: Section 1 - File Properties