Repository navigation
Releases
v0.1 — boots, renders, reaches gameplay (not playable)
First public build. It boots, renders and reaches gameplay. It is not playable, and nothing here has run on a real Vita.
This is a milestone release for the people following the port, not something to install expecting to play Twilight Princess. If you want a playable Twilight Princess on Vita today, DuskOnVita exists and reaches 12–28 FPS on hardware.
What this build does
Installs as a LiveArea bubble and, given your own disc image, boots the game: mDoMch_Create() returns 1, main01() enters its main loop, and real frames are rendered — 78,360–87,870 distinct colours per frame, content box (271,128)–(1008,671) on a 1280×800 canvas. A scripted, frame-counted run reaches the intro narration and in-game Ordon village gameplay. Zero failing allocations and no crash markers on a clean run.
All of that was measured in Vita3K, the emulator, and the picture was judged correct by eye, not by a pixel diff against a reference.
What it does not do
| State | |
|---|---|
| Real hardware | Never run. Not once. Every claim above is an emulator result. |
| Playability | Not playable. Save reload, the pause menu and most of the game have never been exercised. |
| Audio | Disabled at build time (DUSK_AUDIO_DISABLED). |
| Visual effects | Untested beyond "the picture looks right": EFB copies, some fog and shadow paths are implemented but unverified against a reference. |
| Speed | No hardware frame time exists. Vita3K's timing noise is far larger than anything measurable, so no FPS claim is made here or anywhere in the docs. |
Install
- You need HENkaku/enso, and
libshacccg.suprxinur0:data/on a real Vita. Vita3K may not need it. - Install
tpv_vita-release.vpkwith VitaShell. Title IDTPLG00001. - Put your own GameCube disc image in
ux0:data/tpvita/— USAGZ2E01, JapanGZ2J01or PALGZ2P01, as a plain.iso/.gcmor a.ciso. Any filename works;GZ2E01.isois tried first. RVZ/WIA/GCZ/WBFS and the Wii release are not readable. - A black screen, a crash or a bounce to LiveArea: read
ux0:data/tpvita/boot.logfirst. Its last line says how far start-up got. The previous run is kept asboot.log.1.
No game data is in this VPK or in this repository. The archive contains only eboot.bin, the LiveArea assets and the crash-symbol table; the disc image is yours and stays on your card.
Two VPKs are attached
| Asset | Title ID | What it is |
|---|---|---|
tpv_vita-release.vpk |
TPLG00001 |
Use this one. The shipping build, with the phase timers compiled in. |
tpv_vita-timing.vpk |
TPLG30001 |
The same build with the phase timers compiled out (-DTPV_NO_PHASE_TIMERS). Exists only so a frame time and a phase split are never taken from one build — an instrument inside the span it measures is part of the result. |
Both pass check_vpk.py with 0 errors and 0 warnings, both carry ATTRIBUTE2=12 (365 MiB main memory), and both are built from tag v0.1 exactly; no source changed between the last build and this tag.
Honest status of the work behind it
- 91 host render scenes and 14,266 pixel checks pass, plus vertex/texture/shader/disc/crash suites. Mesa is not vitaGL, so vitaGL's shader translator and the Vita GPU are unverified by those tests.
- The port currently has no hardware profile at all. Every performance number in the docs is borrowed from another port, and
HANDOVER.md§11 says a console session is the next step for exactly that reason. - A known defect is recorded but not fixed: the two
constobjects invita/src/main.cppthat are meant to set an 8 MiB main-thread stack have internal linkage, so they never reach the linker and the stack keeps its small default. Recorded because any crash previously blamed on deep recursion should be re-examined once that is fixed.
Credits and licence
Built on TwilitRealm/dusklight (CC0), which is the native build of the zeldaret/tp decompilation; plus encounter/aurora (MIT), encounter/borealis (MIT), and the other pinned dependencies listed in NOTICE and LICENSES/.
Unofficial and fan-made. Not affiliated with, endorsed by or sponsored by Nintendo, Electronic Arts or Criterion Games. Twilight Princess is a trademark of Nintendo.