setExternalAssetsPath method of the EngineSettings interface

Documentation Menu

Sets the path to the custom directory with the necessary resources.

The program will search for any resource file it needs first in assets, then in the specified custom folder, each time looking in the corresponding subfolder. For example, it will try to locate a pattern file (*.rom) like this:

  1. in assets/patterns
  2. in <custom search path>/patterns
  3. if the file is not found, an error will be returned
void getExternalAssetsPath( String path );

Parameters

path

The path to the custom resources folder. Pass null for this parameter to search only in assets.