You can get Super Mario 64 to run on your Android phone without an emulator. Here’s how.

Super Mario 3D All-Stars is out now for you to enjoy Super Mario 64 on your Nintendo Switch. But if you don’t have a Nintendo Switch, you can still enjoy Mario 64 on the go. Emulators will let you play the game if you’re willing to futz with ROMs, but if not, we’ve got a way of getting the game to run natively on Android.

The Nintendo gigaleak from earlier this year gave us a wealth of insider Nintendo info, including a full ROM for Super Mario 64. Since then, folks have been working to convert that ROM to its equivalent in C coding language. This means that any device that can compile C can create an executable to play Mario 64. And of course, Android can do that just fine.

XDA member VDavid003 even made a repository of a ready-to-compile Super Mario 64 port for Android.

RELATED: Super Mario 3D All-Stars Players Have Found Something Strange in Super Mario Sunshine

You can either clone the files to PC to prepare your build and then transfer the APK to your Android device, or you can even compile it directly on Android. Details are on XDA, and although they require a bit more knowledge than your average user, it's still totally doable for anyone that knows a bit of programming.

Mario 64
via XDA

ResetEra user Jeff ChickenDig said it took him about 20 minutes to get Mario 64 to work on his phone. The game comes with standard touchscreen controls replacing the N64 controller, and it works with Bluetooth. Jeff even used a PS4 controller for extra heresy.

Thanks to the gigaleak, we now know there was a ton of cut content from Mario 64, including mini-maps, a trampoline, and even Luigi. The idea was to include a multiplayer game mode for Mario 64 where the other player could control Luigi, but that was eventually scrapped when it became unfeasible.

Source: ResertEra, XDA

NEXT: Here Are All Of The Studios And Games Microsoft Now Owns