'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
Well, I am guessing that there will be no further Updates with the Pastebin Links of the different Builds. From the Page I have........

I'M OUT OF THE COMPILATION BUSINESS. CURRENTLY THERE ARE TOO MANY FORKS WITH TOO MANY FLAGS. IT TAKES WAY TOO MUCH TIME
 
  • Like
Reactions: UltraSUPRA

raxadian

Well-Known Member
Member
Joined
Nov 10, 2018
Messages
4,343
Trophies
1
Age
41
XP
4,524
Country
Argentina
I am hoping for a Updated Vita Version that has a Usable TitleID so VitaCheat/Final Cheat can be used.

You need cheats? The game has so many useful bugs is ridiculous. If you want an easier version just play the DS version as Yoshi, it makes the game a joke and when you need a particular character is very easy to find the right hat.
 

Smoker1

Well-Known Member
Member
Joined
Feb 17, 2015
Messages
5,035
Trophies
1
Location
California
XP
6,028
Country
United States
You need cheats? The game has so many useful bugs is ridiculous. If you want an easier version just play the DS version as Yoshi, it makes the game a joke and when you need a particular character is very easy to find the right hat.
Well, to be used. Want to create a Moonjump Code. Game is easy, but there are times the Wall Jump does not cooperate. LOL.
Thing is, the Dev who does/did VitaCheat/FinalCheat, had no intention on allowing Homebrew to be used with it. Hence, he only made it so Games or Apps that have PCSx##### as the TitleID can be used with it. SM6400001 will not do anything when you hit L+DPad Right
 

raxadian

Well-Known Member
Member
Joined
Nov 10, 2018
Messages
4,343
Trophies
1
Age
41
XP
4,524
Country
Argentina
Well, to be used. Want to create a Moonjump Code. Game is easy, but there are times the Wall Jump does not cooperate. LOL.
Thing is, the Dev who does/did VitaCheat/FinalCheat, had no intention on allowing Homebrew to be used with it. Hence, he only made it so Games or Apps that have PCSx##### as the TitleID can be used with it. SM6400001 will not do anything when you hit L+DPad Right

Again the bugs alone are more than enough.

I guess is technically possible to modify the save files to add cheats if you are so crazy about it but it would take some work.
 
  • Like
Reactions: Smoker1

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,076
Country
United States
Dunno if it's been mentioned, but there's a build by Cholodroid floating around with HD models and the 60 FPS patch. It also apparently has controller support. For anyone who wants to look, it's in a palace. I've tested it for like two minutes on my Redmi Note 6 Pro with no noticeable problems. I'm waiting until I can use a controller to test it further. Also, here's a scan of the APK so people can tell if they have the right one. It's clean, so don't worry about the false positive. It comes from the SDL2 implementation.

https://www.hybrid-analysis.com/sam...84c2a49079d3dd4bba035e9c1fff636090ca85ce6c9f3
 

Smoker1

Well-Known Member
Member
Joined
Feb 17, 2015
Messages
5,035
Trophies
1
Location
California
XP
6,028
Country
United States
Anyone know why a Vita Build would have this Problem......
Normal Older Build = Works perfectly. Has the SM6400001 TitleID, has the Shader Plugin, and works perfectly

Slightly altered Build with the TitleID Changed ONLY (PCSE64001) - Blank Screen, and then has a C1-12828-1 Error.

Any explination for this? Another User ran the Altered one on their Device, and had no problems.

List of Plugins of my Vita -
NoPSMDRM
NoNPDRM
StorageMGR ( 3G Device - 3G Card Slot-ux0 / VitaGameCard-uma0 / VitaMemCard-imc0 )
repatch
nosleep (dont think it works correctly, because Device STILL goes to sleep after 30 Minutes)
VitaCheat
Adrenaline

There are 3 Plugins, but they are all Disabled (GoHANmem, memdump, and rinCheat). Have not used those in Years.
 

Smoker1

Well-Known Member
Member
Joined
Feb 17, 2015
Messages
5,035
Trophies
1
Location
California
XP
6,028
Country
United States
Well, I just tested a Theory. I went to the param.sfo File, and changed the TitleID back to SM6400001, and it is working perfectly. Meaning something is happening when it has a PCSE TitleID, that causes problems, but for some reason, is not a Problem for some. So I am very confused right now.
 

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,076
Country
United States
Well, I just tested a Theory. I went to the param.sfo File, and changed the TitleID back to SM6400001, and it is working perfectly. Meaning something is happening when it has a PCSE TitleID, that causes problems, but for some reason, is not a Problem for some. So I am very confused right now.
Maybe my theory was right, then. Are you running the altered build after running the unaltered one? This sounds like a conflict with file paths.
 

Smoker1

Well-Known Member
Member
Joined
Feb 17, 2015
Messages
5,035
Trophies
1
Location
California
XP
6,028
Country
United States
Maybe my theory was right, then. Are you running the altered build after running the unaltered one? This sounds like a conflict with file paths.
When I tried the Altered one, I had already Deleted any reference to the Unaltered one. Uninstalled the Game, Deleted Save, you name it.
 

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,076
Country
United States
When I tried the Altered one, I had already Deleted any reference to the Unaltered one. Uninstalled the Game, Deleted Save, you name it.
Does it create any sort of save data you might have missed? I mean, if someone else has been able to run the same build without issue, but you can't, it stands to reason that some sort of conflict was created between your runs. It'd be nice to know if this other person ran the unaltered build prior just as you did so we could further pinpoint the issue.
 

Smoker1

Well-Known Member
Member
Joined
Feb 17, 2015
Messages
5,035
Trophies
1
Location
California
XP
6,028
Country
United States
Does it create any sort of save data you might have missed? I mean, if someone else has been able to run the same build without issue, but you can't, it stands to reason that some sort of conflict was created between your runs. It'd be nice to know if this other person ran the unaltered build prior just as you did so we could further pinpoint the issue.
Yeah, it created a Save Data Folder as it was intended in a PCSE Folder. But the fact that it is a Save Error is confusing.
 

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,076
Country
United States
Yeah, it created a Save Data Folder as it was intended in a PCSE Folder. But the fact that it is a Save Error is confusing.
Is there something created on the flash memory pertaining to it? Like, I hardly know anything about the Vita, but I get the feeling that the fact that you executed the unaltered build created a conflict somewhere. Also, you listed off all of your active plugins, but have you disabled all of them in order to see if they may be the problem?
 

Smoker1

Well-Known Member
Member
Joined
Feb 17, 2015
Messages
5,035
Trophies
1
Location
California
XP
6,028
Country
United States
Is there something created on the flash memory pertaining to it? Like, I hardly know anything about the Vita, but I get the feeling that the fact that you executed the unaltered build created a conflict somewhere. Also, you listed off all of your active plugins, but have you disabled all of them in order to see if they may be the problem?
Well, the User did mention he never used the VitaCheat Plugin, so I am guessing that MIGHT be the Issue, but I do not know how.
 

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,076
Country
United States
Well, the User did mention he never used the VitaCheat Plugin, so I am guessing that MIGHT be the Issue, but I do not know how.
Well, if you have the time, start fresh. This might have to be a day project, but start over fresh with the bare basics that are only necessary to run SM64. Of course create a backup that will make restoring your setup trivial. I say this because unless you plan to actually clean your flash and manually remove individual files, it's better to start fresh with a backup that isn't detrimental to restore. This means don't make a backup with the cheat plugin.
 
Last edited by Joom,

Smoker1

Well-Known Member
Member
Joined
Feb 17, 2015
Messages
5,035
Trophies
1
Location
California
XP
6,028
Country
United States
Well, if you have the time, start fresh. This might have to be a day project, but start over fresh with the bare basics that are only necessary to run SM64. Of course create a backup that will make restoring your setup trivial. I say this because unless you plan to actually clean your flash and manually remove individual files, it's better to start fresh with a backup that isn't detrimental.
Going to be a Day or 2, but going to look at another Vita to see if it works.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Purple_Heart @ Purple_Heart: i never cared about a dbz game after BT3. finally we get Sparking Zero..or better BT4