![]() |
| |||||||||||||||||||||||||||||||||||||||||
|
(Terminal Reality) Slice60 is TRI's own in-house texture slicer used to create the individual terrain textures for 4x4 Evolution and Monster Truck Madness 2. Slice60 takes a single 24-bit, uncompressed TGA image that is divisible by 60 pixels in both height and width (hence the name "Slice60") and processes it to create the final 64x64 RAW textures along with their corresponding ACT color palettes. Note: The color depth of the image is reduced to 256 colors automatically during this process. Compatibility: this is a DOS command line program that works on Windows 95/98/NT/2000/XP only. InstallationDownload the slice60 file and unzip it to the C:\Windows\Command folder. It will now be available from anywhere on your computer. Tip: Do NOT slice your graphic images in the windows\command folder. Just copy slice60 there and never look back. Graphic ImagesUse your favorite paint program to create the roads (and dirt, grass, snow, rocks, etc.) that you want to use for your track. The base of this image should be a tiling 60x60 texture. Once you've completed your graphic, you must save in 24 bit TGA format. You are now ready to slice your image into useable 64x64 pixel textures. Basic parametersAt a DOS prompt, type slice60 to get the following parameter list:
Sample command linesC:\>slice60 image dirt 065 /ixy In this case, slice60 will read the tga file named "image" and create a set of sliced textures with the base name "dirt". The file counter will begin at 65 so the first file names will be "dirt065.raw" and "dirt065.act". Finally, this will process the two pixel overlap for the inside edges as well as the horizontal and vertical outer edges. C:\>slice60 image dirt /ixy Same as above but the counter will begin at 1. Example: "dirt001.raw" and "dirt001.act". C:\>slice60 dirt In this case, slice60 will read the tga file named "dirt" and create a set of sliced textures with the base name "dirt". The file counter will begin at 1 and will NOT process the two pixel overlap on any edges. When the program has finished running, the screen will always look something like: this. For more notes on the Switch options, please see here. Some facts- 24 bit tga at 60 pixel increments - All output files will be 64x64 pixels - baseSliceFilename must be unique - Five letter target name (not six) - Input and base file names cannot exceed 8 characters in total, including the 3 digit counter. - The start number feature must have three digits or is ignored. - Max output count is 999 - Take advantage of the startIndex option to conserve available baseSliceFilenames - New baseSliceFilename will over-write old baseSliceFilename with the same name. - $slice$.tga is a temp file used in the process. - $slice$.raw is created as well but is either deleted or is the thing that gets sliced. TroubleshootingIf, for some reason, the program does not work, Slice60 will not tell a lot about what's wrong. You will have to figure that one out yourself. Here are a few messages and their solution.
Message : Loading your.bmp... Can't open your.bmp
Message : Loading your.tga... Can't open your.tga
Message : Image is 192x192. Each dimension must be an even multiple of 60.
Message : Base outfilename "yourfilename" is too long. Max length is 5.
Message : Ending slice number #### is greater than 3-digit max of 999
Message : What is 'oo1' supposed to be because it sure ain't a valid start slice number? Tip : To avoid problems, pay attention to detail when working. Six Easy Steps- Make a graphic image - Open a DOS prompt - Navigate to the folder containing your graphic - Slice the image - Exit back to windows - Copy files to \art folder
This page was prepared with the assistance of:
Winterkill Special thanks to Gromit and the gang at TRI for sharing this with us. |