Install the required dependencies inside the Termux environment: pkg install git wget make python getconf zip apksigner clang.If command line voodoo is your thing, then follow these steps to configure the build environment in Android and compile the classic Nintendo platformer from scratch: You must provide your own copy of Super Mario 64 for the following process to work.
DISCLAIMER: XDA does not condone pirating games.