Suggestions for ports #2
-
This will be a continuation of this post
Ever since then I was taken with getting as many different games running on the Pi4, but not just that, but making scripts for everyone to use also.
My Retro-Pie Extra on github.
I want to thank @retropi19 and @tpo1990 for getting me going
also want to thank @ecto and @quicksilver for figuring out some of the games, without them some scripts might not of been madeThere are a few others who scripts i cleaned up and got working again, but they are not here anymore so i cant give credit to them.
UPDATE 1-4-2022
I have gone through and did some work on RetroPie-Extra . it now installs to the ext folder in the RetroPie-Setup.
Also i have cleaned the not installing programs (i will be working on them as time goes on)
I am self taught with writing scripts, also just using Linux commands in general.
So if anyone wants to point out any better ways, all I ask is to explain why so i understand it betterAlso for the moderators, how do i go about finding out if a game is abandonware, or some files are ok to be included. like mp3s that used to be on the company site, but the company is no more, Ect.
I dont want to get anyone in trouble or myselfOh yeah, if anyone as any requests for getting something going, Im always willing to take a crack at it.
Quite a few of my ports are using XINIT to run, and only a very small few have controller support so you will need to use a keyboard and mouse or use xboxdrv to map your controller
Well thats about it so to get things started here are a few links to my scripts that I got on my github
wget https://raw.githubusercontent.com/Exarkuniv/-RollerCoaster-Tycoon-2-port/Master/openrct.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
wget https://raw.githubusercontent.com/Exarkuniv/Nblood-RPI/Master/nblood.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
wget https://raw.githubusercontent.com/Exarkuniv/PCExhumed-RPI/Master/pcexhumed.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
wget https://raw.githubusercontent.com/Exarkuniv/Rednukem-RPI/Master/rednukem.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
I'll being adding more as i get them cleaned up and documentation made for them
Heres a bunch of different Background Music Players that I found on the forum.
I have not tested them all to see if they still work on the newest Retropie versions
Another BGM for es script
Updated BGM for es script
BGM music mpg123 with fade in/out
Integrated music player for Retropie -IMP
Music, video photo comic support submission
Officialphilcomm Retropie music His Github page with instructions
How to add background music in just 5 commands
Quick and easy guide for adding music to ES, Noob friendly
RetroPie BGM player
Project python background music package for ES?
RetroPie Background Music Overlay v2.11
BGM123 by s1eve-mcdichae1
-
Here are the ports that @tpo1990 made.
I did have to edit the one for Blake stone
Return to Castle Wolfenstein
wget https://raw.githubusercontent.com/tpo1990/RTCW-RPI/master/rtcw.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
Doom Legacy source port
wget https://raw.githubusercontent.com/tpo1990/DoomLegacy-RPI/master/doomlegacy.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
Hexen 2 (uses SDL1, so best for the Pi3)
wget https://raw.githubusercontent.com/tpo1990/Hexen2-RPI/master/hexen2.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
Jazz Jackrabbit
wget https://raw.githubusercontent.com/tpo1990/JazzJackrabbit-RPI/master/openjazz.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
Caesar III
wget https://raw.githubusercontent.com/tpo1990/CaesarIII-RPI/master/julius.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
Blake stone
wget https://raw.githubusercontent.com/Exarkuniv/BlakeStone-RPI/master/bstone.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
ECWolf - Wolfenstein 3D engine
wget https://raw.githubusercontent.com/tpo1990/ECWolf-RPI/master/ecwolf.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
-
Hi,
I've tried your build sourceports
nblood
,pcexhumed
andrednukem
. Thank you for that. I had them installed by hand before, but this way is much easier. What I found out to be very interesting is that you completely disabeled opengl.
In conjuction with running these games withXINIT
I was able to achieve fullHD without slowdowns. That's quite impressive! Before I was using opengl (and the polymost renderer) but I only achieved a fluent gameplay at a resolution of1280x720
. Interestingly withoutXINIT
the games a a lot slower... strange...I had some problems, because of the ingame
fullscreen
setting. If it's enabeled, the mouse and keyboard don't respond anymore. It's a known problem with retropie and xinit, but I had forgotten that...
I'll try some other settings soon. Like enabeling opengl and disabeling polymost. I'd like to see the difference in rendereing up close. But it's probably not needed.I have a couple of questions though:
- How do you enable the other episodes (cryptic passage, suckin' grits on route 66 and ...rides again)? I have a separate ports folder in
/opt/retropie/ports
with an alteredemulators.cfg
. I guess there might be a nicer way... - Can I change any settings for
pcexhumed
? I was not able to find that ingame... - Will you port over Shadow Warrior, too? I have it running, but I also did that by hand.
Anyways, thanks for your scripts, they are a great addition to retropie, I think!
- How do you enable the other episodes (cryptic passage, suckin' grits on route 66 and ...rides again)? I have a separate ports folder in
-
@ecto thanks for giving them a try. :)
has for your questions. opengl is for some reason that there would be a odd color effect going on in the menu but in game looks fine (very odd), so i have it off so it look good right out of the box.
UPDATE: so i did mess with it again with
USE_OPENGL=1 POLYMER=0
and it failed to complie. so Polymer needs to be on for it to work. you can play around with opengl. as i said the menu as a off color but the game it self looks fine from the little i have playedyes the fullscreen is a issue for xinit. that is why for these three games i have a config file get pulled down to change that so the mouse and keyboard will work. supposedly it is a issue with the SDL version we have on this OS. the guys on OpenMW where talking about it and it might of been fixed with a new SDL version.
I will add a comment about that so people know
Yes the other episodes will be worked on soon. i did try cryptic passage but i did not get it to work. so i need to mess with it more
sadly there are no setting that you can change for
pcexhumed
ingame there is a config file in.config/pcexhumed
that you can play withYes i have a script for Shadow Warrior, plus like 26 others. i will be posting soon. im doing one last check and test to make sure they are good
any thoughts and questions im open too, thanks again for trying them
-
@exarkuniv So I compiled
nblood
/rednukem
andpcexhumed
again with opengl support on and now I can choose which renderer I like. Opengl looks a bit better and is acutually almost on par with the software renderer except for redneck, which is clearly faster in software mode. But as you said, the into movies have strange colors. Interestingly the blood ingame movie looks ok. Strange.Today I tried OpenRCT2 and your script also workling very well. I have fullscreen and window mode set to
1980x1080
and the ingame scaler to 2x, so it's running in widescreen resolution with good performance (around 40-50 fps in the intro)Another thing which might be important for your scripts: there is a SDL2 port of Hexen2. I don't know which repo you're based on, but it's a thing to consider as SDL1 does not work well for Rpi4 with full KMS.
Thanks again for the scrips. They're much appreciated!
-
@ecto thanks for the update. for most people ill just leave them as is so there are no weird colors.
as for hexen 2 i did not know that. ill take a look. the script i posted was from @tpo1990, and other then the Blake stone one i did not touch them since they seemed to work.
but now i will dive it to it and see what i can find.
i will be posting another batch of scripts soon
-
Hexen 2 port - With SDL 2 and GL support (i think)
wget https://raw.githubusercontent.com/Exarkuniv/Hexen2-RPI/master/hexen2.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
Thanks to @ecto for point the SDL2 version
-
@ExarKunIv Hello, this is the code that I use to install Half-Life, Half-Life: Blue Shift and Half-Life: Opposing Force. I think it can be useful. It is based on the one from @zerojay.
I have only tested it on RPI4, with Rasbian OS Buster updated, and the latest version of Retropie. I think it needs modifications if it is to be used in another RPI other than 4, since the output files will have different names as they are different architectures.
#!/usr/bin/env bash # This file is part of The RetroPie Project # # The RetroPie Project is the legal property of its developers, whose names are # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. # # See the LICENSE.md file at the top-level directory of this distribution and # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md # rp_module_id="xash3d-fwgs" rp_module_desc="xash3d-fwgs - Half-Life Engine Port" rp_module_help="Please add your full version Half-Life data files (folders /valve, /bshift and /gearbox) to $romdir/ports/xash3d-fwgs/ to play." rp_module_section="exp" rp_module_flags="!mali !x86" function depends_xash3d-fwgs() { getDepends libsdl2-dev libfontconfig1-dev libfreetype6-dev } function sources_xash3d-fwgs() { gitPullOrClone "$md_build/$md_id" https://github.com/FWGS/xash3d-fwgs.git gitPullOrClone "$md_build/hlsdk" https://github.com/FWGS/hlsdk-xash3d.git gitPullOrClone "$md_build/bshiftsdk" https://github.com/FWGS/hlsdk-xash3d.git "bshift" gitPullOrClone "$md_build/opforsdk" https://github.com/FWGS/hlsdk-xash3d.git "opfor" } function build_xash3d-fwgs() { cd "$md_build/$md_id" ./waf configure -T release ./waf build cd "$md_build/hlsdk" ./waf configure -T release ./waf build cd "$md_build/bshiftsdk" ./waf configure -T release ./waf build cd "$md_build/opforsdk" ./waf configure -T release ./waf build md_ret_require=( "$md_build/$md_id/build/game_launch/xash3d" "$md_build/$md_id/build/engine/libxash.so" "$md_build/$md_id/build/mainui/libmenu.so" "$md_build/$md_id/build/ref_soft/libref_soft.so" "$md_build/$md_id/build/ref_gl/libref_gl.so" ) } function install_xash3d-fwgs() { md_ret_files=( "$md_id/build/game_launch/xash3d" "$md_id/build/engine/libxash.so" "$md_id/build/mainui/libmenu.so" "$md_id/build/ref_soft/libref_soft.so" "$md_id/build/ref_gl/libref_gl.so" ) } function configure_xash3d-fwgs() { mkRomDir "ports/$md_id/valve" mkdir "$romdir/ports/$md_id/valve/cl_dlls" mkdir "$romdir/ports/$md_id/valve/dlls" mkdir -p "$romdir/ports/$md_id/bshift/cl_dlls" mkdir -p "$romdir/ports/$md_id/bshift/dlls" mkdir -p "$romdir/ports/$md_id/gearbox/cl_dlls" mkdir -p "$romdir/ports/$md_id/gearbox/dlls" moveConfigDir "$md_inst/valve" "$romdir/ports/$md_id/valve" moveConfigDir "$md_inst/bshift" "$romdir/ports/$md_id/bshift" moveConfigDir "$md_inst/gearbox" "$romdir/ports/$md_id/gearbox" cp "$md_build/hlsdk/build/cl_dll/client_armv8_32hf.so" "$romdir/ports/$md_id/valve/cl_dlls/client.so" cp "$md_build/hlsdk/build/dlls/hl_armv8_32hf.so" "$romdir/ports/$md_id/valve/dlls/hl.so" cp "$md_build/bshiftsdk/build/cl_dll/client_armv8_32hf.so" "$romdir/ports/$md_id/bshift/cl_dlls/client.so" cp "$md_build/bshiftsdk/build/dlls/bshift_armv8_32hf.so" "$romdir/ports/$md_id/bshift/dlls/hl.so" cp "$md_build/opforsdk/build/cl_dll/client_armv8_32hf.so" "$romdir/ports/$md_id/gearbox/cl_dlls/client.so" cp "$md_build/opforsdk/build/dlls/opfor_armv8_32hf.so" "$romdir/ports/$md_id/gearbox/dlls/hl.so" download "https://github.com/FWGS/xash-extras/releases/download/v0.19.2/extras.pak" "$romdir/ports/$md_id/valve" chown -R $user:$user "$romdir/ports/$md_id/" addPort "$md_id" "xash3d-fwgs" "Half-Life" "pushd $romdir/ports/$md_id/; LD_LIBRARY_PATH=$md_inst $md_inst/xash3d -game %ROM% -clientlib cl_dlls/client.so -dll dlls/hl.so; popd" "valve" addPort "$md_id" "xash3d-fwgs" "Half-Life - Blue Shift" "pushd $romdir/ports/$md_id/; LD_LIBRARY_PATH=$md_inst $md_inst/xash3d -game %ROM% -clientlib cl_dlls/client.so -dll dlls/hl.so; popd" "bshift" addPort "$md_id" "xash3d-fwgs" "Half-Life - Opposing Force" "pushd $romdir/ports/$md_id/; LD_LIBRARY_PATH=$md_inst $md_inst/xash3d -game %ROM% -clientlib cl_dlls/client.so -dll dlls/hl.so; popd" "gearbox" }
Once installed it is only necessary to copy the files of each of the games in their respective folders
/roms/ports/xash3d-fwgs/valve
/roms/ports/xash3d-fwgs/bshift
/roms/ports/xash3d-fwgs/gearboxI run it at a resolution of 1024x768, I modify them in the video.cfg file, which is created after the first start
I also modify the config.cfg file as follows:
r_vbo "0" r_vbo_dlightmode "1" cl_lw "0"
If you want to read more about these settings you can do it here https://github.com/FWGS/xash3d/issues/349
Greetings
-
@cesarpuig very cool.
i will compare it to the one i have and change it if needed with what you posted.thanks for sharing
-
Devilutionx - Port of Diablo 1( got it working again )
wget https://raw.githubusercontent.com/Exarkuniv/Devilutionx-RPI/Master/devilutionx.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
Cytadela port
wget https://raw.githubusercontent.com/Exarkuniv/Cytadela-RPI/Master/cytadela.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
Augustus - enhanced port of Caesar 3
wget https://raw.githubusercontent.com/Exarkuniv/Augustus-RPI/Master/augustus.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
-
@exarkuniv Hi again, I tried your devilutionx script. Thanks for that, too!
There's a new 1.3.0 release with many new features and fixes that you could use in your script. :D (I tried to change it by hand. But there are some differences how the binary is distibuted, and I hadn't had enough time to go through all)
Keep up to good work!
-
@ecto thanks again
i think i might of tryied 1.3.0. but i cant remember. but i will make a note to go back and give it a try and any other updates the anyone has or finds.i will get a few new ones posted in the next day or so.
-
Here's a few more for you all
Doom 3
wget https://raw.githubusercontent.com/Exarkuniv/Doom-3-RPI/Master/dhewm3.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
Dune Dynasty
wget https://raw.githubusercontent.com/Exarkuniv/dunedynasty-RPI/Master/dunedynasty.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
Dune Legacy
wget https://raw.githubusercontent.com/Exarkuniv/DuneLegacy-RPI/Master/dunelegacy.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
-
Here's a couple more.
Dave Gnukem
wget https://raw.githubusercontent.com/Exarkuniv/Dave-Gnukem-RPI/Master/gnukem.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
GL version of Hexen2 for Pi4
wget https://raw.githubusercontent.com/Exarkuniv/Hexen2-GL-RPi/Master/hexen2.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
Hheretic for the Pi4 GL version (i think)
wget https://raw.githubusercontent.com/Exarkuniv/Hheretic-RPi/Master/hheretic.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
Hhexen port GL version ( i think )
wget https://raw.githubusercontent.com/Exarkuniv/Hhexen-RPi/Master/hhexen.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
-
-
Here's some more
Again if anyone has suggestions or there are any issues. Please let me know
Open RA
wget https://raw.githubusercontent.com/Exarkuniv/OpenCC-RPi/Master/opencc.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
OpenJK: Jedi Academy
wget https://raw.githubusercontent.com/Exarkuniv/OpenJK-JA-RPi/Master/openjk_ja.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
OpenJK Jedi Outcast
wget https://raw.githubusercontent.com/Exarkuniv/Openjk-jo-RPi/Master/openjk_jo.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
-
Here is a script made by @sleve_mcdichael it is a GMLoader engine it is to run GameMaker Studio games for Android
i can say it does AM2R works quite well
wget https://raw.githubusercontent.com/s1eve-mcdichae1/GMLoader-RPi/main/gmloader.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
-
@exarkuniv hey, my music script made it on the list!
First, yes, my script still works, and it is constantly updated. I just made a huge rewrite in another language, which hopefully results in less workload, especially for something like the Pi Zero where all performance increases matter.
Second, if you want, you can in addition directly link the github page: https://github.com/OfficialPhilcomm/retropie-music, which has installation instructions.
Of course I am always open to suggestions when it comes to improvements and new features.
-
@philcomm i have added a link to your github.
-
@exarkuniv I saw it, thank you :D
And thanks for keeping this updated, this is a cool post, I have it linked in my personal "guide to retropie"
-
@exarkuniv I was thinking for a long time to make an
Ultimate guide to RetroPie
, which includes stuff like additional packages, setup/configuration to make RetroPie as clean of a setup as for example a playstation, background music, and so on.I have something like this for me privately, but not public. Would you be interested in creating such a document together?
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.