Skip to main content

Building SM64EX on Android

I have retired this guide as it no longer works.

In early May 2023, Termux updated the build tool packages available on its repos, and these updated tools cannot compile the 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 old 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 forks of the source code will remain up on 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. I plan to move on to a Steam Deck later this year. I'll likely keep my Retroid Pocket 3+ for low-end, pocket-able emulation, but won't be working on anymore projects on Android.