RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    (GUIDE) How to add Super Mario 64 PC to Retropie(Pi4 and Pi3b)

    Scheduled Pinned Locked Moved Ideas and Development
    mariomario 64nintendo 64sm64sm64pc
    150 Posts 23 Posters 66.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Stuart2773S
      Stuart2773 @A Former User
      last edited by Stuart2773

      Has anyone been able to get this running on pi4 with the new render96 v2.1 textures ?

      1 Reply Last reply Reply Quote 0
      • B
        burt111 @zerojay
        last edited by

        @zerojay i would love if you added external data support this runs well on my pi4 2gb with piboy dmg case requires xboxdrv and a script involving the controls

        1 Reply Last reply Reply Quote 0
        • S
          Speedsnipe
          last edited by

          Could someone please elaborate on how you get the controls working on the PiBoy DMG, this guy on YouTube seems to have it working but doesn't mention it, he just linked this page in his description.

          1 Reply Last reply Reply Quote 0
          • DolphinCubeD
            DolphinCube
            last edited by

            anyone figured out how to add this mod into SM64ex? It adds sonic the hedgehog into it. I have no idea why it isnt working (not creating an executable for some reason)

            https://sm64pc.info/forum/viewtopic.php?f=13&t=101

            ? 1 Reply Last reply Reply Quote 0
            • ?
              A Former User @DolphinCube
              last edited by

              @theautisticgamer
              Maybe you made a mistake somewhere? Go check your steps and see if you did anything wrong.

              DolphinCubeD 1 Reply Last reply Reply Quote 0
              • DolphinCubeD
                DolphinCube @A Former User
                last edited by

                @luddo183 well it does have a patch file and it says to put it in the "Patches" folder. I created one but It didnt do anything at all

                ? 1 Reply Last reply Reply Quote 0
                • ?
                  A Former User @DolphinCube
                  last edited by

                  @theautisticgamer
                  Hmmm.... how are you building it?

                  DolphinCubeD 1 Reply Last reply Reply Quote 0
                  • DolphinCubeD
                    DolphinCube @A Former User
                    last edited by

                    @luddo183 here is what I did
                    Step 1: Get the essental files for configuring
                    Step 2: Get SM64ex
                    Step 3: Build it then delete everything in the build folder
                    Step 4: Drag and drop everything to the SM64EX root folder
                    Step 5: Build it again and everything starts to show up EXECPT for the executable

                    Please help me!

                    Oh! And here are the folders It comes with:
                    -levels
                    -sound
                    -textures
                    and a patch file also. I think something is in the wrong place

                    ? 1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @DolphinCube
                      last edited by

                      @theautisticgamer
                      2 things:
                      Did you run

                      rm -rf build
                      

                      and did you run it with external data 1?

                      1 Reply Last reply Reply Quote 0
                      • S
                        sglueckspilz @A Former User
                        last edited by

                        Hey there,

                        maybe you have a Tipp for me.

                        I am playing arround with my PI 4.
                        I installed Retropie 4.7. and updated to 4.7.9 yesterday.

                        I have installed Mario64 in default Emulator.
                        Running good.

                        The I have installed the SM64PC Version.
                        Also is running good.

                        Then I haved installed die SM64EX Version with sm64redrawn-master
                        I have tried in different ways.
                        Also with - git checkout 685efc81c

                        Mario is starting, but it is unplayable slow. Audio is also lagging.

                        Have you any tipps for me? Have I forgottend something. I have read some post, that I have to enable opengl options???

                        I have done:

                        sudo apt install build-essential git python3 libaudiofile-dev libglew-dev libglfw3-dev libusb-1.0.0 libsdl2-dev

                        git clone --single-branch --branch nightly https://github.com/sm64pc/sm64ex.git

                        Copy Mario Rom + redawn package to
                        <pre>sm64ex
                        ┗ build
                        ┗ us_pc
                        ┗ res
                        ┗ gfx
                        ┣ actors
                        ┣ levels
                        ┗ textures</pre>

                        rm -rf build

                        And startet the Game with
                        #!/bin/bash
                        /home/pi/sm64ex/build/<ROM=REGION>_pc/sm64.us.f3dex2e.arm %U

                        Do you know why is the game so slow and the normal PC Version running good?

                        Thanks you!

                        ? 2 Replies Last reply Reply Quote 0
                        • ?
                          A Former User @sglueckspilz
                          last edited by A Former User

                          @sglueckspilz
                          It might be OpenGL but otherwise I see no problems.

                          1 Reply Last reply Reply Quote 0
                          • ?
                            A Former User @sglueckspilz
                            last edited by

                            @sglueckspilz
                            Actually @Krakatoa showed these instructions for sm64 redrawn:
                            Build sm64ex with the sm64redrawn texture pack - Assumes you are building us versions

                            Step 1: Run this command

                            Sudo apt install build-essential git python3 libaudiofile-dev libglew-dev libglfw3-dev libusb-1.0.0 libsdl2-dev

                            Step 2: Git clone sm64ex

                            git clone --single-branch --branch nightly https://github.com/sm64pc/sm64ex.git
                            Step 3: Take your .z64 file of Super Mario 64 and put it in the files. Note change the code to your rom name in your roms directory.

                            cp RetroPie/roms/n64/Mario.z64 sm64ex/baserom.us.z64

                            Step 4: Build

                            cd sm64ex
                            make VERSION=us TARGET_RPI=1 -j4

                            Step 5: rm -rf build

                            Step 6: Create a build folder and a gfx and res folder under the sm64ex folder
                            build\us_pc\res\gfx
                            <pre>sm64ex
                            ┗ build
                            ┗ us_pc
                            ┗ res
                            ┗ gfx
                            ┣ actors
                            ┣ levels
                            ┗ textures</pre>

                            <b>(Master Clone)</b>
                            If you git clone the master you can just copy the gfx folder into your res directory and that's it.

                            Step 7: download the zip package sm64redrawn sm64redrawn and unzip

                            step 8: copy the contents of the gfx folder and alt folder from the extracted sm64redrawn zip into the res folder created in step 6 (alt folder contains icon updates etc.)

                            step 9: cd sm64ex

                            Step 10:

                            make VERSION=us TARGET_RPI=1 -j4 EXTERNAL_DATA=1
                            Step 9: Create a .sh file, name it sm64pc.sh, and put the following code in it:

                            #!/bin/bash
                            /home/pi/sm64ex/build/us_pc/sm64.us.f3dex2e.arm %U
                            Step 10: Move the .sh file into /home/pi/RetroPie/roms/ports

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              sglueckspilz @A Former User
                              last edited by

                              @luddo183

                              Thanks!

                              I have rebuild again. This it is running a little little better now. mmmhh

                              I noticed if I switch to windowed mo de, the game is running already in normal speed.
                              But then it is only in the left corner. 640*480 on an Full HD Screen :-(

                              Maybe I will setup the pi 4 complety new.
                              Are there some checks that I can do?

                              Thank you

                              ? 1 Reply Last reply Reply Quote 0
                              • ?
                                A Former User @sglueckspilz
                                last edited by

                                @sglueckspilz
                                For what?

                                1 Reply Last reply Reply Quote 0
                                • vic-viper-001V
                                  vic-viper-001
                                  last edited by vic-viper-001

                                  I usually fail at pi-related installations, but managed to get this working on my first try. Major kudos for these instructions! I do have one question however...

                                  I have splashscreens for everything in my Retropie setup. It's the splashscreens from this post:
                                  https://retropie.org.uk/forum/topic/4611/runcommand-system-splashscreens

                                  Has anybody found a way to change this initial screen:
                                  P_20210614_191615.jpg

                                  Into something like this:
                                  launching.png

                                  1 Reply Last reply Reply Quote 0
                                  • retropieuser555R
                                    retropieuser555
                                    last edited by

                                    So I recently got ahold of the Retroflag GPI case which runs a pi 0 w. Out of sheer curiosity, if I attempted to build this, will it just fail outright? Has anyone tried it yet (granted I expect a slow framerate but I'm curious how slow)

                                    Pi 5 4GB

                                    Retroflag GPI with raspberry pi zero 2 w/ wifi

                                    Retroachievements:- lovelessrapture

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      MissingThe80s
                                      last edited by

                                      I've tried this. Followed all the instructions, but I get an error. Can anyone help me out?

                                      /usr/bin/ld: cannot find -lGLESv2
                                      collect2: error: ld returned 1 exit status
                                      Makefile:1031: recipe for target 'build/us_pc/sm64.us.f3dex2e.arm' failed
                                      make: *** [build/us_pc/sm64.us.f3dex2e.arm] Error 1
                                      rm build/us_pc/bin/ccm_skybox.c build/us_pc/bin/bbh_skybox.c build/us_pc/bin/clouds_skybox.c build/us_pc/bin/wdw_skybox.c build/us_pc/bin/water_skybox.c build/us_pc/bin/bits_skybox.c build/us_pc/bin/bitfs_skybox.c build/us_pc/bin/ssl_skybox.c build/us_pc/bin/cloud_floor_skybox.c build/us_pc/sound/sequences/00_sound_player.o build/us_pc/bin/bidw_skybox.c
                                      
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • W WhiteT982 referenced this topic on
                                      • DolphinCubeD
                                        DolphinCube
                                        last edited by

                                        so compiled the game and the second I boot it up I get a segmentation fault. It does load the settings but then it gives me that error. Is there a fix for that?

                                        retropieuser555R 1 Reply Last reply Reply Quote 0
                                        • retropieuser555R
                                          retropieuser555 @DolphinCube
                                          last edited by

                                          @TheAutisticGamer segment fault is sometimes because it's built on a machine that's different architecture. Are you using a pi4 or a PC/x64 machine by any chance?

                                          Pi 5 4GB

                                          Retroflag GPI with raspberry pi zero 2 w/ wifi

                                          Retroachievements:- lovelessrapture

                                          DolphinCubeD 1 Reply Last reply Reply Quote 0
                                          • DolphinCubeD
                                            DolphinCube @retropieuser555
                                            last edited by

                                            @retropieuser555 said in (GUIDE) How to add Super Mario 64 PC to Retropie(Pi4 and Pi3b):

                                            @TheAutisticGamer segment fault is sometimes because it's built on a machine that's different architecture. Are you using a pi4 or a PC/x64 machine by any chance?

                                            yeah im using a pi 4. Is that the problem?

                                            retropieuser555R 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                            Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.