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 61.8k 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
      last edited by

      @Luddo183

      is this the correct steps with the correct folder names:-

      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

      or

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

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

      cd sm64ex

      make VERSION=us TARGET_RPI=1 -j4 EXTERNAL_DATA=1

      rm -rf build

      #!/bin/bash
      /home/pi/sm64ex/build/us_pc/sm64.us.f3dex2e.arm %U

      pjftP 1 Reply Last reply Reply Quote 0
      • pjftP
        pjft @Stuart2773
        last edited by

        @Stuart2773

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

        Whether step 2 and 4 are correct or not (because of the "us" part) only depends on your version of the ROM, but you'll get an error if that's not right.

        Stuart2773S 1 Reply Last reply Reply Quote 0
        • Stuart2773S
          Stuart2773 @pjft
          last edited by

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

          @Stuart2773

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

          Whether step 2 and 4 are correct or not (because of the "us" part) only depends on your version of the ROM, but you'll get an error if that's not right.

          the rom im using is Super Mario 64 (U) [!].z64
          (which i renamed to Mario.z64)

          1 Reply Last reply Reply Quote 0
          • pjftP
            pjft
            last edited by

            One note: it seems that the nightly build is the one that is messed up in terms of speed.

            The original one (the one you don't use mods in) runs fine at the right speed!

            Stuart2773S A 2 Replies Last reply Reply Quote 0
            • Stuart2773S
              Stuart2773 @pjft
              last edited by Stuart2773

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

              One note: it seems that the nightly build is the one that is messed up in terms of speed.

              The original one (the one you don't use mods in) runs fine at the right speed!

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

              After step 4, delete the build folder:

              rm -rf build
              

              Copy the content of the patch to the folder.

              Then run

              make VERSION=ROM_REGION TARGET_RPI=1 -j4 EXTERNAL_DATA=1
              

              where ROM_REGION is the region of your ROM, as in the first time you compiled it.

              thats where im getting stuck with the content of the patch folder ???

              the texture pack i download is called version1.1hotfix

              pjftP 1 Reply Last reply Reply Quote 0
              • pjftP
                pjft @Stuart2773
                last edited by

                @Stuart2773 I'm sorry. Different patches may have different instructions - I don't know.

                I shared the instructions for the patch corresponding to one of the videos you shared, copied from the discord channel linked in that video - just because that was the one I also used.

                What are the instructions where you download that patch from? Do they have a discord or forum? That might shed some light for that specific pack.

                The content of the patch, in my case, is the content of the uncompressed zip file. I also ran into one which was a .pak file, but I had no idea what to do with it and, honestly, didn't bother much to follow up on it.

                Hope these help somewhat.

                S Stuart2773S 2 Replies Last reply Reply Quote 0
                • pjftP
                  pjft
                  last edited by

                  A final note before logging off: if you want to use a patch that requires the nightly build, after checking out the code enter the folder and run

                  git checkout 685efc81c
                  

                  which is the last good commit before the frame rate issues.

                  Hope it helps.

                  A 1 Reply Last reply Reply Quote 1
                  • A
                    AdamBeGood @pjft
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • A
                      AdamBeGood
                      last edited by

                      Which texture pack do people recommend? I imagine I will manage to make a pig's ear of installing whichever one I go for, might as well make sure it is a recommended one.

                      I managed to get this working unmodded without consulting the forum with issues, which is a first for me.... I am sure I won't be so lucky with the mod.

                      1 Reply Last reply Reply Quote 0
                      • S
                        skj @pjft
                        last edited by skj

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

                        @Stuart2773 I'm sorry. Different patches may have different instructions - I don't know.

                        I shared the instructions for the patch corresponding to one of the videos you shared, copied from the discord channel linked in that video - just because that was the one I also used.

                        What are the instructions where you download that patch from? Do they have a discord or forum? That might shed some light for that specific pack.

                        The content of the patch, in my case, is the content of the uncompressed zip file. I also ran into one which was a .pak file, but I had no idea what to do with it and, honestly, didn't bother much to follow up on it.

                        Hope these help somewhat.

                        What patch file did you use? What was the name of it? Ive seen a few on discord but unsure wich one to get.

                        1 Reply Last reply Reply Quote 0
                        • A
                          AdamBeGood @pjft
                          last edited by AdamBeGood

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

                          I did it for SGI, just follow their instructions, adapting to the ones in the first post in this thread. Step 1 is the different one.

                          1. Clone the nightly sm64ex git using git clone --single-branch --branch nightly https://github.com/sm64pc/sm64ex.git
                          2. Place your base rom into it
                          3. Visit the directory using cd sm64ex
                          4. Build it once using make
                          5. Delete the build folder
                          6. Download the file in #download and drag what's inside into the sm64ex folder (press replace all)
                          7. build it using make EXTERNAL_DATA=1
                          

                          I tried to follow these instruction but between steps 3 and 4 I also checked out the correct version to avoid the speed issue.

                          My texture pack is just 'actors', 'levels' and 'textures' directories (SM64Redrawn - https://github.com/TechieAndroid/sm64redrawn). So that is what I copied over in step 6.

                          The sm64.ex file is saying there is no such file or directory, which is fair as there is only level_rules.mk in the us_pc directory. Any thoughts on where I may have gone wrong here? I'm happy to provide more information. Thank you.

                          KrakatoaK 1 Reply Last reply Reply Quote 0
                          • KrakatoaK
                            Krakatoa @AdamBeGood
                            last edited by

                            @AdamBeGood it wont work with that texture pack, the images are too large so it fails to compile, which results in the file not being generated. Use the texture pack from discord.

                            A S 2 Replies Last reply Reply Quote 1
                            • A
                              AdamBeGood @Krakatoa
                              last edited by AdamBeGood

                              @Krakatoa But aside from that, the method seems okay? I see from an earlier post that you used SM64Redrawn - am I looking for a version of that on the Discord or do I need to consider a different pack?

                              1 Reply Last reply Reply Quote 0
                              • A
                                AdamBeGood
                                last edited by AdamBeGood

                                Also, on my normal build of SM64PC, I am having trouble with the controls.

                                When I plug my Xbox One Controller in, Mario defaults to ducking - I can get around this if I move straight after a jump though.

                                If I have the keyboard plugged in, and then plug the Controller in, that stops Shift working - so I can no longer get into the Controller Config menu. Has anyone experienced anything similar?

                                I'm keen to get this to work, it looks amazing even without texture packs (thanks to everyone who has contributed to this thread, it's great).

                                Edit: I used the Nightly version instead of the one at the top of the thread, and selected this version:

                                git checkout 685efc81c
                                

                                My controller is all good now, no problems anymore.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  skj @Krakatoa
                                  last edited by

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • Stuart2773S
                                    Stuart2773 @pjft
                                    last edited by Stuart2773

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

                                    @Stuart2773 I'm sorry. Different patches may have different instructions - I don't know.

                                    I shared the instructions for the patch corresponding to one of the videos you shared, copied from the discord channel linked in that video - just because that was the one I also used.

                                    What are the instructions where you download that patch from? Do they have a discord or forum? That might shed some light for that specific pack.

                                    The content of the patch, in my case, is the content of the uncompressed zip file. I also ran into one which was a .pak file, but I had no idea what to do with it and, honestly, didn't bother much to follow up on it.

                                    Hope these help somewhat.

                                    thats where i got the packs from :-

                                    https://discord.com/invite/QNjJAFH

                                    https://discord.com/channels/727721825953513472/728264742736494603

                                    pjftP 1 Reply Last reply Reply Quote 1
                                    • pjftP
                                      pjft @Stuart2773
                                      last edited by

                                      @Stuart2773 That's the one I installed as well.

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

                                        I installed the HD Luigi pack. I cloned the directory, saved the textures and sound files where they needed to be, ran the apply_patch.sh with HD_luigi.sh then ran make. Works fine for me šŸ‘

                                        Pi 5 4GB

                                        Retroflag GPI with raspberry pi zero 2 w/ wifi

                                        Retroachievements:- lovelessrapture

                                        1 Reply Last reply Reply Quote 0
                                        • Stuart2773S
                                          Stuart2773
                                          last edited by Stuart2773

                                          ok finally , ive managed to install the sm64redrawn pack into the main game :)

                                          know i need to try and get the game to look like this:-

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

                                          KrakatoaK 1 Reply Last reply Reply Quote 1
                                          • KrakatoaK
                                            Krakatoa @Stuart2773
                                            last edited by

                                            @Stuart2773 can you provide instructions? I’d like to use that pack.

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