(GUIDE) How to add Super Mario 64 PC to Retropie(Pi4 and Pi3b)
-
@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?
-
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.
-
This post is deleted! -
@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
-
@Stuart2773 That's the one I installed as well.
-
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 👍
-
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):
-
@Stuart2773 can you provide instructions? I’d like to use that pack.
-
@Krakatoa said in (GUIDE) How to add Super Mario 64 PC to Retropie(Pi4 and Pi3b):
@Stuart2773 can you provide instructions? I’d like to use that pack.
ok this is my WORK-AROUND !!!
first of all i downloaded this:- https://github.com/TechieAndroid/sm64redrawn/archive/master.zip and extacted the folder to my desktop
on my pi4b 4gb i already had the sm64pc installed (without texture packs)
using putty :-
-
sudo apt install build-essential git python3 libaudiofile-dev libglew-dev libglfw3-dev libusb-1.0.0 libsdl2-dev
-
git clone -b nightly https://github.com/sm64pc/sm64ex.git
-
cp RetroPie/roms/n64/Mario.z64 sm64ex/baserom.us.z64
-
cd sm64ex
now on WinSCP
in the folder "sm64ex" i noticed i did not have a "build" folder so i copided the "build" folder from "sm64pc" to "sm64ex"
and within that build/us_pc folder i created a directory call "res"
now in the "res" folder i copied the "gfx" folder that i extracted from the "sm64redrawn-master" on my desktop
-
make VERSION=us TARGET_RPI=1 -j4 EXTERNAL_DATA=1
-
create the sm64ex.sh file in /home/pi/RetroPie/roms/ports
#!/bin/bash
/home/pi/sm64ex/build/us_pc/sm64.us.f3dex2e.arm %U
then restarted the pi :)
-
-
@Stuart2773 Thank you.
did you only use the gfx folder in the zip? I think the other folder is alternative gfx's
Also, anyone know how to open the custom menu? It mentions it in the readme for sm64ex.
-
@Krakatoa said in (GUIDE) How to add Super Mario 64 PC to Retropie(Pi4 and Pi3b):
@Stuart2773 Thank you.
did you only use the gfx folder in the zip? I think the other folder is alternative gfx's
Also, anyone know how to open the custom menu? It mentions it in the readme for sm64ex.
yes i only used the gfx folder but you can copy the other alternative folder there too if you wish
-
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 thegfx
folder into yourres
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 8:
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
Step 11: Play the game as you imagined it was in the 90
-
@Krakatoa Can you make it totally noob friendly and be clear when you say "Step 4: Build" please?
Also when you say "create a build folder", is that totally empty (in terms of files) aside from the sm64redrawn files? I assume it is but just want to be sure as Stuart2773 mentioned copying an existing build folder with files within it.
One other thing I've noticed - Step 4 is region-free, Step 8 is US.
-
@AdamBeGood Sorry I forgot that step. fixed it now.
-
@Krakatoa I deleted my previous directory, so I was starting from scratch. I am sure I followed this to the letter but mine has built again without the textures. I don't know what I've done wrong.
The textures are still in the build/gfx/res folder, they are sitting there but for some reason they don't appear to be there when I play.
It is right that the SM64Redrawn folders sit under build\gfx\res\actors and so on, isn't it? I think this is going to be where the problem lies. I moved the actors, levels and templates directories to sit under build\gfx\res. I amalgamated the contents of the gfx and alt versions of those directories also. Looking at what Stuart did, that seems quite different - and there isn't usually room for interpretation in these things.
-
@AdamBeGood It could be an error on my end. I typed it up from memory after playing around with it this morning.
-
@Krakatoa There is quite a bit of difference and I am very unsure where to put those files. Thank you very much for the guide though - I feel like I am near to it.
Stuart2773 has those files in build/us_pc/res/gfx (and presumably build/us_pc/res/alt), while your guide has them in build/gfx/res.
I am also slightly confused as to whether I copy in a previously made build folder, or if there should only be the SM64Redrawn files in there when I do the final build (I hope that makes sense as a sentence). The instructions suggest the build folder is blank at the point you copy in the SM64Redrawn files but I am pretty sure it shouldn't be.
I guess I will try to do this again, I'll have another punt once work is finished.
-
@AdamBeGood said in (GUIDE) How to add Super Mario 64 PC to Retropie(Pi4 and Pi3b):
@Krakatoa There is quite a bit of difference and I am very unsure where to put those files. Thank you very much for the guide though - I feel like I am near to it.
Stuart2773 has those files in build/us_pc/res/gfx (and presumably build/us_pc/res/alt), while your guide has them in build/gfx/res.
I am also slightly confused as to whether I copy in a previously made build folder, or if there should only be the SM64Redrawn files in there when I do the final build (I hope that makes sense as a sentence). The instructions suggest the build folder is blank at the point you copy in the SM64Redrawn files but I am pretty sure it shouldn't be.
I guess I will try to do this again, I'll have another punt once work is finished.
The only reason i copied the existing build folder was that mine was missing when i complied. As for copying the files to the res folder i just followed the instructions that was in the readme.md file that came with the sm64redrawn.zip
-
@Stuart2773 Yeah, I have done that though... I followed the steps given and then moved the gfx and alt folders to build/us_pc/res/gfx and build/us_pc/res alt. I have looked at the github documentation also.
The step I don't understand is why the folder is removed with "rm -rf" before the SM64Redrawn files are put in to the folder.
You say you were missing the build folder, but if it is being deleted even if it is created, then what is the purpose of you copying an existing build folder over...?
God, I'm confused. Thanks for the help.
-
@AdamBeGood The more I think about you could probably skip steps 4 and 5 becuase its being built in step 8
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.