A graphical interface for the NX Package Format (.nup).
NUP GUI is a small desktop front end for nup, the command-line tool that packs unencrypted Nintendo Switch / Switch 2 game dumps into a single compressed .nup container. Instead of typing commands, you pick files and folders, press a button, and watch the progress.
Unofficial. This project is a third-party GUI. It does not reimplement the format: it builds the right
nupcommands and runs them for you. The format and the reference tool belong to their original author.
- Pack a dump folder (
base/,updates/,dlc/) into a.nup, with a compression level selector (1–10), optional Title ID and display version. - Unpack a
.nup, fully or only a part (--package base|update|addon,--subtree romfs). - List every file inside a
.nup. - Info about the container, with optional file tree.
- Verify integrity (structure and per-file SHA-256), with a fast mode.
- Live progress bar, plus start time, end time and duration of every run.
- Color-coded output log, and a Stop button to cancel a running job.
- Dark theme, sidebar navigation, scales on high-DPI screens.
- Standard library only, no extra Python packages needed for the GUI.
- Windows, Linux or macOS with Python 3 and tkinter
(tkinter ships with the Windows installer from python.org; on Debian/Ubuntu install it with
sudo apt install python3-tk). - The
nupcommand-line tool, installed and working (nup --help). Note thatnupitself needs a recent Python (3.12 or newer at the time of writing).
Clone the repository:
git clone git@github.com:emulation/nup_gui.git
cd nup_gui(HTTPS works too: git clone https://github.com/emulation/nup_gui.git.)
Install nup if you don't have it yet:
git clone https://github.com/a55uka/nup
pip install ./nup/tools/nupRun the GUI directly with Python:
python nup_gui.pyThe program looks for nup automatically (in your PATH, next to the GUI, in dist/, or in a local .venv). If it can't find it, type or browse to the path in the Programa nup field at the top. Leaving that field empty makes the GUI run python -m nup.cli instead.
Typical workflow:
- Open a tab in the sidebar (Empaquetar, Desempaquetar, Listar, Info, Verificar).
- Choose the files or folders with the Examinar buttons.
- Press the action button and follow the progress bar and the output log.
| Tab | Runs |
|---|---|
| Empaquetar | nup pack <dump_dir> <out.nup> [--level N] [--title-id HEX] [--display-version V] |
| Desempaquetar | nup extract <file.nup> <dest> [--package base|update|addon] [--subtree romfs] |
| Listar | nup list <file.nup> |
| Info | nup info <file.nup> [--tree] |
| Verificar | nup verify <file.nup> [--fast] |
The exact command is always echoed at the top of each run in the output log.
The percentage on the progress bar is read from what
nupprints. If the tool doesn't print percentages for an operation, the bar shows an animation while it works and fills to 100% when the job finishes successfully.
You can bundle the GUI into a single .exe with PyInstaller:
pip install pyinstaller
pyinstaller --onefile --noconsole --name nup_gui nup_gui.pyThe result is dist/nup_gui.exe. Put it in the same folder as nup.exe (which you can build the same way from the nup repo) and the GUI will find it by itself.
Tips:
- Always build from the file you actually edited, and check the version shown in the window title.
- Some antivirus programs flag
--onefilePyInstaller executables as suspicious (false positive). Building with--onedirinstead of--onefileusually avoids it.
| Problem | What to do |
|---|---|
SyntaxError: f-string expression part cannot include a backslash when running nup |
Your Python is older than 3.12. Use Python 3.12+ for nup. |
.venv\Scripts\activate fails in PowerShell |
Run Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass first, or use Git Bash with source .venv/Scripts/activate. |
| The window shows an old version | You are running an old copy of the script or .exe. Rebuild from the right file. |
| "Faltan datos" warning | A required file or folder field is empty. |
nup_gui/
├── nup_gui.py # the whole application
└── README.md
- The NX Package Format and the
nuptool: a55uka/nup.
Add the license of your choice here (for example MIT) and include a LICENSE file.