Revision History
03/11/99 - RLE-compressed SGI image can now be displayed
03/11/99 - Files with the extension .rgba can now be displayed
03/05/99 - Regarding BG, -w and -h are now disabled
02/17/99 - Width and height can now be specified
This application is a tool for viewing images on the Nintendo® 64. You can view the same image in varying formats and bit depths. The following image formats are presently supported:
- CITextureEditor project files (.tpf)
- SGI image format (.sgi, .rgb, .rgba)
However, depending upon the channel number used, the following conversions apply.
- Channel 1:I
- Channel 2:IA
- Channel 3:RGB
- Channel 4:RGBA
- Windows bit map, provided it is a 1bit, 4bit, 8bit, 24bit image that is not RLE compressed.(.bmp .dib)
- As an overall restriction, the width and height must be no more than 1024 dots, and the file output by the converter must be no larger than 2MB. Also note that the operation of YUV output cannot be guaranteed.
MultiTextureViewer ---
/src --- (texv.n64 source) |-
/exe --- autoview.exe |- trans.exe |- texview.exe |- image64.dll |- texprev.bat |- texv.n64 |-
/plugin --- tvBMP.dll |- tvRGB.dll
To view multiple pictures
To view pictures in various formats
To view with a background
To output the C language source file
To View Multiple Pictures
autoview.exe
trans.exe
texview.exe
image64
texprev.bat
texv.n64
tvBMP.dll
tvRGB.dll
Converts multiple image files into a format that can be viewed with Nintendo 64.
Syntax
autoview [-(/)Options] image Files
Optionsautoview.exe
Since trans.exe and texview.exe are called internally, these two files must be in the same folder.
-s |
Size/Pixel |
Bit size per pixel. Specify either 4, 8, 16 or 32. The default is the maximum value that can be used with the specified format. For example, the default is 8 in the case of CI and I. |
-f |
Format |
The format of the image. Specify either RGBA, YUV, IA, I or CI.
The default is RGBA. |
-t |
TLUT |
The palette type. Specify either C or I. C is G_TT_RGBA16. I is G_TT_IA16. The default is C. |
-w |
Width |
If this is specified, one image is divided horizontally by the specified width. However, this will not be applied to background. |
-h |
Height |
If this is specified, one image is divided vertically by the specified height. However, this will not be applied to background. |
-o |
FileName |
The name of the output file. If no extension is specified, then .bin will be automatically appended. The default file name is out.bin. |
-B |
ImageFile |
Attaches background attribute to the specified image file. |
There is no set order for these options, but the image file must always be specified at the very end.
The image files do not have to all be the same size, but they end up being converted to the same format and size. Also, .tvd files are created temporarily and then deleted after execution.
Example
>autoview -s 16 -f RGBA test.rgb
Converts images so they can be seen on the Nintendo 64. However, the output files (.tvd files) must be integrated using texview.exe The files can also be output in C language source format.
Syntax
>trans [-(/)Options] image Files
Options
-s |
Size/Pixel |
Bit size per pixel. Specify either 4, 8, 16 or 32. The default is 32, but this will change depending on the format. For example, IA is 16 and I is 8. |
-f |
Format |
The format of the image. Specify either RGBA, YUV, IA, I or CI.
The default is RGBA. |
-t |
TLUT |
The palette type. Specify either C or I. C is G_TT_RGBA16. I is G_TT_IA16. The default is C. |
-o |
FileName |
The name of the output file. If no extension is specified, then .tvd will be automatically appended.
The default name is the base name of the initially specified image file with the .tvd extension appended.
Appending either .c, .cpp or .h as the extension will output the file in C language source format. |
-w |
Width |
When this option is specified, the image will be divided horizontally at the specified width. |
-h |
Height |
When this option is specified, the image will be divided vertically at the specified height. |
-B |
Attaches background attribute to all specified image files. |
|
-i |
When -f CI is specified, specification of the -i option will create a single palette from all the images.
If CI is not specified, then one palette will be created for each separate image. Please note that it was -p with the previous version. |
Cautions on Usage
There is no set order for these options, but the image files must always be specified at the very end.
All the images need to be the same size when more than one image will be converted.
Example
>trans -s 16 -f RGBA test.rgb
Integrates the files converted by trans into a file that can be loaded with nload on Nintendo 64.
Syntax
>texview [-o FileName]Input file name* ...
Option
-o |
FileName |
The name of the output file. If no extension is specified, then .bin will be appended automatically.
The default file name is out.bin. |
The extension of the input file name needs to be .tvd. However, the extension can be omitted.
The dll which provides the option to convert the image into a format that can be displayed on the Nintendo 64. It will be called from trans.exe, tvBMP.dll or tvRGB.dll.
The batch file for viewing images. Please rewrite this batch file to match the mode of the images you want to view.
The .bin file output by autoview.exe and texview.exe must be loaded with nload into address 0x400000.
The Texture Viewer's program for the Nintendo 64.
The plug-in for Windows bit map conversion. It will be called from trans.exe.
The plug-in for SGI image conversion. It will be called from trans.exe.
A Button, B Button |
Switches textures. |
|
C Buttons |
Move the texture horizontally and vertically. The speed is doubled if you keep the Z Button pressed down. |
|
Control Stick |
Tilts the texture horizontally and vertically. Keep the Z Button pressed down to move the texture forward and backward. |
|
Control Pad |
Changes the speed at which the texture tilts, but the speed forward and backward does not change. |
|
R Button |
Returns texture to its original position. |
|
Start Button |
Displays the menu. |
|
L Button |
Toggles to show/hide the texture name. |
A Button, B Button |
Switches item contents. The same switching can be done with the Z Button. If the cursor is on the color settings, the color value can be increased or decreased one at a time. |
|
C Button |
Not used. |
|
Control Stick |
Moves the cursor. If the cursor is on the color settings, while pushing the Z Button, manipulating the Control Stick will increase or decrease the color value. Changing speed is faster with UP/DOWN than with LEFT/RIGHT. |
|
Control Pad |
Not used. |
|
R Button |
Not used. |
|
Start button |
Quits the menu. |
|
L Button |
Not used. |
COMBINE |
For setting the color combiner mode Can choose DECAL, PRIMITIVE or BLENDPE |
BLENDER |
For setting the render mode Can choose OPA_SURF, XLU_SURF or TEX_EDGE |
FILTER |
For setting the texture filter Can choose POINT, BILERP or AVERAGE |
TASKBAR |
For setting the display of the task bar Can choose ON or OFF |
BG |
For switching the background Can choose to read in a background or set it to OFF |
BG COLOR |
For switching the background color Can set from a range of 0 to 225 for each element. |
PRIMITIVE COLOR |
For switching the primitive colors. Can set from a range of 0 to 225 for each element. |
ENV COLOR |
For switching the environment color Can set from a range of 0 to 225 for each element. |