Super Mario 64 for Android Compiled from Scratch

Now that Super Mario 3D All-Stars is in stores, the fever for the mythical first version of Mario in three dimensions is once again reaching extreme levels. What is considered one of the greats in the history of video games is on everyone’s lips again, and of course, there are those who seek to allow anyone interested to play the game.

Super Mario 64 for Android

Super Mario 64 for Android

Months after the internal files were leaked from a complete extraction of the original game, someone has compiled a version that will allow the game to run natively on Android without the need for any type of emulator. As with the PC version of Super Mario 64, this compilation will work like a charm.

The advantage is that the application will run without problems as if it were any other application for Android, so we will not need any type of emulator or similar tool to run the title. Everything is based on the leaked extraction from a few months ago, so compiling the right version for the platform, Super Mario 64 should run without problems.

And that is just what VDavid003 did , from the XDA-Developers forums, which has created a repository of a version for Android that anyone interested can download and recompile to their liking.

How is it compiled?

Super Mario 64

The process is not easy at all, but its creator has left all the necessary steps to obtain a complete application after executing a series of codes through Termux, an application that will serve to read the files from the repository and compile the final application.

To achieve this you will have to do the following:

  • Install Termux by downloading the application from the Google Play Store.
  • Install the necessary dependencies from Termux with the following command:

pkg install git wget make python getconf zip apksigner clang

  • Clone the repository you need in this case using the git command:

git clone https://github.com/VDavid003/sm64-port-android
cd sm64-port-android

  • Copy the base of the game using Termux. Obviously here you should have your own copy, as it is not provided for legal reasons:

termux-setup-storage
cp /sdcard/rutadeturom/rom.z64 ./rom.copia.z64

  • Get SDL with the following command:

./getSDL.sh

  • Compile the package with the following command:

make –jobs 4

  • You can increase the value of the “jobs” parameter depending on how many CPU cores your terminal can dedicate to the build process.
  • If everything completes correctly, the compilation of Super Mario 64 should be found in the “build” folder:

ls -al build / us_pc / sm64.copia.f3dex2e.apk