(GUIDE) How to add Super Mario 64 PC to Retropie(Pi4 and Pi3b)
-
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.
-
@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.
-
@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.
-
@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.
-
@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.
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.