Suggestions for ports #2
-
Hi @ExarKunIv New changes in Xash3d:
- The location of the files libref_soft.so, libref_gl.so and libmenu.so has currently changed is as follows:
"$md_id/build/3rdparty/mainui/libmenu.so" "$md_id/build/ref/soft/libref_soft.so" "$md_id/build/ref/gl/libref_gl.so"
- Estrax is currently built from source as a submodule, you no longer need to download it, but copy it to the gamedata folder:
cp "$md_build/$md_id/build/3rdparty/extras/extras.pk3" "$romdir/ports/$md_id/valve/" cp "$md_build/$md_id/build/3rdparty/extras/extras.pk3" "$romdir/ports/$md_id/bshift/" cp "$md_build/$md_id/build/3rdparty/extras/extras.pk3" "$romdir/ports/$md_id/gearbox/"
My installation script looks like this:
#!/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-portable.git gitPullOrClone "$md_build/bshiftsdk" https://github.com/FWGS/hlsdk-portable.git "bshift" gitPullOrClone "$md_build/opforsdk" https://github.com/FWGS/hlsdk-portable.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/3rdparty/mainui/libmenu.so" "$md_build/$md_id/build/ref/soft/libref_soft.so" "$md_build/$md_id/build/ref/gl/libref_gl.so" "$md_build/$md_id/build/filesystem/filesystem_stdio.so" ) } function install_xash3d-fwgs() { md_ret_files=( "$md_id/build/game_launch/xash3d" "$md_id/build/engine/libxash.so" "$md_id/build/3rdparty/mainui/libmenu.so" "$md_id/build/ref/soft/libref_soft.so" "$md_id/build/ref/gl/libref_gl.so" "$md_id/build/filesystem/filesystem_stdio.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" cp "$md_build/$md_id/build/3rdparty/extras/extras.pk3" "$romdir/ports/$md_id/valve/" cp "$md_build/$md_id/build/3rdparty/extras/extras.pk3" "$romdir/ports/$md_id/bshift/" cp "$md_build/$md_id/build/3rdparty/extras/extras.pk3" "$romdir/ports/$md_id/gearbox/" 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" }
-
@Cesarpuig thank you for that, i will update on my end and test.
-
@ExarKunIv One more request: Arduous (Arduboy emulator). Tons of really fun games on there :)
https://www.libretro.com/index.php/libretroretroarch-new-cores/
-
@JimmyFromTheBay might be doable
-
-
Well its been awhile, but i have been working hard on getting new ports up and running
Here is the update of what i have added to RetroPie-Extras.
Also I have removed
mass-install-extras
as it is just silly to have more the 2 ways to do the same thingthere is a command line way to just install them all in one shot, Instructions are in the README
Libretrocores
- -
lr-bsnes-hd.sh
- "Super Nintendo Emulator - bsnes-HD port for libretro (BETA)" - Installs, Plays, Runs OK - -
lr-samecdi
- Philips CDI - same_cdi port for libretro - Installs Fine, Dont have games to test
Ports
- -
berusky.sh
- Advanced sokoban clone with nice graphics - Installs, Plays fine - -
boswars.sh
- Battle of Survival - is a futuristic real-time strategy game - Installs, Plays fine, needs mouse - -
dunelegacy.sh
- Dune 2 Building of a Dynasty port - Installs Play sgreat,/W game - -
extremetuxracer.sh
- Linux verion of Mario cart - Installs, Plays great - -
fruity.sh
- inspired by the Kaiko classic Gem'X - Installs, Plays great - -
hexen2gl.sh
- Hexen II - Hammer of Thyrion source port using OpenGL - Installs, Plays great w/demo - -
hheretic.sh
- Heretic GL port - Installs, Plays great w/demo - -
hhexen.sh
- Hexen GL portt - Installs, Plays great w/demo - -
samtfe
- Serious Sam Classic The First Encounter. - Installs, and plays great - -
samtse
- Serious Sam Classic The Second Encounter. - Installs, and plays great - -
septerra.sh
- Septerra Core: Legacy of the Creator port Installs Plays fine - -
shiromino.sh
- Tetris The Grand Master Clone Installs Plays fine - -
shockolate.sh
- Source port of System Shock Installs Plays fine - -
simutrans.sh
- freeware and open-source transportation simulator Installs Plays fine - -
vanillacc.sh
- Vanilla-Command and Conquer - Installs, Plays great - -
wesnoth.sh
- turn-based strategy game - Installs, Plays OK
like always let me know how things are working
-
@ExarKunIv That's awesome, thank you so much for all of your hard work. Can you please remind me how to update RetroPie-Extras?
Thanks.
-
@Retro-Arcade-Fan said in Suggestions for ports #2:
Can you please remind me how to update RetroPie-Extras?
cd ~/RetroPie-Extra git pull origin
If you need to update from ZeroJay's repo - first, discard the most recent commit:
git reset --hard HEAD^
Switch to ExarKuniv's new repo:
git remote set-url origin https://github.com/Exarkuniv/RetroPie-Extra
Then pull again from the updated origin:
git pull origin
-
@sleve_mcdichael as always thanks for your help
-
@sleve_mcdichael Thank you as always!
-
a late update
a big thank you for @Folly for getting this one going,- -
lr-arduous
- ArduBoy emulator - arduous port for libretro- Installs, Plays, Runs well
he also got going
- -
lr-samecdi
- Philips CDI - same_cdi port for libretro - Installs, Dont have games to test
for
lr-arduous
you might want to play around with the shaders to make it alittle bit better -
@sleve_mcdichael said in Suggestions for ports #2:
git pull origin
I must be doing something wrong. Or I'm not reading this correctly. I ran all 5 commands and still don't see those 2 emulators under experimental.
-
@Retro-Arcade-Fan said in Suggestions for ports #2:
still don't see those 2 emulators under experimental.
You then need to run
./install-extras.sh
and select which modules will be copied to your RP-Setup directory, then they should be available in the Setup script. -
@sleve_mcdichael @Folly @ExarKunIv That worked, thank you. I now see them. Arduous installed fine. But lr-samecdi gives me this error after over an hour:
-
@Retro-Arcade-Fan that's odd since it did install fine for me when I tested before I added it to me repo.
I'll look when in I'm front of my pi again
-
What kind of raspberry pi do you use and how much ram does it have ?
I will try it on my rpi4-8gb and see if it works.
Edit : I worked without any problemsOn my Apple M1 with Debian11 in UTM I had the same problem as you.
Manually compiling worked though, so we have to look further.
RPi4 Model B 8gb / Freecom 2Tb USB3 / Raspberry pi OS/Bullseye+Desktop/gcc10 / RetroPie 4.7.20
-
@Folly I have a Raspberry Pi 4 with 4 gigs of ram.
-
@Folly ok i tested it on my Pi4 4gb, and it compiled and installed fine. on my end
i did see that it does not make a folder for the bios, so i needed to make a folder for it.when i tested a rom, it starts with a gray screen and a popup says that it cant start the game due to missing files, but i dont know what files its missing.
i did go into the setting and manually set where to fine the bios, and still same error
UPDATE
i tried a few different versions of the bios and a few differeent roms, and still nothing. just a gray box and a error popup about missing files -
Copy cdimono1.zip (or .7z) in (see
mame-merged
) :
/home/pi/RetroPie/BIOS/same_cdi/bios
(Indeed perhaps a good idea to create the directory in the module-script)The bios has to contain (sha1sum filename) :
d961de803c89b3d1902d656ceb9ce7c02dccb40a cdi200.rom
53360a1f21ddac952e95306ced64186a3fc0b93e cdi220b.rom
5d757ab46b8c8fc36361555d978d7af768342d47 cdi220.rom
fdf8d78d6a0df4a56b5b963d72eabd39fcec163f zx405037p__cdi_servo_2.1__b43t__llek9215.mc68hc705c8a_withtestrom.7201
56d0acd7caad51c7de703247cd6d842b36173079 zx405042p__cdi_slave_2.0__b43t__zzmk9213.mc68hc705c8a_withtestrom.7206That should work.
-
@Folly Any suggestions on the initial install of lr-samecdi for me since I can't seem to install it at all?
-
Not yet,
As @ExarKunIv also uses a 4gb rpi4 it's hard to tell what the problem is.
I assume you use 32 bit OS, right ?I had the same problem on my Apple M1 running debian11 (aarch64) in UTM.
But manually compiling it worked.
If you are able to compile it manually, then we can see if that works.instructions are here :
https://github.com/libretro/same_cdi
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.