A graphical wrapper for repak — the Unreal Engine .pak file tool. Built specifically for STALKER 2 modding.
You need two things before using this tool:
The repak binary handles all pak/unpack operations. This GUI is just a wrapper around it.
- Pre-built releases already include
repak— download from Releases - From source: download
repakfrom trumank/repak and place it in the same directory asrepak_gui.py
STALKER 2 game paks are AES-256 encrypted. You need the decryption key to unpack them.
Where to find the key:
- Search the STALKER 2 Modding Wiki or modding Discord servers for the current AES key
- The key is a 64-character hex string (e.g.,
0x1A2B3C...) - Paste it into the "AES-256 Key" field in the GUI
You do NOT need an AES key for:
- Unpacking mods made by other modders (most are unencrypted)
- Packing your own mods
Windows users must place oo2core_9_win64.dll in the same directory as the executable.
Where to find it:
- Go to your STALKER 2 install folder:
Stalker2/Content/Paks/ - Copy
oo2core_9_win64.dllnext toRepakGUI.exe
This is a proprietary Oodle compression library from Epic Games and cannot be bundled due to licensing.
Download from Releases:
| Platform | File | Notes |
|---|---|---|
| Windows | RepakGUI.exe |
Needs oo2core_9_win64.dll alongside |
| Linux | RepakGUI-Linux |
chmod +x RepakGUI-Linux then run |
chmod +x run.sh
./run.shThe launcher auto-detects your package manager and installs tkinter if missing.
python3 repak_gui.pyRequires Python 3.7+ and tkinter (usually bundled with Python).
By default, output goes to your Downloads folder. To change it:
- Click Set Output Folder (below the tabs)
- Pick any folder — unpacked files go to
<folder>/unpackedfiles/, packed files to<folder>/packedfiles/ - Click Reset to go back to Downloads
The setting is saved between sessions.
- Open the Unpack tab
- Click Browse (or
Ctrl+O) and select a.pakfile - If it's an encrypted game pak, paste the AES key in the AES-256 Key field at the bottom
- Click Unpack
- Files go to
<output folder>/unpackedfiles/<pakname>/
- Open the Pack tab
- Click Browse and select your mod folder (must follow the game's directory structure)
- Enter a pak name — use STALKER 2 naming convention:
~mods_yourmodname_P - Click Pack
- Output goes to
<output folder>/packedfiles/
- Open the Batch Unpack tab
- Add Files or Add Folder to queue
.pakfiles - Right-click the list to reorder (Move Up/Down) or remove entries
- Click Unpack All
- Press
Escapeto cancel at any time
- Open the Info/List tab
- Browse for a
.pakfile - Show Info for metadata, List Contents for file listing
Use the ~mods prefix for mod paks:
- Format:
~mods_modname_P.pak - Example:
~mods_betterweapons_P.pak
This ensures mods load with correct priority.
- Unpack the game pak containing the files you want to modify
- Find and edit the relevant files
- Recreate the game's directory structure in a new folder with only your changed files
- Pack with
~mods_yourmod_Pname - Place the
.pakinStalker2/Content/Paks/~mods/ - Use
find_conflicts.pyto check compatibility with other mods
python3 find_conflicts.pyScans unpackedfiles/ for .cfg files that appear in multiple mods with different content. Copies conflicting versions into conflicts/ for side-by-side comparison.
| Shortcut | Action |
|---|---|
Ctrl+O |
Browse for pak file |
Ctrl+L |
Clear log |
Ctrl+E |
Export log to file |
Ctrl+Q |
Quit |
Escape |
Cancel current operation |
- Manual check: Help menu > Check for Updates
- Auto-check on startup: Disabled by default. Enable via Help menu > "Check for Updates on Startup"
- Updates are verified with SHA-256 checksums and a backup is created before applying
Default output folder: ~/Downloads (configurable via Set Output Folder button).
| Directory | Contents |
|---|---|
<output folder>/unpackedfiles/ |
Extracted pak contents |
<output folder>/packedfiles/ |
Created .pak files |
conflicts/ |
Conflict analysis output (in script dir) |
repak_gui.log |
Operation log (rotated, 5MB max, in script dir) |
repak_gui_config.json |
Saved settings (in script dir) |
Install via your package manager:
- Arch:
sudo pacman -S tk - Debian/Ubuntu:
sudo apt install python3-tk - Fedora:
sudo dnf install python3-tkinter - openSUSE:
sudo zypper install python3-tk
Or use ./run.sh which handles this automatically.
Make sure oo2core_9_win64.dll is in the same directory as the executable. See Before You Start.
Place the repak binary (Linux) or repak.exe (Windows) in the same directory as the GUI.
- Verify the AES key is correct (64 hex characters or base64)
- Make sure there are no leading/trailing spaces
- The key must match the game version — keys can change with game updates
# Run tests
pip install pytest pytest-cov
pytest test_repak_gui.py -v
# With coverage
pytest test_repak_gui.py -v --cov=repak_gui --cov=find_conflicts
# Lint
pip install ruff
ruff check repak_gui.py find_conflicts.pyBuilt on top of repak by trumank. All pak/unpack functionality comes from repak — this project provides the graphical interface.