Introduction

Open View → UI Editor to browse DATA/UI.PAK — the archive that holds the game's UI files. The Edit UI window, shown below, lists every entry with its path inside the archive and its size in bytes. OpenCAGE itself doesn't edit the contents; you export a file, change it with an external tool, then replace it. Writes go straight back into the PAK (no separate pack step).

The Edit UI window listing every entry in UI.PAK with its path and size, a row selected and the action buttons enabled along the bottom.

The Edit UI window: search at the top, archive entries in the middle, the action buttons along the bottom.

There is no Save button: every replace, import or delete is written to the archive as soon as it happens, and the first time you open one of OpenCAGE's auto-saving editors a one-off Automatic saving reminder says so. Saving closes Alien: Isolation if it's running, so the game isn't locking the archive.

The UI Editor item sits in the main window's View menu with the other asset editors, as shown below. It doesn't need a level loaded.

The View menu of the main OpenCAGE window with the UI Editor item highlighted.

File Types

UI.PAK is mostly a mix of:

  • GFX — Scaleform/Flash-style UI packages (similar to SWF). These drive most menus and HUD UI.
  • DDS — DirectDraw Surface images used by the UI.
  • HTML — credits text (read by the credits GFX). The engine only supports basic HTML.

You can export or replace any entry in the archive, not only those types.

Using the Editor

The list shows every path in the archive, sorted alphabetically. Type part of a path in the search box and press Search (or Enter) to filter it — matching ignores case, spaces and slash direction, so credits finds both CREDITSSCREEN.GFX and the CREDITS*.HTML pages, as shown below. Clear the box and search again to get the full list back. Select a row to enable Export Selected, Replace Selected and Delete Selected; Import New File and Export All are available as soon as the archive has loaded.

The Edit UI list filtered by the search term credits, showing the CREDITSSCREEN.GFX package and the eight CREDITS HTML files.

Searching for "credits" narrows the list to the credits GFX and the HTML pages it reads.

Export & Replace

Everything is driven from the button bar along the bottom of the window, shown below.

The five action buttons along the bottom of the Edit UI window: Import New File, Export Selected, Delete Selected, Replace Selected and Export All.

The button bar with a row selected, so all five buttons are enabled; Export Selected, Delete Selected and Replace Selected grey out while nothing is selected.

Typical workflow:

  1. Select a file → Export Selected → pick where to save it.
  2. Edit the file externally (GFX in JPEXS, DDS via DirectXTex, and so on).
  3. Back in Edit UI, select the same archive entry → Replace Selected → choose your edited file.

Replace writes into UI.PAK immediately; the Size (bytes) column updates to the new file's length so you can see it took. Keep the same kind of file you exported — OpenCAGE doesn't validate content, but the game expects the entry to stay usable as that asset.

Import, Delete & Export All

  • Import New File — pick a file from disk, then give it an Entry path in the Set Path prompt (shown below). The box starts out holding just the file name; every retail entry lives under DATA/UI/, so change it to the full path, such as DATA/UI/MY_IMAGE.DDS. If that path already exists, you're asked whether to overwrite it.
  • Delete Selected — removes the entry after confirmation.
  • Export All — pick a folder and every entry is written into it, recreating the DATA/UI/... folder structure; a message reports how many entries were exported.

Import and delete also save the PAK immediately (and close the game if it's open).

The Set Path prompt shown by Import New File, asking for the entry path the new file should have inside UI.PAK.

The Set Path prompt with the full DATA/UI/... path typed in; it opens holding just the file name, so change it before pressing OK.

Launch Game UI Tweaks

The Launch Game window's UI tweaks (Debug Checkpoints, Level Select, Quicker Loadscreen and Quit Option On Deathscreen) don't change anything Edit UI lists: they add OpenCAGE's own copies of the menus to UI.PAK, which Edit UI doesn't show, export or let you import over. While one of those boxes is ticked, though, the game shows OpenCAGE's menu instead of its own, so a change you make here to that menu (PAUSEMENU.GFX, NEWFRONTENDMENU.GFX, LOADINGSCREEN.GFX or GAMEOVERMENU.GFX) only shows in the game with the box unticked. A level with its own version of one of those menus (see Level UI Overrides) uses that instead, ticked or not.

Level UI Overrides

A change made in Edit UI changes the game's UI everywhere: every level, the main campaign included. A level can instead carry its own versions of the game's UI movies - the radial menu, the HUD, the motion tracker's screen, the pause menu and the rest - which the game uses only while that level is played. Every other level, and the main campaign, keeps the game's own UI.

That's how a custom level, or a mod, gets a UI of its own. The game opens movies such as the radial menu itself, so until now the only way to change them was to change them for every level.

Giving a Level Its Own UI

A level keeps its own UI movies in a UI folder inside its own folder, each named as the game names the movie it replaces: DATA/ENV/PRODUCTION/MY_LEVEL/UI/RADIALMENU.GFX, or DATA/ENV/MY_LEVEL/UI/RADIALMENU.GFX for a level made with Create Level. Because they live with the level, they go wherever the level goes: a mod made from the level carries them, and players get them when they install it.

These are the movies a level can replace - the ones the game opens itself:

  • RADIALMENU.GFX - the radial menu (hold Q: inventory and items)
  • AGGREGATE.GFX - the HUD (prompts, pickups, health, messages)
  • WEAPONSTUFF.GFX - the weapon HUD (crosshair, ammo, reloading)
  • MOTIONTRACKER.GFX - the motion tracker's screen
  • HUB.GFX - the hub (Tab: map, inventory, logs, missions)
  • CRAFTINGSCREEN.GFX, SUBTITLES.GFX, PAUSEMENU.GFX, GAMEOVERMENU.GFX and LOADINGSCREEN.GFX
  • the computer terminal, keypad, access tuner, rewire, reaction and minigame screens, the video player on in-world screens, and the main menu, title, splash, brightness and credits screens

Start from the game's own version: export it (here in Edit UI, or with Export Game's... in the window below), change it with a tool such as JPEXS, and give it to the level. A level's movie can still use the game's own images, as it's read from the same place in UI.PAK as the game's.

The Level UI Overrides Window

Open View → Level Config → Level UI Overrides for the level you have open, or click Edit... beside the level's UI line in Launch Game for the level picked there. It lists every movie a level can replace, and whether the level brings its own version - shown in bold - or uses the game's:

The Level UI Overrides window for UIO_A: the radial menu shown in bold as the level's own, 159 KB, and every other movie as the game's own, with Open Folder, Import, Export Game's, Export, Remove and Close along the bottom.

A level with its own radial menu: every other movie is the game's.

  • Import... (or double-click a row) - give the level its own version of the selected movie: a .gfx, or the .swf it is made from. It's copied into the level's UI folder under the game's name.
  • Export Game's... - save the game's own version of the movie, as a starting point.
  • Export... - save the level's version.
  • Remove (or Delete) - take the level's version out: the game's own is used again.
  • Open Folder - open the level's UI folder.

A file in the folder that isn't named as one of the game's movies is listed above the table as not used. Changes are used from the next time the game is launched into the level.

When the Game Uses Them

A level's own UI goes in when the game is launched into that level from OpenCAGE: with Launch Game, with Launch Mod in the Mod Manager, when Open Game On Save starts it after a save, or by the AI assistant tools. Launch Game says which movies the level brings, under its UI tweaks:

The Launch Game window with UIO_A picked. Under the UI tweaks, a line reads: This level's own UI: Radial menu. An Edit link sits beside it.

They come out again as soon as anything else is launched, when the game closes (OpenCAGE watches the game it started, and takes them out a few seconds after it has gone), or the next time OpenCAGE starts if it was closed first - so a level's UI is only in the game while that level's launch is running. The game's own files in UI.PAK are never changed: the level's movies go in beside them under names of OpenCAGE's own, which Edit UI and the Mod Manager don't list, and which never end up in a mod you create.

UI tweaks. Where a level brings its own version of a movie one of the Launch Game UI tweaks also changes - the pause menu and Debug Checkpoints, the main menu and Level Select, the loading screen and Quicker Loadscreen, the game-over screen and Quit Option On Deathscreen - the level's version is used, and Launch Game says so ("Used instead of Debug Checkpoints").

Limits

  • The game has to be started from OpenCAGE for a level's UI to be used. Started from Steam, GOG Galaxy or the Epic Games launcher, it shows the game's own UI.
  • The UI is chosen when the game is launched: if the game moves on to another level in the same session, it keeps the UI it was launched with.
  • Only the movies listed above can be replaced. Movies those load themselves - the hub's pages, such as its inventory and map - and images of a level's own can't be added on their own yet.
  • Launching works with the Steam, GOG and Epic Games Store versions of the game.