• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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 60.2k 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.
  • P
    pjft
    last edited by pjft 23 Jul 2020, 14:40

    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
    

    That being said, this currently runs extremely fast on the Pi4 - probably the vsync detection is off. If you see actual videos on YouTube of the PC port, you'll see what I mean.

    There is a PR from May that may fix it, but since it now has conflicts with the master branch I didn't have the chance to test it.

    https://github.com/sm64pc/sm64ex/pull/234

    Thanks @Luddo183 for sharing this - the step by step guide works awesome!

    S A 2 Replies Last reply 23 Jul 2020, 15:12 Reply Quote 1
    • S
      skj @pjft
      last edited by 23 Jul 2020, 15:12

      @pjft

      Could you or someone post a guide on the exact commands for each step to build the game and add the textures at the same time as i struggle to understand the instructions. Thank you.

      1 Reply Last reply Reply Quote 0
      • P
        pjft
        last edited by 23 Jul 2020, 15:17

        It's pretty much the exact instructions I pasted there.

        Run the first 4 steps that are mentioned in this first post, but replace step 2 with:

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

        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.

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User
          last edited by 23 Jul 2020, 15:41

          @pjft
          You are right, you need to rebuild it for the textures to come in.

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User
            last edited by 23 Jul 2020, 15:45

            Here's a pic of original vs modded hd texturemario.png

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User
              last edited by 23 Jul 2020, 15:47

              @pjft
              I think if you find the config file, there is a option for speed and vsync.

              P 1 Reply Last reply 23 Jul 2020, 15:53 Reply Quote 0
              • P
                pjft @A Former User
                last edited by 23 Jul 2020, 15:53

                @Luddo183 The config file is at ~/.local/share/sm64ex/sm64config.txt for the nightly build, I believe. There's an option for vsync that's the same as the one accessible through the menu, but regardless of whether it's ON or OFF it's still quite fast.

                I reported a bug on their repo.

                Thanks!

                ? 1 Reply Last reply 23 Jul 2020, 15:54 Reply Quote 0
                • ?
                  A Former User @pjft
                  last edited by 23 Jul 2020, 15:54

                  @pjft
                  I edited the first post to show your solution for modding.

                  S 1 Reply Last reply 23 Jul 2020, 17:53 Reply Quote 1
                  • ?
                    A Former User
                    last edited by 23 Jul 2020, 16:01

                    Apparently it can also be scraped with TheGamesDB, although the boxart is for the original SM64

                    1 Reply Last reply Reply Quote 0
                    • S
                      Stuart2773 @A Former User
                      last edited by Stuart2773 23 Jul 2020, 17:53

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

                      @pjft
                      I edited the first post to show your solution for modding.

                      Hi guys

                      sorry to be a nuisance, i tried installing the game with the texture pack, but when i launch the game i get the following error:-

                      /home/pi/RetroPie/roms/ports/sm64pc.sh: line 2: /home/pi/sm64pc/build/us_pc/sm64.us.f3dex2e.arm: No such file or directory

                      heres the steps i used:-

                      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 into the files

                      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

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

                      Step 4: Build

                      cd sm64pc

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

                      rm -rf build

                      Step 5: Create .sh file

                      Create a .sh file, name it sm64pc.sh, and put the following code in it:

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

                      Step 6:

                      Move the .sh file into /home/pi/RetroPie/roms/ports

                      any ideas where ive messed up?

                      many thanks

                      K I 2 Replies Last reply 23 Jul 2020, 18:15 Reply Quote 0
                      • K
                        Krakatoa @Stuart2773
                        last edited by 23 Jul 2020, 18:15

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

                        line 2: /home/pi/sm64pc/build/us_pc/sm64.us.f3dex2e.arm

                        Does the file "sm64.us.f3dex2e.arm" exist in the path? also is the path correct?

                        /home/pi/sm64pc/build/us_pc/sm64.us.f3dex2e.arm

                        S 1 Reply Last reply 23 Jul 2020, 18:20 Reply Quote 0
                        • P
                          pjft
                          last edited by 23 Jul 2020, 18:17

                          It's probably /home/pi/sm64ex/build/us_pc/sm64.us.f3dex2e.arm for the nightly build.

                          1 Reply Last reply Reply Quote 0
                          • S
                            Stuart2773 @Krakatoa
                            last edited by 23 Jul 2020, 18:20

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

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

                            line 2: /home/pi/sm64pc/build/us_pc/sm64.us.f3dex2e.arm

                            Does the file "sm64.us.f3dex2e.arm" exist in the path? also is the path correct?

                            /home/pi/sm64pc/build/us_pc/sm64.us.f3dex2e.arm

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

                            It's probably /home/pi/sm64ex/build/us_pc/sm64.us.f3dex2e.arm for the nightly build.

                            im not sure what i need to do or where to check :(

                            ? 2 Replies Last reply 23 Jul 2020, 19:15 Reply Quote 0
                            • ?
                              A Former User @Stuart2773
                              last edited by A Former User 23 Jul 2020, 19:15

                              @Stuart2773

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

                              It's probably /home/pi/sm64ex/build/us_pc/sm64.us.f3dex2e.arm for the nightly build.

                              im not sure what i need to do or where to check :(

                              It is in /home/pi/sm64ex/build/us_pc

                              S 1 Reply Last reply 23 Jul 2020, 19:49 Reply Quote 0
                              • ?
                                A Former User @Stuart2773
                                last edited by 23 Jul 2020, 19:34

                                @Stuart2773
                                Create a .sh file with this inside:

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

                                Put it in /home/pi/RetroPie/ports

                                1 Reply Last reply Reply Quote 0
                                • ?
                                  A Former User
                                  last edited by 23 Jul 2020, 19:37

                                  @skj
                                  Are the mods working? Just asking

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Stuart2773 @A Former User
                                    last edited by Stuart2773 23 Jul 2020, 19:49

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

                                    @Stuart2773

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

                                    It's probably /home/pi/sm64ex/build/us_pc/sm64.us.f3dex2e.arm for the nightly build.

                                    im not sure what i need to do or where to check :(

                                    It is in /home/pi/sm64ex/build/us_pc

                                    i dont have that folder "build/us_pc"

                                    would i need to change steps 3 & 4 to sm64ex instead of sm64pc ?

                                    ? 1 Reply Last reply 23 Jul 2020, 20:13 Reply Quote 0
                                    • ?
                                      A Former User @Stuart2773
                                      last edited by 23 Jul 2020, 20:13

                                      @Stuart2773
                                      Then what do you you have in the build folder

                                      S 1 Reply Last reply 23 Jul 2020, 20:24 Reply Quote 0
                                      • S
                                        Stuart2773 @A Former User
                                        last edited by Stuart2773 23 Jul 2020, 20:24

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

                                        @Stuart2773
                                        Then what do you you have in the build folder

                                        there is no folder called build :(

                                        im totally confused by the setup steps to install the packs,

                                        ? 2 Replies Last reply 23 Jul 2020, 20:25 Reply Quote 0
                                        • ?
                                          A Former User @Stuart2773
                                          last edited by 23 Jul 2020, 20:25

                                          @Stuart2773
                                          What did you do and where are you looking

                                          1 Reply Last reply Reply Quote 0
                                          49 out of 150
                                          • First post
                                            49/150
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received