Resource Generator: Tool Usage

PreviousNext

Overview

The EM Resource Generator can be found in the directory {EM}/resources/tools/resource_generator. Use it from the command line.

Basic Usage

Usually you just have to tell the resource generator which input file it should process. The command looks something like this:

em_resource_generator resources.xml
This will generate the classes resources.e and shared_resources.e.
Note: You don't have to put all resources in a single file. For example, you could make the files "images.xml", "animations.xml", "audio.xml" etc. and generate a class for each one of these.

Advanced Usage

There are several options you can specify: