Skip to content

Releases

OoT Native v0.2.0-beta.2 (M4 Second-Screen Companion Beta)

Choose a tag to compare

@P1R4N351 P1R4N351 released this 21 Nov 20:07

Second beta pre-release of OoT Native (io.github.p1r4n351.oot) for The Legend of Zelda: Ocarina of Time — Nintendo Switch 2 Edition (0400486024DEC000, v131072 / 2.0.0), adding the full M4 Dual-Screen Companion HUD, 3D Breadcrumb Radar, and Interactive Ocarina Sequencer.

Read this first

  • Early tester beta — not a finished release. Expect rough edges, slow first-run shader pipeline compilation if no warm cache is present, and ~15 fps in Kokiri Forest pending vka_memu / ir3 GPU profiling (#2).
  • No Nintendo assets, game files, keys, firmware, shaders, or saves are included. You must supply your own legally obtained Switch 2 .nup dump of 0400486024DEC000 (v131072).
  • On-device pack preparation is not bundled yet (NX_PACK_ENGINE=fake, #6). Packs and the dmsh_vk.lib SPIR-V shader library (42,843 shaders) must be built on a PC with scripts/pack_android.py and copied to storage before launching.
  • Target hardware & verification scope: Built and verified for arm64-v8a Android 13+ (tested hardware target: 16 GB AYN Thor QCS8550 / Adreno 740 with Mesa Turnip driver.id=18). Host C11 ASan/UBSan tests, pure-JDK tests, NDK CMake compilation, and aapt2 / apksigner / zipalign / llvm-readelf / dexdump binary checks all passed on this release APK (50ead06356f6); live on-device AYN Thor Display 4 rendering and physical Ocarina button injection checks remain open (#7, #4).

What's new in v0.2.0-beta.2 (M4)

  • Display 4 Presentation & Single-Screen Drawer (OotCompanionController, OotCompanionPresentation, SidePanel):
    • Attaches automatically to AYN Thor Display 4 (or secondary FLAG_PRESENTATION display) with FLAG_NOT_FOCUSABLE | FLAG_KEEP_SCREEN_ON so bottom-screen touch input never steals gamepad focus from Display 0.
    • Adds an opt-in Companion Drawer (40% width slide-out overlay) in SidePanel for single-screen phones and tablets, plus a 1 px 60 s AMOLED burn-in protection orbit.
  • Zero-Asset Obsidian/Emerald/Brass Companion HUD (OotCompanionView + OotCompanionModel):
    • Radar tab: Real-time 128-point 3D breadcrumb trail (companion_trail.h) with -1 / 0 / +1 floor elevation bands relative to Link, zoom toggle (500–4000 u), North-Up / Heading-Up SO(2) camera projection, and up to 8 session waypoint pins.
    • Gear tab: Full Switch 2 equipment inventory, 5 bottle slots (OOT-19, 12 content states), wallet capacity (OOT-10), ammo & seed/bomb-bag/quiver capacities (OOT-11..16), and C-button item IDs (OOT-20).
    • Altar tab: Spiritual Stones, Medallions, Skulltula tokens, Small Keys across 8 dungeon slots (OOT-18), and Quest status items.
    • Ocarina tab: All 12 teleport/quest songs in an interactive songbook plus a 5-note (D4 F4 A4 B4 D5) tactile pad supporting both Switch 2 Normal (L R A Y X) and Classic (R B A Y X) button mappings (companion_seq.h).
  • Fail-Closed Host Ocarina Sequencer (oot_companion.c, input_android.c, nxlaunch.c):
    • Injects virtual gamepad buttons through nxhost_companion_buttons_set with automatic abort if the game enters loading/transition, onPause, or controller-support applet overlay.
  • Clean-room MIT Engine Reuse (P1R4N351/nx-second-screen v0.2.0):

Files & Signing Certificate

Item Value
OoT-Native-0.2.0-beta.2.apk 9,084,388 bytes, SHA-256 31544f661af2a404e6e58e33bb02259f1c98edb99c33db547111d5bd5043ea28
OoT-Native-0.2.0-beta.2.apk.sha256 sha256sum -c verification file
Package ID / Version Code / ABI io.github.p1r4n351.oot, versionCode=3, arm64-v8a, Android 13+ (API 33+, target API 35)
Signing Certificate DN CN=OoT Native (P1R4N351) (RSA 4096, v2 verified)
Signing Certificate SHA-256 CA:F4:E0:B0:2E:F0:BE:3C:53:0E:D7:61:04:6C:B2:BF:57:B2:DA:72:88:0B:A4:EA:AA:15:E5:91:D8:19:D9:5F (caf4e0b02ef0be3c530ed761046cb2bf57b2da72880ba4eaaa15e591d819d95f)
Source Tag / Commit v0.2.0-beta.2 (50ead06356f62b5570db8039213c607e5f5547e9)

License, Support & Legal

  • License: Because this APK bundles GPL-3.0-or-later components (vka_memu.c, lsfg, oot_companion_tap.h, and companion/host glue), the compiled APK is distributed as a whole under GPL-3.0-or-later, with complete corresponding source published in P1R4N351/oot-android at tag v0.2.0-beta.2. Clean-room second-screen math, sequencer, UI, and Bifrost modules remain MIT.
  • Support: Bitcoin bc1q4a3lqcg87rvw7vxulausdqhhuwkwwa6w6v4mxx · VitaDB PiSCES
  • Legal: Independent non-commercial interoperability research project; not affiliated with Nintendo, Banana Native, MacNativeGames, or Eden Duo.

OoT Native v0.2.0-beta.1 (Beta Pre-release)

Choose a tag to compare

@P1R4N351 P1R4N351 released this 19 Nov 13:15

First experimental beta pre-release of OoT Native (io.github.p1r4n351.oot) for The Legend of Zelda: Ocarina of Time — Nintendo Switch 2 Edition (0400486024DEC000, v131072 / 2.0.0). This is an early developer/tester beta, not a finished end-user release.

Read this first

  • No game files, keys, firmware, shaders, or saves are included. You must supply your own legally obtained Switch 2 .nup dump of 0400486024DEC000 (v131072).
  • On-device pack preparation is not bundled yet (NX_PACK_ENGINE=fake). Packs and the dmsh_vk.lib SPIR-V shader library (42,843 shaders) must be built on a PC with scripts/pack_android.py and copied to the device via adb / storage before launching.
  • Tested on one hardware target only: a 16 GB AYN Thor (QCS8550 / Adreno 740, Android 13 SDK 33) with a bundled Mesa Turnip 27.0-devel AdrenoTools driver (driver.id=18). Expect rough edges, slow cold pipeline compilation on hardware without a warm cache, and ~15 fps in Kokiri Forest pending vka_memu / ir3 GPU optimization (#2).
  • Release-build verification note: This exact release-signed, non-debuggable APK (-PnxLive=true, v0.2.0-beta.1) has not yet been run directly on a device. Its gameplay/runtime fixes ran live on the immediately preceding debuggable dev build (a5fc6b359894), and M3 changes (companion_state.h, oot_companion.c, BifrostLooks, launcher art, and release overrides) were verified via host C (-Wall -Wextra -Werror), JVM (-Xlint:all -Werror), and Python unit suites plus aapt2 / apksigner checks on this binary.

What is in this beta

  • Switch 2 OoT bring-up & A/V pacing (M2c):
    • Android 13 SDK 33 VK_KHR_map_memory2 -> Vulkan 1.4.363 core vkMapMemory2 + driver.id=18 Turnip UBWC placed-map fix (25,246 / 65,530 VMAs = 38.5% after 22.4 min / 26,109 continuous frames, 0 crashes, 267,000 audren frames with 0 underruns).
    • Warm 206 ms pipeline reload over cached Turnip pipelines (2,916 graphics + 401 compute), 60.0–60.2 fps title, dm_codec_video_playing() 60 fps AV1 movie lock (c2.qti.av1.decoder), FSTEP_GPU_SLOW_MAX 4.0, and Turnip driver.id=18 defaults (hold60=on, skip_layers=on, DM_OOT_FPS_UNLOCK=1 yielding 1.000x synced audio at 15 fps in Kokiri Forest).
  • Companion waist (M3, MIT interface):
    • companion_state.h (COMPANION_STATE_*, COMPANION_PAGE_OCARINA = 4) + oot_companion.c (20 Hz CLOCK_MONOTONIC reader over plat_mem_read, main+0x4BE4FB0 pause-screen canvas 3-frame hold via oot_wide.c, playing_ocarina -> page 4, DM_COMPANION=0, JNI Native.companionState / companionSetPage).
  • AYN Thor Bifrost stick-LED bridge & settings (M3):
    • Background BifrostBridge / BifrostLooks (kokiri-emerald base, pause-subscreen, ocarina-play, low-hearts hysteresis + damage burstWallMs, 3/s display cap, classic fallback, stop() clear) + localized Stick LEDs (Bifrost) toggle in Game settings (DM_BIFROST=0/2) and <queries> visibility for com.moonbench.bifrost.
  • Standalone app identity (M3):
    • Package io.github.p1r4n351.oot, app label OoT Native, original procedural emerald-and-brass vector launcher icon & 320x180 banner (scripts/make_oot_launcher_art.py), controller-first Home focus (PadFocus.hasGamepad()), and in-app updater / wiki links pointed at P1R4N351/oot-android.

What's Next

Tracked in MILESTONES.md and open issues:

  1. On-device smoke test of v0.2.0-beta.1 (#5, #3, #4) — release-signed APK launch, updater/wiki/focus, live oot_companion + BifrostBridge stick LEDs, 0x4BE4FB0 vs UI_IsOpen* pause check, and Ocarina IsOunceVibrationDeviceMounted.
  2. Kokiri Forest GPU profiling (15 fps -> 30+ fps) & shader/VMA hardening (#2, #3) — Adreno 740 / Turnip driver.id=18 profiling (vka_memu, ir3 spills, scene_res / skip_layers / Lichii post-tonemap bypass), vulkan-sdk-1.4.363.0 validation for the 5 point-mesh shaders, and multi-area VMA soak.
  3. Bundle real on-device Prepare (-PnxPackEngine=real) for v0.2.0-beta.2 (#6) — ship the android/ondevice/build.sh native packer stage so players do not need a PC to prepare their .nup.
  4. M4 — Second-Screen Companion on Display 4 (#7, #4) — 1240×1080 Presentation pages (RomFS Rodin NTLG Bold decode, maps, items/bottles, Spiritual Stones / Medallions / Skulltulas, Ocarina Songbook on page 4) with C-button writes gated behind verified OOT-20 / OOT-29 checks.

Files & Signing Certificate

Item Value
OoT-Native-0.2.0-beta.1.apk 9,000,088 bytes, SHA-256 9758a38bbf9e41cea4af6e35e3db1749f7be40c27f0de21168d5d6dee7564dd8
OoT-Native-0.2.0-beta.1.apk.sha256 sha256sum -c verification file
Package ID / ABI / Min SDK io.github.p1r4n351.oot, arm64-v8a, Android 13+ (API 33+)
Signing Certificate DN CN=OoT Native (P1R4N351) (RSA 4096)
Signing Certificate SHA-256 CA:F4:E0:B0:2E:F0:BE:3C:53:0E:D7:61:04:6C:B2:BF:57:B2:DA:72:88:0B:A4:EA:AA:15:E5:91:D8:19:D9:5F (caf4e0b02ef0be3c530ed761046cb2bf57b2da72880ba4eaaa15e591d819d95f)
Source Tag / Commit v0.2.0-beta.1 (bba4b0a7207436af864d4c0bdf4bcb27816f3e3a)

License, Support & Legal

  • License: Because this APK bundles GPL-3.0-or-later components (vka_memu.c, lsfg, and companion/host glue), the compiled APK is distributed as a whole under GPL-3.0-or-later, with complete corresponding source published in P1R4N351/oot-android at tag v0.2.0-beta.1. Port-authored companion waist, Bifrost, and artwork generators remain MIT.
  • Support: Bitcoin bc1q4a3lqcg87rvw7vxulausdqhhuwkwwa6w6v4mxx · VitaDB PiSCES
  • Legal: Independent non-commercial interoperability research project; not affiliated with Nintendo, Banana Native, MacNativeGames, or Eden Duo.