### NIFFeditor for SGI

## 9. Conversion Options (.niffcnvops File)

The NIFFeditor for SGI can call up the niff2gfx command from a menu. niff2gfx converts NIFF data into N64 graphics data. The niff2gfx command has a variety of switches for conversion purposes. Setting these switches will allow the output of graphics data under the required settings. For more details, see the niff2gfx Converter Manual.

With NIFFeditor, these niff2gfx option switches can be set by overwriting the conversion options file. This file is named .niffcnvops .

These can be set using the [Convert to N64 DL]-[Set Options and Go] command, but can also be set by editing the .niffcnvops file with a text editor. This file is loaded when NIFFeditor starts.

Contents of the .niffcnvops File
../usr_data default.c -header default.h -scale -niffinfo
-regmask
-vtxshare
-vtxcache
-outobj
-outmask 0

This table above lists the contents of the file.

The first line indicates the directory from which the file will be output. This must be specified.

The second line specifies the file name that will output the DL. This also must be specified.

The option flags(-optionname) must be added to the third line and those that follow. The sequence is optional. The option flags are not required, but if they are not inserted, niff2gfx is executed without any options. Consequently, the options that are required by niff2gfx must be specified.

For more details, see the niff2gfx Converter Manual. Starting with version 2.00, file names are specified with the [NIFF2tool]-[PreviewScript] and [NIFF2tool]-[PreviewFile] commands. The options set by these commands are written in the last two lines of the file.

Copyright 1997-1999 NINTENDO Co., Ltd.
1998-1999 MONEGI CORPORATION
All rights reserved