'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
 

Tom Bombadildo

Dick, With Balls
Member
Joined
Jul 11, 2009
Messages
14,575
Trophies
2
Age
29
Location
I forgot
Website
POCKET.LIKEITS
XP
19,214
Country
United States
Compiled it after seeing the news post on XDA, ran pretty well on my S8. I probably wouldn't play it with touch controls, but otherwise the port is nice if a bit basic.

Can't wait for SM64 to become the new Doom, I wanna play SM64 on my future toaster!
 
D

Deleted User

Guest
Installing Mario 64 on anything is to much of a drag and not worth it.
Till it's simple to do it (click install) i wont install it.

every port i have are one click away to run on each device, you live in a cave? go out and breath some year 2020 Air

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

Why this game is so hyped?? I really do t understand what’s the big deal about it.

- its the 35th anniversary for its release
- its the first real fully 3D game of its kind, every 3D Platformer that came after copied it
- its Mario?
- 3D All Stars have a Vanilla Mario 64 Port with sluggish camera and controls
- Community Port looks and plays up to new Generation 3D Games Standards, complete with Visual Upgrades

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

Wondering when the PC Ex Build will be on the Pastebin.

Also, wish the Vita Build had a TitleID that would work with VitaCheat ( PCSx##### instead of SM6400001 ).

i have it, problem there are too many Mods, so i made 6 Versions, still cant decide which one i want to keep

you can compile it yourself with 1 click

all you need is sm64pcBuilder2 from this website https://sm64pc.info/
and the Rom [Google: Mario 64 rom] click first link you see

the builder will show you links to download prerequisites
you can have your PC game in 10 minutes after compile
 
Last edited by ,
  • Like
Reactions: Henx and Smoker1

NumberXIIIEdwin

Jack In! MegaMan, Execute!!
Member
Joined
Aug 12, 2010
Messages
286
Trophies
1
Age
27
Location
Pherae
XP
2,736
Country
United States
"Also coming soon to Etch A Sketch, Motorola pagers, and your Samsung smart refridgerator"

Truly, it is becoming the new Doom/Skyrim being ported to every console imaginable
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
People should stop spreading misinformation about that SM64 ports are possible because of the Gigaleaks. Any port will NEVER use the leaked sources because that would be ilegal, the code used for any port was fully decompiled way before the leaks and a lot of work was involved doing that.
People should stop spreading such notions because they are factually incorrect.

Plenty of leaked code has been used to make ports and do fun things. Makes it harder to distribute but not like the internet has not had anonymous and takedown resistant methods of data transfer for decades now. Catching a programmer admitting to it is a bit like asking people if they touch themselves at night in the sorts of ratios of "no, I would rather cut my hand off" to actual reality but... actually that analogy fits pretty well.

Equally just because something is decompiled does not make it legit to use. Assuming it is not cleanroom reverse engineered (and this was anything but that) and you can still find yourself landed with a nice cease and desist, or copyright lawsuit, all the same.

My bigger concern would be if people assume "oh it is just leaked code" they might miss out on what decompilation is able to do these days (it is still high end programmer fare, even without the possibility of inline assembly, and the sort of thing we see phds written on but... able to achieve something for C in way more than hello world and here are a few functions with stdlib that it was but a few years earlier, and getting better with no real end in sight right now).
 

LDAsh

Well-Known Member
Newcomer
Joined
Jan 18, 2007
Messages
91
Trophies
1
XP
344
Country
I managed to build the PC version and, while the framerate and responsiveness was lovely indeed - the lack of display and control options didn't make it worthwhile, in my opinion. I just deleted it and will stick with emulators.

As for Android port (compiled on PC), well, I got stuck on configuring Java and the SDK and other dependencies. Console told me to edit a file that did not exist, and I ran out of patience and reached the conclusion that I'd probably have the same impression of it on Android as I did on PC. So, I just deleted everything...

Maybe one day when (if) the project has those display and control options baked in, I'll try again.
 

Kwyjor

Well-Known Member
Member
Joined
May 23, 2018
Messages
4,323
Trophies
1
XP
4,451
Country
Canada
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.
It might be bigger in terms of the size of the game, but OoT reuses a lot of code from Mario 64 and I wouldn't be surprised if there are further developments sooner than 2022.

Why this game is so hyped?? I really do t understand what’s the big deal about it.
- its the 35th anniversary for its release
- its the first real fully 3D game of its kind, every 3D Platformer that came after copied it
- its Mario?
- 3D All Stars have a Vanilla Mario 64 Port with sluggish camera and controls
- Community Port looks and plays up to new Generation 3D Games Standards, complete with Visual Upgrades
But in the end it's still the same game with the same levels that people have been playing for almost 25 years already via emulation or otherwise. I agree, there is too much hype.
 

raxadian

Well-Known Member
Member
Joined
Nov 10, 2018
Messages
4,343
Trophies
1
Age
41
XP
4,524
Country
Argentina
It might be bigger in terms of the size of the game, but OoT reuses a lot of code from Mario 64 and I wouldn't be surprised if there are further developments sooner than 2022.

While the tools to do this kind of tedious tasks have improved, it still requires going every line of code to fix bugs, then playtest then fix more bugs.

It technically could be done by the end of next year, but it depends on how muxh time for the job they have avaliable.
 

HideoKojima

Well-Known Member
Member
Joined
Jan 17, 2018
Messages
1,107
Trophies
0
Age
27
XP
2,221
Country
United States
Good job, yet I'll pass while it can be safe, installing APKs is risky.. I mean even some apps on google play have viruses..
 

wurstpistole

GBAtemp MVP
Member
Joined
Nov 19, 2015
Messages
4,654
Trophies
1
XP
5,410
Country
United Kingdom
View attachment 225650

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.
Are you lost?
 
  • Like
Reactions: Kwyjor and Kioku

tommasi

Well-Known Member
Member
Joined
Jul 11, 2006
Messages
148
Trophies
1
XP
2,094
Country
Canada
every port i have are one click away to run on each device, you live in a cave? go out and breath some year 2020 Air

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



- its the 35th anniversary for its release
- its the first real fully 3D game of its kind, every 3D Platformer that came after copied it
- its Mario?
- 3D All Stars have a Vanilla Mario 64 Port with sluggish camera and controls
- Community Port looks and plays up to new Generation 3D Games Standards, complete with Visual Upgrades

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



i have it, problem there are too many Mods, so i made 6 Versions, still cant decide which one i want to keep

you can compile it yourself with 1 click

all you need is sm64pcBuilder2 from this website https://sm64pc.info/
and the Rom [Google: Mario 64 rom] click first link you see

the builder will show you links to download prerequisites
you can have your PC game in 10 minutes after compile

Who cares! People are stuck in the past. Crash was way better game than this garbage.
I enjoyed playing “Penguin Adventure“ more than playing Mario 64
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Sonic Angel Knight @ Sonic Angel Knight: :ninja: