Skip to content

Editing UI

Matt Filer edited this page May 15, 2020 · 3 revisions

OpenCAGE features the ability to import/export files from the game's UI.PAK: an archive containing a mix of GFX, DDS, and HTML files.

  • GFX files are used for the main UI. They are Flash (similar to SWF) and can be read/edited by a Flash decompiler.
  • DDS files are used for images in the UI. They are Microsoft's Direct Draw Surface format.
  • HTML files are used for the credits, read-in by the credits GFX file. The game's engine supports only basic HTML.

Any file can be imported/exported to allow for full UI modification.

Recommended Tools

To best handle editing exported files (and files for re-importing), a number of third party tools are available.

Opening the UI Tool

Navigate to "Content Tools" and select "UI Import/Export". You will be presented with the UI tool, this is a decompiled view of the game's UI.PAK archive which contains all UI files.

The files within the UI.PAK are displayed on the left of the screen. Files are grouped into folders which can be expanded by pressing the "+" icon on their left hand side. Folders are represented by a folder icon, and files are represented by a file icon.

Click on a file in the left of the window to see more information about it on the right hand side.

Exporting/Importing Files

To export a file, select it from the list and press "Export" under "File Utilities". Similarly, press "Import" to import a new file.

The file picker that shows will limit you to the original file type when importing a new file, as it will overwrite the old file and for that reason needs to be the same type.


Config Tools


Content Tools


Scripting Tools

Clone this wiki locally