GFxExport2 Reference Guide

This document describes the GFxExport2, a utility tool in Autodesk® Scaleform®. GFxExport2 is introduced as an alternative to the original GFxExport and serves the same purpose.

GFxExport2 is a command line utility that processes SWF files into a format that is optimized for streamlined loading. During preprocessing, resources are stripped out and extracted into separate files. Textures can be compressed into a more efficient format. Once stripped and converted, the Flash files will have the .gfx extension and are only compatible with Scaleform. The GFx files will then rely on the external data files, which can be managed by the application’s resource system.

The GFxExport2 utility tool has various options for preprocessing the SWF files into different formats which is described in detail in Usage section. When used with these different options, GFxExport2 can export font textures, compress images, load shared copy of images and so on.

The main purpose of creating GFxExport2 for 4.4 was to improve the convenience and flexibility of using external texture conversion tools and to allow users easily modify and extend GFxExport2. The original GFxExport uses command line for configuration. GFxExport2, however mostly relies on JSON configuration file. Currently the new GFxExport2 does not have all the features of the legacy GFxExport. However GFxExport is still available in 4.6 in case you decide to use the legacy version instead of GFxExport2. We plan to add some of the missing GFxExport features to GFxExport2 in the subsequent Scaleform releases. Support of custom .dll plugins for image export will be added too in future releases. As always we appreciate your feedback on the new GFxExport2.