1. 18,633

    172
    Front-page
    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
     
  2. Discussion (172 replies)

  3. Silent_Gunner

    Silent_Gunner Lost Wanderer Who Sees No Evil
    Member

    Joined:
    Feb 16, 2017
    Messages:
    1,936
    Country:
    United States
    Watch Super Mario 64 get ported to ATMs, printers, and old calculators like Doom has! XD
     
  4. godreborn

    godreborn Retired
    Member

    Joined:
    Oct 10, 2009
    Messages:
    12,105
    Country:
    United States
    speaking of which, loving 3d all stars. I currently have 17 stars in mario 64, 16 in sunshine (got stuck in a stage not knowing what to do), and like 30-something in galaxy.
     
    Wavy, sup3rgh0st, Payne and 13 others like this.
  5. armaldodo

    armaldodo Member
    Newcomer

    Joined:
    May 15, 2020
    Messages:
    23
    Country:
    Peru
    Is this the Mario 64 PC port for android?
     
  6. godreborn

    godreborn Retired
    Member

    Joined:
    Oct 10, 2009
    Messages:
    12,105
    Country:
    United States
    most likely. the source code was leaked I believe, which is why it's popping up everywhere.
     
    Scott_pilgrim and slaphappygamer like this.
  7. raxadian

    raxadian GBAtemp Advanced Maniac
    Member

    Joined:
    Nov 10, 2018
    Messages:
    1,745
    Country:
    Argentina
    I am disappointed the Dreamcast port lacks sound.

    The source code wasn't leaked it was fully decoded after a lot of work.
     
    Last edited by raxadian, Sep 21, 2020
  8. Silent_Gunner

    Silent_Gunner Lost Wanderer Who Sees No Evil
    Member

    Joined:
    Feb 16, 2017
    Messages:
    1,936
    Country:
    United States
    Wait...someone ported Super Mario 64 to the Sony PlayStation 1? As in, like, Nintendo's direct competitor that generation!?
     
    playsaves3 and Scott_pilgrim like this.
  9. armaldodo

    armaldodo Member
    Newcomer

    Joined:
    May 15, 2020
    Messages:
    23
    Country:
    Peru
    This means that you can play a particular 3DS game on the Wii u if is also decoded?
     
    Scott_pilgrim likes this.
  10. raxadian

    raxadian GBAtemp Advanced Maniac
    Member

    Joined:
    Nov 10, 2018
    Messages:
    1,745
    Country:
    Argentina
    Nope, my mistake, it was ported for the PS2.
     
  11. armaldodo

    armaldodo Member
    Newcomer

    Joined:
    May 15, 2020
    Messages:
    23
    Country:
    Peru
    But I wish to play Mario 64 star road natively on the Wii u, can it be release it with this code also?
     
  12. raxadian

    raxadian GBAtemp Advanced Maniac
    Member

    Joined:
    Nov 10, 2018
    Messages:
    1,745
    Country:
    Argentina
    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.

    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, Sep 21, 2020
  13. godreborn

    godreborn Retired
    Member

    Joined:
    Oct 10, 2009
    Messages:
    12,105
    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.
     
    apfelsaft45 likes this.
  14. MohammedQ8

    MohammedQ8 GBAtemp Advanced Fan
    Member

    Joined:
    Jul 4, 2018
    Messages:
    739
    Country:
    Kuwait
    It can only convert mario 64 to android app or any n64 rom?

    — Posts automatically merged - Please don't double post! —

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

    AnimeIsDead Member
    Newcomer

    Joined:
    Jul 31, 2020
    Messages:
    42
    Country:
    Antarctica
    Just Mario 64.
     
  16. raxadian

    raxadian GBAtemp Advanced Maniac
    Member

    Joined:
    Nov 10, 2018
    Messages:
    1,745
    Country:
    Argentina
    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.
     
  17. godreborn

    godreborn Retired
    Member

    Joined:
    Oct 10, 2009
    Messages:
    12,105
    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.
     
    Scott_pilgrim likes this.
  18. fvig2001

    fvig2001 GBAtemp Fan
    Member

    Joined:
    Aug 21, 2006
    Messages:
    430
    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.
     
  19. BaamAlex

    BaamAlex 160-0103
    Member

    Joined:
    Jul 23, 2018
    Messages:
    2,838
    Country:
    Germany
    I'm just wondering how long this will be online...
     
    Scott_pilgrim likes this.
  20. godreborn

    godreborn Retired
    Member

    Joined:
    Oct 10, 2009
    Messages:
    12,105
    Country:
    United States
    since you have to compile it yourself by supplying your own rom, probably forever.
     
  21. Bladexdsl

    Bladexdsl ZOMG my posts...it's over 9000!!!
    Member

    Joined:
    Nov 17, 2008
    Messages:
    19,039
    Country:
    Australia
    countdown to DMCA!
     
Loading...

Hide similar threads Similar threads with keywords - natively, playable, emulator