(GUIDE) How to add Super Mario 64 PC to Retropie(Pi4 and Pi3b)
-
@sglueckspilz
Actually @Krakatoa showed these instructions for sm64 redrawn:
Build sm64ex with the sm64redrawn texture pack - Assumes you are building us versionsStep 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 -j4Step 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 the gfx folder into your res 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 10:
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 -
Thanks!
I have rebuild again. This it is running a little little better now. mmmhh
I noticed if I switch to windowed mo de, the game is running already in normal speed.
But then it is only in the left corner. 640*480 on an Full HD Screen :-(Maybe I will setup the pi 4 complety new.
Are there some checks that I can do?Thank you
-
@sglueckspilz
For what? -
I usually fail at pi-related installations, but managed to get this working on my first try. Major kudos for these instructions! I do have one question however...
I have splashscreens for everything in my Retropie setup. It's the splashscreens from this post:
https://retropie.org.uk/forum/topic/4611/runcommand-system-splashscreensHas anybody found a way to change this initial screen:
Into something like this:
-
So I recently got ahold of the Retroflag GPI case which runs a pi 0 w. Out of sheer curiosity, if I attempted to build this, will it just fail outright? Has anyone tried it yet (granted I expect a slow framerate but I'm curious how slow)
-
I've tried this. Followed all the instructions, but I get an error. Can anyone help me out?
/usr/bin/ld: cannot find -lGLESv2 collect2: error: ld returned 1 exit status Makefile:1031: recipe for target 'build/us_pc/sm64.us.f3dex2e.arm' failed make: *** [build/us_pc/sm64.us.f3dex2e.arm] Error 1 rm build/us_pc/bin/ccm_skybox.c build/us_pc/bin/bbh_skybox.c build/us_pc/bin/clouds_skybox.c build/us_pc/bin/wdw_skybox.c build/us_pc/bin/water_skybox.c build/us_pc/bin/bits_skybox.c build/us_pc/bin/bitfs_skybox.c build/us_pc/bin/ssl_skybox.c build/us_pc/bin/cloud_floor_skybox.c build/us_pc/sound/sequences/00_sound_player.o build/us_pc/bin/bidw_skybox.c
-
-
so compiled the game and the second I boot it up I get a segmentation fault. It does load the settings but then it gives me that error. Is there a fix for that?
-
@TheAutisticGamer segment fault is sometimes because it's built on a machine that's different architecture. Are you using a pi4 or a PC/x64 machine by any chance?
-
@retropieuser555 said in (GUIDE) How to add Super Mario 64 PC to Retropie(Pi4 and Pi3b):
@TheAutisticGamer segment fault is sometimes because it's built on a machine that's different architecture. Are you using a pi4 or a PC/x64 machine by any chance?
yeah im using a pi 4. Is that the problem?
-
@TheAutisticGamer pi4 should be fine. Have you got your code you used? TARGET_RPI=1 should get you the pi4 version no problem
-
@retropieuser555 said in (GUIDE) How to add Super Mario 64 PC to Retropie(Pi4 and Pi3b):
@TheAutisticGamer pi4 should be fine. Have you got your code you used? TARGET_RPI=1 should get you the pi4 version no problem
lemme try recompiling it. I did use that command. It could be the fact that I was trying to use a mod that could require something the pi doesnt have. But IDK
-
This might be a little late and i am aware that this is an old post. I tried following the guide but is seems i am stuck at step 3. it wont recognize as a directory. has anybody else encountered this. must admit i am quite new to this.
-
@rasbon94 you can also manually copy the .z64 file into the folder if you have an app that lets you explore via SSH /SFTP, if that's any help to you?
-
@retropieuser555 thanks a lot that seemed to have done the trick :)
-
Just a side note. I attempted this on Pi 5 with bookworm and it works perfectly fine. I haven't attempted any of the high res mods but hopefully they'll work given the higher specs
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.