- C++ 61%
- Python 30%
- Java 5%
- CMake 2%
- C 2%
- 1 more language <1%
super-mario-android-port #
Android development workspace for an Odyssey-focused native ARM64 port, hosted on Tangled.
Current deliverable: a game-free Phase A capability probe, not a playable game. The probe checks Vulkan features and host memory behavior. It does not load XCI/NSP files, contain Nintendo assets, or implement the Android game runtime/renderer.
A separate Phase B synthetic native-execution harness now builds as a command-line executable. Its portable host and ARM64-emulator checks pass, and all 18 cases passed in one Android CLI hardware run. Repeated hardware tests, in-app execution and a real game loader remain pending.
The Phase C Vulkan prototype provides CLI tests and a separate Android surface/lifecycle test app. Host/phone readbacks and validated application smoke tests pass. Full NVN replay, game shader translation and complete texture/alias support remain incomplete; Phase C is not complete. The latest runtime integration adds the imported GPL Maxwell translator, a supported graphics-record replay path and staged guest-alias handoffs. Authored translated shaders pass host and Android GPU tests; full-game compatibility is not established. An optional official-shaderc runtime compiler port is available when configured with an external target-architecture archive, and passed authored fixtures on Android. See the runtime document for bounded CALL/JUMP, explicit mip/layer alias coverage and separate stress evidence.
Goals and roadmap #
See GOALS.md for Phases A–E, completed work, remaining acceptance gates and the sustained-60-FPS target. Phase A diagnostics work; Phase B has a synthetic foundation only. Native game execution and rendering are not implemented yet.
Layout #
android/: standalone ARM64 probe app, Gradle/CMake sources and detailed build instructions.tools/build_android_probe.py: build, lint and APK alignment verification; no installation.tools/android_phase_a.py: private device-report assessment and pinned source audit.tools/audit_repo.py: source/publication boundary checks, independent of the iOS repo.tests/: synthetic, game-free Android tool tests.native/phase_b/: original synthetic rewriter, memory policy, ARM64 context gates and isolated CLI tests.tools/build_phase_b.py: independent host/Android CLI build; no device execution.tools/verify_phase_b_gate.py: optional differential ARM64 assembly checks under pinned Unicorn.native/phase_c/: original resource/command contract, synthetic GLSL and headless Vulkan tests.tools/build_phase_c.py: external-output host/Android CLI builds and optional host Vulkan checks.tools/compile_phase_c_shaders.py: compile only original synthetic shaders into external build outputs.tools/phase_c_shader_contract.py: restricted synthetic SPIR-V declaration checks, not general shader validation.tools/audit_maxwell_translator.py: fixed-digest, read-only translator dependency review; no upstream execution.third_party/smo-recomp/: selected GPL Maxwell translator sources with retained license/attribution and documented local patches.tools/build_maxwell_fixtures.py: separate integration build of authored machine-code fixtures; generated outputs stay external.docs/MAXWELL_INTEGRATION.md: inspected shader binding plan, import gates and remaining integration work.android/phasec/,tools/build_phase_c_app.py: separate offline synthetic test package; never replaces Phase A.tools/run_phase_c_app_tests.py: explicit authorized test-app deployment, lifecycle checks and private reports.docs/ANDROID_PHASE_A.md: renderer adapter audit and shader-contract decision.
The existing iOS runtime remains in its separate repository. These files were moved
from the local super-mario-odyssey-ios Phase A workspace; no iOS implementation,
game files, downloaded renderer sources, device inventories or build caches were
imported. See provenance and licensing.
Checks #
python3 -m unittest discover -s tests -v
python3 tools/audit_repo.py --worktree
git diff --check
Use python3 tools/audit_repo.py after staging to audit the actual Git index.
Never commit extracted game content, translated game shaders, keys, APKs, signing
files, device inventories or private reports. Keep all generated outputs outside
the checkout. No network/device access is needed for these checks.
Build and try the probe #
-
Install Android SDK Platform 36.1, NDK r28c (
28.2.13676358), CMake 3.22.1, Gradle 9.4.1 and a compatible JDK. See full instructions. -
From this repository root, build into an external private folder:
python3 tools/build_android_probe.py \ --sdk "$ANDROID_HOME" \ --gradle /path/to/gradle-9.4.1/bin/gradle \ --output-dir "$HOME/odyssey-android-private/probe-build" -
Manually install
probe/outputs/apk/debug/probe-debug.apkfrom that output folder. Open Odyssey Phase A Probe and export its JSON only when requested. Do not replace any game app or copy reports into this repository. -
Assess the exported report privately:
python3 tools/android_phase_a.py assess-probe \ --input "$HOME/odyssey-android-private/odyssey-phase-a.json" \ --output "$HOME/odyssey-android-private/assessment.json"Advertised capabilities do not prove rendering correctness or gameplay speed.