Super Mario 64

Native Android port built from the clean-room C decompilation of Super Mario 64. Delivers uncapped 60/120 FPS, widescreen rendering, custom touch overlays, and graphics enhancement mods (Render96).

Status Verified playable Tested on real hardware Game files Your console copy From a disc or cartridge you own
Device Snapdragon 450 or newer / Any 64-bit ARM Android 5+, ARM64 only
Controls Touch + controller A gamepad is optional

What you need

  1. Requires game data from your own unmodified retail US copy of Super Mario 64, supplied as baserom.us.z64 during compilation.

    • baserom.us.z64
    Verify Your Files (Client-Side) 100% In-Browser
    Privacy guarantee: Files never leave your device. File names, headers, and checksums are checked locally in your browser.

    Drag & drop file(s) here or browse from your device

    Matches your files against this port's requirements and calculates SHA-256 hashes.

    File Requirements Checklist (1 required):

    • baserom.us.z64 Pending file

    Copying large folders from PC? A 256GB Dual USB-C Drive plugs straight into your phone over USB-C for faster transfers.

    Affiliate links: DroidPorts may earn a commission. Details

  2. Target hardware: Snapdragon 450 or newer / Any 64-bit ARM or equivalent (64-bit ARM64, Android 5+).

  3. Controls ready out of the box

    On-screen touch controls work immediately. Physical Bluetooth and USB-C controllers work too, so a gamepad is optional if you want real buttons.

    Affiliate links: DroidPorts may earn a commission. Details

Clean-Room Decompilation Architecture & Fast3D Backend

The native Android port of Super Mario 64 originates from the landmark n64decomp/sm64 project, which reconstructed Nintendo EAD’s 1996 MIPS R4300i binary into human-readable, matching C source code. Rather than running inside a Nintendo 64 emulator, sm64-port-android compiles the game’s original object state machines, collision detection math, and audio synthesizer directly into 64-bit aarch64 machine code via the Android NDK (clang) and SDL2.

To replace the N64 Reality Coprocessor (RCP), the port integrates the Fast3D graphics intermediate layer, which translates N64 microcode display lists (F3D / F3DEX) directly into native OpenGL ES 2.0 / 3.0 draw calls. This architecture completely bypasses the 30 FPS console frame-buffer bottleneck and unlocks several major technical branches across the Android ecosystem:

  • Standard sm64ex / sm64-port-android: The clean baseline enhancement branch featuring 60 FPS frame interpolation, native 16:9 and 20:9 widescreen frustum scaling, Puppycam (a modern free-look dual-analog camera that eliminates Lakitu’s fixed angles), and no-exit star collection options.
  • Render96ex Android: Replaces the low-polygon 1996 runtime assets with promotional SGI workstation-era high-polygon character models (including playable Luigi and Wario), HD texture packs (dynos), and extended draw distances.
  • sm64coopdx Android: A networked co-op fork supporting up to 16 players over cross-platform lobbies, Lua gameplay mods, and custom character packs (DynOS).

Building & Asset Extraction Workflow (baserom.us.z64)

Because Super Mario 64 compiles its level geometry, sound banks, and textures directly into segments inside the native shared library (libmain.so) at build time, no pre-built APK containing Nintendo assets can ever be legally distributed. Instead, you compile your own standalone APK using your legally backed-up US retail cartridge (baserom.us.z64, SHA-1: 9bef1128717f958171a4afac3ed78ee2bb4e86ce):

  1. On-Device Builder App or Termux Script: Install either the open-source Android SM64 Builder app from the maintainer’s GitHub releases or use Termux (pkg install git python make clang sdl2) on your phone or handheld.
  2. Verify Your Retail Cartridge Backup: Select your baserom.us.z64 file (big-endian .z64 format). If your backup is in .v64 or .n64 byte order, convert it to .z64 first so the SHA-1 hash matches.
  3. Select Branch & Enhancement Flags: Enable 60FPS interpolation, BETTERCAMERA (Puppycam), NODRAWINGDISTANCE (removes N64 LOD pop-in), and TEXTURE_FIX before starting the build.
  4. Install the Generated APK: Once the NDK compiler finishes linking libmain.so with your extracted assets, Android prompts you to install the self-contained APK. External HD texture packs (.zip) and DynOS model packs can later be placed in /sdcard/Android/data/<package_name>/files/dynos/packs/.

GPU Scaling, Frame Interpolation & Battery Efficiency

Because the base C codebase was engineered for a 93.75 MHz CPU and 4 MB of RDRAM, vanilla sm64-port is one of the lightest 3D games in the DroidPorts catalog:

  • Tier 1 & Tier 2 Hardware (Unisoc T618, Helio G99, Snapdragon 660+): Runs at a locked 60 FPS at native 1080p using less than 1.5 watts of SoC power, delivering 6 to 8 hours of battery life on handhelds like the Retroid Pocket 3+ or Anbernic RG556.
  • Render96 & HD Texture Packs (Tier 3+ Recommended): Loading uncompressed 4K Render96 texture packs and high-poly DynOS models increases RAM usage to 2.5 GB+ and can cause brief texture-upload stutters when entering Peach’s Castle courtyard on devices with slower eMMC storage. Enabling pre-cached textures in the Options > Display menu resolves first-load hitching.
  • Driver Notes: Uses standard OpenGL ES calls; stock Qualcomm Adreno, ARM Mali, and PowerVR drivers work out of the box without custom Mesa Turnip drivers.

Touch Overlay & Physical Controller Configuration

The port ships with a responsive translucent touch overlay (virtual left analog stick plus A, B, L, R, Z, and C-Stick cluster) that automatically hides as soon as a Bluetooth or USB-C gamepad input event is detected. If you enable Puppycam in the in-game Options > Camera menu, bind the right analog stick axes in Options > Controls and set Analog Camera to On for smooth 360-degree camera rotation.

Compatibility

Hardware and drivers

Android version
5 or newer
Architecture
ARM64 only
Recommended chip
Snapdragon 450 or newer / Any 64-bit ARM
Turnip driver
Not needed

Controls and input

On-screen touch
Supported
Bluetooth or USB gamepad
Supported
Gyro aiming
None
Mouse and keyboard
None

Played it on your device? Tell us how it ran and we'll add it.

Report a device test