Super Mario 64

Well, let’s compile! And with a more than interesting objective: to have Super Mario 64 on our mobile without the need to use an emulator and that usually lead to slowdowns and more things.

And if you wonder why we don’t share the APK of the compilation made on our mobile, well, it’s very simple. Nintendo does not allow us to distribute their assets and that they own, so we could have problems. But come on, if you follow the guide below you will be able to have Super Mario 64 as an APK and executable without further ado, let’s get to it!

Ftit affarijiet li wieħed iżomm f'moħħu

Firstly, we always have the option of pulling a Nintendo Switch emulator in order to be able to enjoy that Super Mario 64 and that comes back to life with Super Mario 3D All Stars as a new release from the Japanese company. The fact that we are talking about the possibility of testing Super Mario 64 on our mobile simply comes from there.

And it is that the three 3D All Stars titles have been redesigned in high definition for the Switch, so we will see Super Mario 64 like never before. Of course, pulling an emulator, and see that there are good ones, entails some slowdowns in performance and in “scalability”, so the experience may not be the best.

The fact that we’re talking about being able to compile Super Mario 64 to have it as an APk is due to the efforts made by an XDA user who created the repository with a port of Super Mario 64 for Android using Simple DirectMedia Layer (SDL) with OpenGL ES 2.0.

In other words, it will allow us to clone the repository to our PC with Windows or Linux, prepare the compilation environment, and have the APK ready to install Super Mario 64. But the most important thing is that we will be able to carry out the entire compilation process on our Android mobile. And these are big words.

How to compile Super Mario 64 to play it from an APK

We are going to do everything from our Android mobile, so let’s get to it:

  • We install this app called Termux:


  • Now we are going to pull a few lines of code that you simply copy below and paste them in Termux (it will ask you in the installation to give Yes or No to continue with it. Give Yes):

pkg install git wget make python getconf zip apksigner clang

  • We clone the appropriate repository using git:

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

  • Now what we are going to do is copy the base of the ROM using the Termux app and this is where we have to supply our own copy. That is, we have to change

termux-setup-storage cp /sdcard/directory/to/your/baserom.z64 ./baserom.us.z64

./getSDL.sh

  • And now we start creating the build:

make-jobs 4

Here we make a small paragraph and it is related to the cores that we have in the chip. We have put 4, but we can increase it if we have a processor with 6 or 8 cores

  • Now, if all goes well, the Super Mario 64 APK should be in this folder:

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

In other words, we already have a functional APK of Super Mario 64 compiled from our mobile and that we can use to enjoy one of the best platforms of all time.

Let's talk about "Compile yourself Super Mario 64 on your Android mobile without the need for an emulator" with our community!
Ibda Thread ġdid

Philip Owell

Blogger professjonali, hawn biex iġiblek kontenut ġdid u interessanti kull darba li żżur il-blog tagħna.