• 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.4k 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.
  • S
    Stuart2773
    last edited by 22 Jul 2020, 22:01

    @Luddo183

    cheers thank you so much ive now got it working,

    now to add some texture packs !!!!

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

      @Stuart2773
      You can get them on the official website

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

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

        @Stuart2773
        You can get them on the official website

        can you provide the link?

        1 Reply Last reply Reply Quote 0
        • R
          retropieuser555
          last edited by 22 Jul 2020, 22:04

          Okay couple of notes. Controller didn't work at first the controls for keyboard are:-

          N64 Analog Stick = WASD
          N64 C Buttons = Arrow Keys
          N64 A = L
          N64 B = Comma (,)
          N64 Z = K
          N64 R = Shift
          N64 Start = Spacebar

          But did some digging, my xbox 360 controller does work out of the box. So it seems the controls for it are hardwired? @Luddo183 what controller are you using?

          Pi 5 4GB

          Retroflag GPI with raspberry pi zero 2 w/ wifi

          Retroachievements:- lovelessrapture

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User
            last edited by 22 Jul 2020, 22:10

            @Stuart2773 I don't know the link, but Google will help you
            @retropieuser555 You can configure, go to pause menu, press R(probably Right Trigger) and you should see a option for controller configuration(BTW I am using a Xbox one controller)

            R 1 Reply Last reply 22 Jul 2020, 22:16 Reply Quote 0
            • R
              retropieuser555 @A Former User
              last edited by 22 Jul 2020, 22:16

              @Luddo183 Yeah I got that about the controls menu in game. It doesn't let you edit the controls for my 8bitdo controllers. Do you know where in the directory it saves the sm64config.txt that apparently has the key bindings? I can't seem to find it.

              Pi 5 4GB

              Retroflag GPI with raspberry pi zero 2 w/ wifi

              Retroachievements:- lovelessrapture

              ? 1 Reply Last reply 22 Jul 2020, 22:18 Reply Quote 0
              • ?
                A Former User @retropieuser555
                last edited by A Former User 22 Jul 2020, 22:18

                @retropieuser555
                You can't edit it. I found the file, but the numbers were like this:
                0000 0000 0000
                I can't figure it out, so I left it alone

                R 1 Reply Last reply 22 Jul 2020, 22:34 Reply Quote 0
                • R
                  retropieuser555 @A Former User
                  last edited by retropieuser555 22 Jul 2020, 22:34

                  @Luddo183 https://twitter.com/thetovlisgunda/status/1273743625944363009 Yeah it seems it's not particularly documented anywhere which key is allocated to which numerical code. Still can't find the file but I'd like a bash at it. What was the address you had for it? Is it somewhere within the sm64pc folder?

                  Otherwise, I'm using a pi4 with a 2000 arm overclock and this runs very well. Better than Mario64 on any of the mupen64plus options imo. If anything it might be a little too quick, but that's probably years of me being used to the PAL/EU version of the game.

                  I'll give this a try on my older pi3b+, but I imagine this will run perfectly well. Good find by the way!

                  Edit:- Tried to compile on my pi3b+, no errors but when you boot the game you get no video. The audio is playing, buttons are working but no video on screen. I only use my pi3 for kodi really but maybe someone can figure how to edit the config files to get the video showing.

                  Pi 5 4GB

                  Retroflag GPI with raspberry pi zero 2 w/ wifi

                  Retroachievements:- lovelessrapture

                  ? 1 Reply Last reply 22 Jul 2020, 22:37 Reply Quote 0
                  • ?
                    A Former User @retropieuser555
                    last edited by A Former User 22 Jul 2020, 22:37

                    @retropieuser555
                    It runs into difficulties on any Pi below for 4, but is playable
                    And if people don't mind, if you get it running, please post pics so the people who have problems can see how it should be running, and feel free to ask for help

                    S 1 Reply Last reply 23 Jul 2020, 13:07 Reply Quote 0
                    • K
                      Krakatoa
                      last edited by 23 Jul 2020, 00:16

                      Runs great. Thanks for posting the tutorial.

                      Arcade digital direction controls are mapped, along with a some buttons. Still need to modify it to add the remainder.

                      1 Reply Last reply Reply Quote 0
                      • S
                        skj @A Former User
                        last edited by skj 23 Jul 2020, 13:07

                        @Luddo183

                        I would like to go about installing the following texture packs:-


                        How do you go about doing this on the pi?

                        I tried replacing the downloaded files from the folders called actors, data, src. But when i play the game the textures look exacly the same as before?

                        K 1 Reply Last reply 23 Jul 2020, 13:26 Reply Quote 0
                        • K
                          Krakatoa @skj
                          last edited by 23 Jul 2020, 13:26

                          @skj I did the same things as you, placed the textures in their respective folders, and yep, it doesn't work.

                          My guess is we need to compile with the new textures so they are called by the program. The pack I tried was SM64 Redrawn.

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