Chapter 18. XFF Dependency Tool

Table of Contents

Overview
Using XFFDepTool

Overview

The XFF Dependency Tool can be used to find out which files are needed for an XFF to be loaded properly. This includes any texture files, particle system files and other XFF files that are needed, and also all dependencies from the loaded XFF files.

Using XFFDepTool

The XFF Dependency Tool is a command-line program which is meant to be run from the content directory. It takes one or more parameters, including flags and filenames or masks. For example:

D:\project\content>xffdeptool --onlywarnings *.xff

The above will produce output only if some file was not found that was needed by some XFF file, or if no XFF files were found.

The XFF Dependency Tool has three operation modes. Normal, No warnings and Only warnings mode.

In normal mode, the tool outputs a list of needed files, plus warnings embedded in the listing for any files that could not be found. No warnings and only warnings modes disable either normal listing or warnings output.

Regardless of the operation mode, the executable returns with errorlevel 0 if no problems were found, -1 if no parameters were used and >0 if warnings occured.