'Super Mario 64' is now natively playable on Android without an emulator

Super_Mario_64_Android_GBAtemp.png
The Super Mario Bros. franchise recently celebrated its 35th anniversary, which was accompanied by a series of game announcements to a new Game & Watch console. While Super Mario 64 was announced for the Switch as part of the celebration, how about playing the game on your Android device? And no, not on an emulator with performance and scalability but natively?

This is now possible thanks to the work of XDA Member VDavid003. With the effort done on rewriting the source code in the programming language C, Super Mario 64 has been ported to Android (and also as a WIP on Dreamcast). VDavid003 has created a GitHub repo that you can use to compile an APK version of the game on your PC or directly on your Android device. For it to work, you must provide your own copy of Super Mario 64. You can follow handy how-to guide from XDA developers in the source link or in the spoiler below:

  1. Get Termux app from Google Play Store.
  2. Install required dependencies inside Termux:
    Code:
    pkg install git wget make python getconf zip apksigner clang
  3. Clone appropriate repository with git:
    Code:
    git clone https://github.com/VDavid003/sm64-port-android
    cd sm64-port-android
  4. Copy the game's baserom with Termux. You must provide your own copy of the game.
    Code:
    termux-setup-storage
    cp /sdcard/path/to/your/baserom.z64 ./baserom.us.z64
  5. Get SDL includes:
    Code:
    ./getSDL.sh
  6. Start the build:
    Code:
    make --jobs 4
    You can increase the value of the “jobs” parameter depending on how many CPU cores you can devote to the building process.
  7. If things go well, the resulting Super Mario 64 APK should be found inside the “build” folder:
    Code:
    ls -al build/us_pc/sm64.us.f3dex2e.apk

:arrow: SOURCE
:arrow: GitHub Repo
 

Smoker1

Well-Known Member
Member
Joined
Feb 17, 2015
Messages
5,035
Trophies
1
Location
California
XP
6,028
Country
United States
Trial and error is the unspoken mantra of homebrew. Just keep that in mind and consider all possibilities.
Yeah, I thought the TitleID of PCSE64001 would be too much for it (too high a Number), so I changed it to PCSA00064 (for Table Ice Hockey which I do not have), but it still through a Error at me.
 

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,076
Country
United States
Yeah, I thought the TitleID of PCSE64001 would be too much for it (too high a Number), so I changed it to PCSA00064 (for Table Ice Hockey which I do not have), but it still through a Error at me.
Yeah, that just sounds more like a path conflict. There's some kind of artifact left over from the original install.
 
  • Like
Reactions: Smoker1

Kaioh

Member
Newcomer
Joined
Aug 4, 2016
Messages
16
Trophies
0
Age
33
XP
106
Country
United States
So the obvious question: Is there really any key-advantages to being able to run Mario 64 natively on Android vs. running it through an emulator?
 

Axido

Maker of TRASLApp
Member
Joined
Feb 12, 2014
Messages
1,300
Trophies
2
Age
32
XP
4,281
Country
Germany
So the obvious question: Is there really any key-advantages to being able to run Mario 64 natively on Android vs. running it through an emulator?

Apart from the extra minutes of battery time running it natively will give you the port is also easier to mod and enhance.
 
Last edited by Axido,

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
So the obvious question: Is there really any key-advantages to being able to run Mario 64 natively on Android vs. running it through an emulator?
Easier control manipulation, camera manipulation, higher resolution if not now then in the very near, likely draw distance tweaks, speed tweaks, more levels... basically all the same things as the PC, just maybe not to as ridiculous a degree and might take a while (or take some effort) to port across.
 

Kaioh

Member
Newcomer
Joined
Aug 4, 2016
Messages
16
Trophies
0
Age
33
XP
106
Country
United States
Easier control manipulation, camera manipulation, higher resolution if not now then in the very near, likely draw distance tweaks, speed tweaks, more levels... basically all the same things as the PC, just maybe not to as ridiculous a degree and might take a while (or take some effort) to port across.

Yeah those are noteworthy changes for sure. I hope people start making Mario 64 rom-hacks based on this then vs. a Mario 64 rom.
 

Winnppl

Active Member
Newcomer
Joined
May 4, 2020
Messages
44
Trophies
0
Age
34
XP
195
Country
United States
I know the instructions provided by github and this thread are easy enough to follow, but I made a video tutorial last night on how to do it as well. This should be helpful to people who need to see it before attempting it.


I’m following your guide and all worked up until building the .apk, then I get this error
 

Attachments

  • image.jpg
    image.jpg
    1.7 MB · Views: 139

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=uLN9qrJ8ESs