TuffyRecomp
TuffyRecomp is a Windows port of Tuffy the Corgi and the Tower of Bones that runs your own copy of the game on PC with a launcher that imports it.
- Type: PC port
- Game: Tuffy the Corgi and the Tower of Bones
- Runs on Windows
- By ilariodeangelis77
- Latest release v0.2.0, 2026-11-28
- Source: https://github.com/ilariodeangelis77/TuffyRecomp
README
Tuffy the Corgi — PC port
An unofficial Windows port of Tuffy the Corgi and the Tower of Bones (Action Button Entertainment, 2014), a PlayStation Mobile game for PS Vita that disappeared when the PSM store closed. It runs your own copy of the game on PC, with a launcher that imports it for you.

No game files are included. You need your own copy: the
NPNA00177package and its license, from your PS Vita or your own backup. Please don't ask for, or share, game files.
Features
- The original game, unchanged. PSM games are .NET programs. The port runs the game's own
app.exeon .NET 10, on top of a PC reimplementation of Sony'sSce.PlayStation.Corelibrary (OpenGL, OpenAL, keyboard, gamepad and mouse-as-touch). - A launcher that does the setup. Point it at the
.pkg+ license, a zRIF, a PS Vitapsmfolder, a pkg2zip output or a decrypted folder. It checks all 124 files against a manifest, decrypts them with your license and imports them. - Display: windowed, borderless or exclusive fullscreen, monitor choice, integer scaling, sharp / sharp-smooth / smooth filtering, aspect and border options, v-sync, FPS counter, and apply & test with automatic revert.
- Controls: keyboard and gamepad remapping, rumble, a menu pointer for the game's touch-only buttons, and a live test area.
- Saves: view, back up, export and import your saves, including saves copied from a PS Vita.
The game's
BinaryFormattersaves are read and written by a safe serializer that writes the same bytes. - Game options: reduce flashing, skip the intro logo, a speedrun timer. Practice modes (stats are not saved): invincibility (pits and spikes put you back on the last ledge) and checkpoints.
- Extras:
- Tower map: the whole level, drawn from your game files, to pan and zoom.
- Watch an ending: start near the top with 0, 54 or all 108 bones to see each of the three endings.
- Unused art: a gallery of the images in the package that the game never shows.
| Gameplay | Tower map |
|---|---|
![]() | ![]() |
| Game options | Display options |
![]() | ![]() |
Getting started
- Download
TuffyRecomp-<version>-windows-x64.zipfrom Releases and unzip it anywhere, or build it yourself. Windows 10 or 11 (x64). Nothing else needs installing. - Start
TuffyLauncher.exe. - The first-run wizard asks for your copy of the game, in any of these forms:
NPNA00177_00.pkgwithFAKE.rifnext to it, or the package plus a zRIF (paste with Ctrl+V);- the
psm/NPNA00177folder from a PS Vita, or a pkg2zip output; - an already-decrypted
Applicationfolder.
- Press PLAY.
Controls
| Action | Keyboard / mouse | Gamepad |
|---|---|---|
| Touch screen | Left mouse button (left half = turn, right half = jump) | — |
| Jump | Z, Space, K (also X/A/S, J/I/L) | A / B / X / Y, RB |
| Turn | Arrow keys, Q (L), W (R) | D-pad, left stick, LB |
| Start / pause | Enter, Esc, P | Start |
| Menu pointer for touch-only buttons | Backspace / Tab, then arrows + Z | Back (View), then D-pad + A |
| Fullscreen | F11 | — |
Every binding can be changed in the launcher's controls tab.
Where things go
- Config, saves, logs and backups:
%APPDATA%\TuffyRecomp\. - Portable mode: put an empty
portable.txtnext to the exes and everything goes to.\data\. - If the game crashes, the launcher says so and shows the end of the log, with a "copy support info" button.
The release folder holds TuffyLauncher.exe, TuffyPC.exe (the game) and runtime\. That folder
contains the .NET runtime, GLFW and OpenAL Soft (native\), and reference copies of the port's own
DLLs that the game patcher reads (ref\).
Command line
- Launcher:
--fullscreen,--play,--reimport,--portable,--data DIR. - Game:
TuffyPC.exe [game_root] [--config FILE] [--data DIR] [--scale N] [--windowed|--fullscreen] [--preview SECONDS] [--ending none|some|all]. - Exit codes: 0 ok, 1 crash, 2 game files missing, 3 config error.
How it works
- Runtime library. OpenPSS/PssIL reconstructs the managed half
of
Sce.PlayStation.Core.tools/import_pssil.pyturns its native calls into C# partial methods, whichsrc/PsmRuntime/Native/implements for PC:- Graphics: OpenGL. PSM
.cgxshaders contain GLSL ES source, which is compiled as desktop GLSL. - Audio: OpenAL Soft. WAV is decoded directly; MP3 with NLayer.
- Images and fonts: StbImageSharp and StbTrueTypeSharp.
- Input: keyboard and gamepad map to the PSM buttons; the mouse acts as touch.
- Graphics: OpenGL. PSM
- The game executable (
TuffyPC). It loadsapp.exeand the engine DLLs with Mono.Cecil and patches them in memory:- PSM paths (
/Application/…,/Documents/…) become relative to the game folder. - Framework references are retargeted to .NET's.
- Save calls go to the safe serializer.
- Optional features (practice modes, timer, endings) are hooks on the running game, installed only when switched on. With everything off, the game's code runs as shipped.
- PSM paths (
- Import.
src/Tuffy.Core/Importimplements PKG (AES-CTR) and PSSE (AES-CBC, per-game key from the license) decryption and the zRIF decoder. The result is verified against a SHA-256 manifest of the 124 files.
Building
Requirements: Windows 10/11 x64, the .NET 10 SDK and Python 3.
dotnet build TuffyRecomp.slnx
dotnet test tests\Tuffy.Tests
python tools\package.py
package.py publishes both programs as single-file executables and adds runtime\, copied from your
.NET 10 install. It then checks that no game file ends up in the package (by name and by SHA-256),
writes dist\TuffyRecomp-<version>-windows-x64.zip and self-tests the zip from a clean folder.
Some tests need the game. To run them, put NPNA00177_00.pkg and FAKE.RIF in the repository root,
and optionally a zRIF of your license in tests/local/license.zrif. Both are ignored by git.
Without them, those tests are skipped.
Project layout
| Path | Contents |
|---|---|
src/PsmRuntime/ | PC Sce.PlayStation.Core.dll: PssCore/ generated from PssIL, Native/ the PC implementation |
src/Tuffy.Core/ | Shared code: config, paths, logs, import and manifest, save store, shortcuts |
src/TuffyPC/ | The game executable: loads and patches the game in memory, game-side options |
src/TuffyLauncher/ | The launcher (its own OpenGL UI) |
src/Tools/TuffyImport/ | Command-line scan, import and manifest tool |
tests/Tuffy.Tests/ | Unit tests (saves, import, config, shortcuts) |
tools/ | Packaging, UI screenshot sweep, PssIL import, icon generator, reference Python decryptors |
LAUNCHER_PLAN.md | The launcher's design document |
Test hooks
- Game:
- Options:
--shots DIR --shot-every N [--shot-window],--exit-after FRAMES,--script "560:tap@0.42,0.38;900:Cross*20",--fixed-step(deterministic frames). - Environment variables:
PSM_TRACE=1,PSM_DRAWLOG=N,TUFFY_SAVE_TRACE=1,TUFFY_TEST_KILL_AT=frame[p],TUFFY_TEST_ARGS.
- Options:
- Launcher:
TUI_SCREEN=tab.display|wizard.result|map.full|…,TUI_SHOT=out.png,TUI_SCRIPT="40:ok;120:down;200:click@480,300".tools/ui_sweep.pyuses these to capture every screen in both themes and report any text that doesn't fit. - Both:
TUFFY_DATA_DIRandTUFFY_SHORTCUT_DIRkeep tests in a sandbox.
Status
The first-run flow, gameplay, saving, every option and all three endings have been checked with automated runs and screenshots; the endings were reached through the "watch an ending" shortcut. Not yet checked: a full climb from the bottom, a real PS Vita save import, and exclusive fullscreen on more monitor setups. Reports are welcome in Issues.
Optional: Munro font
The launcher uses the game's own pixel font (Munro, by Ten by Twenty) once the game is imported. To
use it from the very first screen, download Munro from https://tenbytwenty.com/#munro ("pay what you
want", SIL Open Font License). Put Munro.ttf and OFL.txt in third_party/fonts/ before running
package.py.
License
- This project's own code: MIT.
src/PsmRuntime/: derives from OpenPSS PssIL, so it is GPL-2.0. As a result, the built programs, which include it, are distributed under the GPL-2.0.- Third-party components: see THIRD_PARTY_LICENSES.md.
Tuffy the Corgi and the Tower of Bones is © Action Button Entertainment. This project is unofficial and not affiliated with Action Button Entertainment or Sony Interactive Entertainment. It contains no game files. Decryption uses only the license you supply, for a copy you own.



