Key information

The Nintendo 64 classic Super Mario 64 has been ported to the Microsoft Zune HD, a 2009-era media player. This project runs natively on the device's Nvidia Tegra hardware using the unofficial OpenZDK kit and is based on sm64ex, a fork of the decompiled PC version of the game.

The port utilizes an OpenGL ES 2 renderer derived from Fast3D. Because the Zune's graphics driver cannot compile OpenGL Shading Language shaders, the developer implemented workarounds using Nvidia's cgc and shaderfix tools. Additionally, blending is compiled directly into fragment shaders due to the lack of fixed-function blending hardware.

Performance is generally stable, with the game logic running at 30 ticks per second, though some lag occurs when the hardware struggles to keep up. Audio synthesis operates on a separate, higher-priority thread to ensure sound quality remains unaffected by frame rate fluctuations. Players interact with the game via a touchscreen overlay featuring a virtual analog stick and standard button inputs.

To run the port, users must provide their own ROM dumped from a cartridge, as none is included. The build process requires Docker on Linux and has been tested specifically on firmware 4.5. While the project demonstrates the Zune HD's potential, the developer notes it should be used at one's own risk.

Read the original source for further details.