'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
 

armaldodo

Well-Known Member
Newcomer
Joined
May 15, 2020
Messages
57
Trophies
0
Age
30
XP
405
Country
Peru
I am disappointed the Dreamcast port lacks sound.

Then again is quite possible to run the PS1 port on a Dreamcast using a PS1 emulator.



The source code wasn't leaked it was fully decoded after a lot of work.

This means that you can play a particular 3DS game on the Wii u if is also decoded?
 
  • Like
Reactions: Julie_Pilgrim

raxadian

Well-Known Member
Member
Joined
Nov 10, 2018
Messages
4,632
Trophies
1
Age
41
XP
4,877
Country
Argentina
This means that you can play a particular 3DS game on the Wii u if is also decoded?

While the Wii U is technically powerful enough to run 3DS games, if they were fully ported to the system instead of emulated, that would need a lot more work since the 3DS use two screens, a stylus and sometimes the 3DS microphone. Not to mention 3DS games are much much much much bigger than Nintendo 64 games so decompiling then would take way longer.

Super Mario 64 meanwhile is one of the earliest 3D CGI games that was made in the past century. Even so it took years to fully decompile.

But I wish to play Mario 64 star road natively on the Wii u, can it be release it with this code also?

That's not gonna happen because the Wii U is more than powerful enough to emulate N64 games decently and the whole code of that hack would have to be decoded and then ported to the Wii U.
 
Last edited by raxadian,

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,467
Trophies
3
XP
29,282
Country
United States
20200921_014351_HDR.jpg


playing right now, look how many lives I have in new super mario bros wii. I'm trying to break 80 by the end of the next world (world 6). I don't go to every stage, just the ones that lead me quickest to the bosses. most lives are from getting to the top of the flagpole.
 

MohammedQ8

Well-Known Member
Member
Joined
Jul 4, 2018
Messages
1,036
Trophies
0
Age
35
XP
3,208
Country
Kuwait
It can only convert mario 64 to android app or any n64 rom?

--------------------- MERGED ---------------------------

Would to see every main Pokemon game run on ios and android. These games should live forever.
 

raxadian

Well-Known Member
Member
Joined
Nov 10, 2018
Messages
4,632
Trophies
1
Age
41
XP
4,877
Country
Argentina
It can only convert mario 64 to android app or any n64 rom?

Just Super Mario 64 since is the only N64 rom to be fully decompiled... so far.

The Legend of Zelda: Ocarina of Time is being decompiled, so next year we will have a lot of ports of that game... or maybe in 2022 since the game is much bigger than the Mario one.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,467
Trophies
3
XP
29,282
Country
United States
love ocarina of time. I beat the 3ds version and I don't beat a lot of games I pirate. I did buy the game, but once a hack was out I sold all of my 3ds collection. I'm currently selling my switch games (have around 20), since health reasons made me buy the digital counterpart. is Hyrule Warriors out of print? cuz my game (used obviously) is now going for more than a new copy.
 
  • Like
Reactions: Julie_Pilgrim

fvig2001

Well-Known Member
Member
Joined
Aug 21, 2006
Messages
962
Trophies
1
XP
3,130
Country
Philippines
Anyone already compile it on Termux? I don't want to end up trying it and it not working. I hope this can be played purely on a keyboard.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: BigOnYa's right y'know.