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 65.3k 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.
    • Z
      zerojay @RetroFloppy08
      last edited by

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

      I did everything you said, it runs, but its just a black screen.
      Please Help?
      I'm Using a Raspberry Pi 3B 1.2 with 32GB of storage

      As I said previously: "I would love to support the other Pi boards with this, but the sheer amount of changes that need to be made feel far outside the scope of a script like this, so Pi 4 only it is."

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

        is there any way you can take this. And use it to compile a 3ds version? Idk the raspberry pi is the only linux computer I have https://github.com/mkst/sm64-port

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

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • ?
            A Former User @zerojay
            last edited by

            @zerojay
            Thanks man. I really wanted to try making a scriptmodule for it, but I've been away and I have zero knowledge there. Anyway thanks. I put that up in the instructions.

            1 Reply Last reply Reply Quote 0
            • T
              Tyberkid
              last edited by

              @luddo183 does this work for rpi 3b? (not 3b+) also could it work on the 0 w?

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

                @tyberkid
                No. Sorry about getting back late, but only the 3B+ and 4 can run it.

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

                  @tyberkid
                  But maybe the 3B can run it, I'm not sure

                  Stuart2773S 1 Reply Last reply Reply Quote 0
                  • 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
                                            • 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.