r/ps5homebrew • u/Serious-Dig-9685 • 6h ago
Longshot Oberon: Ocarina of Time (Switch 2 recomp) running natively on the base/Slim PS5 at a locked 30 fps across most heavy scenes.
NOTICE: Theres a small bug currently with the build script if executed inside a folder named with a space (two link steps split that path at the space) - I will fix it with a subseqent release
I've released Longshot Oberon, a PS5 port of The Legend of Zelda: Ocarina of Time (Switch 2) built specifically for the base PS5 (Oberon is the base console's chip codename).
Video is recorded using a cheap capture card and OBS, so it's not accurate to actual on-screen fidelity and quality of textures. In-game the base profile uses a resolution of 1536×864 (handheld profile) with the picture scaled up to 1920×1080 on my TV with Lanczos and FSR 3.1. Docked profile with 1440p is also possible but may cause some memory issues - more testing needed. (Yes audio is in the game and works - my OBS did not capture it sadly).
GitHub: https://github.com/rimidalv333/longshot-oberon
Built on Longshot https://git.magicbean.dev/MagicBeanDev/Longshot, the PC recompilation, which is its upstream. Fixes from Longshot's releases and nightlies are ported in by hand.
It started from the very first PS5 Hookshot release by Mihawk which targeted the PS5 Pro and grew from there (see https://github.com/rimidalv333/base-hardware-hookshot-ps5/blob/main/base-ps5.md)
It's not affiliated with, and not based on, heydemoura's PS5_Longshot. That project targets the Pro; this one is a separate line of work aimed at the base console.
Performance
- Locked and steady 30 fps in Kokiri Forest, Hyrule Field and the Castle Town market
- Castle Town works without crashing, and memory held over a full session from a New Game to Castle Town
- FSR 3.1 anti-aliasing, PS5 button prompts, optional shadow and saturation mods
- Frame generation using Longshot's built in frame gen is available and performs quite well (next to no ghosting around Link and minimal ghosting in edges of screen during some scenes)
What's different
The base PS5 has less memory than the Pro, no mesh shaders, and a GPU the driver doesn't fully recognise, so a lot of this port is custom work you won't find in the other PS5 ports:
- a memory guard and a swap file that pages cold game memory to the SSD
- a GPU-hang fix for lit scenes
- sky/cloud flicker fix
- black-props fix
- console-side profile-guided optimisation, and more
All of it is written up here:
Custom implementations https://github.com/rimidalv333/longshot-oberon#custom-implementations
Manual fixes and tests https://github.com/rimidalv333/longshot-oberon#my-own-manual-fixes-and-tests
- every problem found by testing on the console, its cause and its fix
Also included are PS5 game icons built and placed automatically in the generated dist folder. See https://github.com/rimidalv333/longshot-oberon#addons-mods-and-button-prompts for more info.
How to build
`release.zip` on the Releases page holds the source plus every build tool, prebuilt. You need your own dump of OoT 1.1.1 as a `.nup` and a Linux or WSL2 PC. Then run one command:
bash build.sh /path/to/oot.nup
Nothing is downloaded, nothing is installed, and no game files are included: everything game-related is made from your dump. Copy the result to the console and play. All dependencies are bundled with the release package.
CREDITS: MagicBeanDev and contributors (Longshot), NotRexed (Hookshot), Mihawk-99 (PS5_Hookshot, PS5_Vulkan, PS5_Mesa, PS5_MihawkGen), the PS5 payload SDK devs, pixl27 (ProjectReLink), Sacrappy (HeyListen), and the Eden/suyu teams. The full list is in the README.
Licensed under GPL-3.0, like Longshot and Hookshot. Tested and developed on a PS5 Slim running 13.0.0