New
Windows builder, no WSL needed. Longshot Oberon can now be built on plain Windows. The Windows builder download carries everything it needs: LLVM 18.1.8 for Windows, Python 3.12 with the build's packages, and the build's helpers compiled for Windows. Nothing is installed on your PC. It runs the same steps as build.sh (checking your game file, translating the game's program, the shader list, button prompts, compiling and linking), and from the same release zip and the same game file it produces a byte-identical eboot.bin to a Linux/WSL build. We checked that hash on both sides.
Your game file can now live inside the title folder. On the console, oot.nup can sit directly in /data/homebrew/PPSA93339/, so the title and the game are one folder you copy over in one go. The old places still work and are checked in this order:
- Inside the title folder (
/data/homebrew/PPSA93339/oot.nup), /data/lichii/roms/oot/oot.nup/data/prosperoeden/roms/oot/oot.nup.
No more paths to type when building. Put oot.nup next to build.sh or build.cmd and run it with no arguments, and the builder finds it. Naming a file, or dragging it onto build.cmd, still works.
PerfCombo is now the default shadow mod, alongside Saturation115. It brings sun shadows in to 200 m with two cascades and fades NPC shadows out at 13–16 m. The PerfShadow mods are still in mods/, but switched off with a leading underscore so they don't fight over the same file. Renaming a folder with a leading udnerscore "_" turns a mod on or off. These are bundled for performance - loss in fidelity is hardly noticeable.
The shipped longshot_env.txt is now the docked 1080p FSR-upscaled locked-30 profile (2b), the setup this release was tested on. The tuned memory and texture settings behind it are now built-in defaults, so the premade profiles only hold what a player would actually change. This also means that this release is performant enough to use a higher resolution while also providing a stable experience.
Fixed
Crashes when entering busy areas (Castle Town entry, among others). The game could hit an empty slot in its actor job lists and crash on it; those empty entries are now skipped.
Light flashing on water and glass in longer sessions, the flash you'd see when the sun lit up a reflective surface. The exposure meter's readback could be read a frame late; it is now always read on time.
Daytime water flashing caused by the two reflection cubes going out of step.
The Market turning blurry: textures made small for lack of memory went from 1,800–10,600 a session to 2.
ASTC textures are decoded exactly (from Longshot upstream), and finer opaque textures are kept as BC1.
Performance
On a locked 30 (base PS5, the shipped profile), a session through 12 different areas averaged 29.8 fps, with about 3 frames in 100 over 40 ms, and no crash.
Memory holds up over long sessions. Pipelines from areas you've left are let go once you've been through three newer ones (RX_VK_PIPE_AREAS, 0 turns it off), and shader modules rebuilt for those areas are released again after a minute unused. Heap growth per new area dropped from ~100–130 MB to ~24 MB. Memory emergencies went from 1–5 a session to 0, and the lowest free memory went from ~450 MB to ~840 MB. Game memory pinned by GPU imports dropped from 2–3 GB to 1.2 GB.
Fewer hitches when turning the camera. When a lot of new textures come into view at once, they're drawn at low resolution first and filled in once the camera settles. Real hitches dropped by about a third. Since there's a small blur and animation while turning, the textures drawn at lower resolution while turning are never actually seen. This allows less hitching while also not sacrificing visuals.
Lighter CPU. The game's code now uses the console's native floating point, and both the game's hottest code and the renderer are built with a profile recorded from real play (PGO). Unlocked, average fps went from ~45 to ~47, frames over 40 ms went from ~16 to ~10 per 1000, and CPU use dropped by about 15%.
How to build
Windows: download the Windows builder, unzip it anywhere, and copy your oot.nup into that folder next to build.cmd. Double-click build.cmd. The first run unpacks the release into longshot_oberon\ and builds; that takes about an hour the first time. The finished title is in longshot_oberon\dist\PPSA93339, and the window and build.log end with where to copy everything and the eboot.bin hash. Options such as --jobs 3 go in build_args.txt. If a run is interrupted, double-click it again and it carries on where it stopped.
Linux / WSL: unzip the release in your Linux home folder (it builds several times faster there than on a Windows drive), copy oot.nup into longshot_oberon/, and run:
cd longshot_oberon
RX_FP_NATIVE=1 PS5_PGO=$PWD/ps5/profiles/vk.profdata bash build.sh
You can also give it a path: bash build.sh /mnt/d/Games/oot.nup. --jobs N sets how many files compile at once; use fewer if a compile crashes for lack of memory. Running it again continues where it stopped.
On the console: copy the whole PPSA93339 folder to /data/homebrew/PPSA93339, put oot.nup inside it (or in one of the other places above), and start Longshot Oberon.
Updating from 1.2.0
Build from a fresh unzip. This release translates the game's program again, so it's a full build, not just the renderer. Copy the new PPSA93339 folder to the console, keeping your cache/ folder if the build prints the same shader stamp as before. If you kept your own longshot_env.txt, remove any HOS_BG_THROTTLE and RX_VK_CAPTURE lines, or start from the shipped one or a premade profile.
Credits
From Longshot upstream, ported to the PS5 build: the exact ASTC decoder (Longshot #2314, from v3.2.0); the heap retry that hands a full model heap's remaining work to its parent (#2452, nightly-805); the static shadow map at reduced size (#1367, here fixed at 75% for the base PS5); command recordings handed over instead of copied (#1780); and replay progress answered from the last timeline read (#1994). Keeping finer opaque ASTC textures as BC1 follows the approach of #521.
Custom to Longshot Oberon: everything else in this release was written for the PS5 port.
The Windows builder: the native Windows toolchain bundle, Python ports of the build and link scripts, and the work that makes Windows and Linux builds produce a byte-identical eboot.bin.
Area-based pipeline release, an area's pipelines are let go three areas later, and the shader modules re-made for them are let go again when idle.
The fixes: the crash guards for empty actor-job entries, the exposure-meter fix for the water and glass flash, and the reflection-cube rounds for the daytime water flash.
The memory work: smaller GPU import chunks, the per-thread heap reuse that cut heap churn by about 4 GB a session, the sliding texture-eviction age, and memory-pressure release of kept-ready pipelines.
Camera-turn hitches: low-resolution-first textures when many come into view at once.
Build-time CPU work: native floating point for the translated game code, and a recorded play profile (PGO) for both the game's hot code and the renderer.
Everything else: the built-in defaults, the PerfCombo mod set, and the new game-file locations.
Tools in the release zip: the Windows side uses the official LLVM 18.1.8 Windows release, CPython 3.12 from python-build-standalone, llvm-mingw (used to build a64emit.dll, zbic.dll and ps5-native-tool.exe for Windows), and zlib. The PS5 side builds on Mihawk-99's PS5_Vulkan, PS5_Mesa and PS5_MihawkGen, John Törnblom's PS5 payload SDK, FFmpeg and zstd; licences and exact versions are in deps/SOURCES.txt.