Skip to main content

Building SM64EX on Android

I have retired this guide as it no longer worksworks.

thanks to updates in

In early May 20232023, toTermux updates the build tool packages available on its repos, and these updated tools hostedcannot incompile Termux'sthe repos.source as it currently is. Unlike other debian-based or debian-like repos, Termux doesn't keep old versions of its packages, so downgrading them is not simple. I tried manually installing old packages, tried compiling the packagesold tools from source, etc, but could not get them working. In addition to that, I don't have enough experience with Clang to update the source code myself to fix the issues that make the code incompatible with the updated tools.

If you want to view the old guide, you can do so here.

My forkforks of the source code will remain up on github if you want to mess with it:

Github:
https://github.com/Samutz/sm64-port-android
https://github.com/Samutz/sm64-port-android-base

If you have a PC, you can attempt to build your APK on it instead of on Android. I won't be doing an in-depth guide for it like I did for building on Android. But there are loose instructions in the sm64-port-android-base repo's Readme.md. I've been able to continue to build using the Docker method on WSL. Docker on normal Linux should work as well. I have no idea if the Docker-less Windows or Linux instructions work. Those were copied over from VDavid003's repo when I forked it. I have only updated the repo URLs and the Docker section.

To be honest, I don't have the motivation to continue working on SM64 stuff. It's just one game that I don't play that often. I've also been getting increasingly frustrated with Android's limitations, such as scoped storage and root access being something you have to "hack" instead of just being standard. I plan to move on to a Steam Deck later this year. I'll likely keep my Retroid Pocket 3+ for low-end emulation, but won't be working on anymore projects on Android.