(GUIDE) How to add Super Mario 64 PC to Retropie(Pi4 and Pi3b)
-
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
-
thats where i ran into problems with the rm -rf build thats why i didnt include it when i finally got mine to build
-
@Stuart2773 @Krakatoa I ended up trying with both /build/us_pc/res and /build/res at the same time to see if either worked...
Judging from the speed it runs now, I think it has...! It's unplayably slow though, did people find that?
-
@AdamBeGood said in (GUIDE) How to add Super Mario 64 PC to Retropie(Pi4 and Pi3b):
@Stuart2773 @Krakatoa I ended up trying with both /build/us_pc/res and /build/res at the same time to see if either worked...
Judging from the speed it runs now, I think it has...! It's unplayably slow though, did people find that?
Yes it is slow compared to the non textured version. But at times the game does play too fast with the textures installed !!!!
-
@Stuart2773 The speed issues might be fixed by the below.
@pjft said in (GUIDE) How to add Super Mario 64 PC to Retropie(Pi4 and Pi3b):
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 685efc81cwhich is the last good commit before the frame rate issues.
I think I will stick with the normal version then, unless I've done something wrong. Mine is really jerky as hell outside the castle at the start. It is fine inside the castle, but that doesn't really matter. I thought about finding the config to lower the resolution but that doesn't seem a good solution as I do think the non-patched version looks pretty good as is.
-
Has anyone figured out how to launch the custom menu yet?
Figured it out press shift on the keyboard in the pause menu.
-
For some reason, one mod pack is running into problems. Gonna see what it is.
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.