(GUIDE) How to add Ocarina of Time PC Port to Retropie (Pi5 64bit)
-
@Deityfierezy So there might be some kind of error in the master branch, I re-tried it now with an earlier branch it worked out for me.
Maybe try this and see if it works for you:-
git clone https://github.com/HarbourMasters/Shipwright.git cd Shipwright git checkout 8.0.4 git submodule update --init
-
Also I have been testing out their Majora's mask Port and it also works. Same steps and dependencies as for Ocarina but after those then run this:-
git clone https://github.com/HarbourMasters/2ship2harkinian cd 2ship2harkinian git submodule update --init
Copy your Majora's mask .z64 rom into ORTExporter directory then run these:-
cmake -H. -Bbuild-cmake -GNinja cmake --build build-cmake --target ExtractAssets cmake --build build-cmake
As before copy the 2s2h.elf, 2ship.o2r & mm.o2r into /opt/retropie/ports/2s2h and create an .sh file that points towards it and the similar steps as before.
Only done a quick run around as the deku doing the first cycle but it seems to play pretty well
-
hey thanks for this, got it up and running on my pi5 with pi os, runs well. a bit off topic but this is the only relevant post i can find, is it possible to build the perfect dark PC port for the raspberry pi 5? i don't have the best knowledge with this stuff, was wondering if anyone has done it, thanks.
-
@nioh8 maybe
there is a Perfect Dark Decompilation on github, so there is a possibility that it could work. -
@ExarKunIv yea there’s a full fledged pc port here
https://github.com/fgsfdsfgs/perfect_dark
But I’m not well versed in compiling so was looking for some direction in how to build it
-
@nioh8 im someone can figure it out.
if i have time i can maybe mess with it. im trying to get the script for Ocarina of Time to work.
being a real bugger -
@mitu i hate to tag you. but im out of ideas.
@retropieuser555 and I are trying to get a script working for the port above. and im seeing something i have not seen before.
here is the script
from what i can tell it is good and for the most part it works fine, but the thing is. it takes like 6 hours if it finishesbut if you run the command above it will take like 30 min. (i timed it)
what could be causing this issue. is there something in the background that RetroPie doing that would slow this down.
im very lost here -
@ExarKunIv said in (GUIDE) How to add Ocarina of Time PC Port to Retropie (Pi5 64bit):
here is the script
from what i can tell it is good and for the most part it works fine, but the thing is. it takes like 6 hours if it finishesbut if you run the command above it will take like 30 min. (i timed it)
Pure guesswork, but running it from the script sets
MAKEFLAGS
to increase parallelism during build, which requires a great amount of RAM due to multiple threads compiling at the same time. The RAM requirement is so great, that it hits the SWAP, which is going to massively slowdown the compilation.Running the commands by hand will use a single thread/CPU for compiling, lowering the RAM requirements and thus finishing sooner.
Btw, RetroPie already has a swap adding/removing function in
helpers
, there no need to invent another one.EDIT: forgot to add. Modify the build function and unset
MAKEFLAGS
or set it to-j1
, before thecmake
commands are executed. See if that changes anything. -
@mitu as always thank you for that insight. i will make the changes and see what happens
-
@mitu so adding the -j1 did the trick
j1 was slow so i changed the number, but its workingi just need a little help with the
function rpSwap()
i dont know how to set that up correctlyor is there a current script that already uses this that i can look at
-
@ExarKunIv said in (GUIDE) How to add Ocarina of Time PC Port to Retropie (Pi5 64bit):
i just need a little help with the function rpSwap() i dont know how to set that up correctly
openmsx
andmame
use that function. The only parameter is the amount of Mb you need, which the function allocates taking into account the existing RAM. -
@mitu thank you. thats a big help
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.