RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Suggestions for ports #2

    Scheduled Pinned Locked Moved Ideas and Development
    portsgamesscripts
    367 Posts 26 Posters 129.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ExarKunIvE
      ExarKunIv @JimmyFromTheBay
      last edited by

      @JimmyFromTheBay it should be doable

      RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
      RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
      Maintainer of RetroPie-Extra .

      1 Reply Last reply Reply Quote 0
      • C
        Cesarpuig
        last edited by

        Hi @ExarKunIv New changes in Xash3d:

        1. 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"
        
        1. 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"
        }
        
        
        ExarKunIvE 1 Reply Last reply Reply Quote 0
        • ExarKunIvE
          ExarKunIv @Cesarpuig
          last edited by

          @Cesarpuig thank you for that, i will update on my end and test.

          RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
          RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
          Maintainer of RetroPie-Extra .

          J 1 Reply Last reply Reply Quote 0
          • J
            JimmyFromTheBay @ExarKunIv
            last edited by

            @ExarKunIv One more request: Arduous (Arduboy emulator). Tons of really fun games on there :)

            https://www.libretro.com/index.php/libretroretroarch-new-cores/

            Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

            ExarKunIvE 1 Reply Last reply Reply Quote 0
            • ExarKunIvE
              ExarKunIv @JimmyFromTheBay
              last edited by

              @JimmyFromTheBay might be doable

              RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
              RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
              Maintainer of RetroPie-Extra .

              1 Reply Last reply Reply Quote 0
              • ExarKunIvE ExarKunIv referenced this topic on
              • ExarKunIvE
                ExarKunIv
                last edited by

                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 thing

                there 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

                RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                Maintainer of RetroPie-Extra .

                R J 2 Replies Last reply Reply Quote 3
                • R
                  Retro Arcade Fan @ExarKunIv
                  last edited by

                  @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.

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    sleve_mcdichael @Retro Arcade Fan
                    last edited by sleve_mcdichael

                    @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
                    
                    ExarKunIvE R J 4 Replies Last reply Reply Quote 1
                    • ExarKunIvE
                      ExarKunIv @sleve_mcdichael
                      last edited by

                      @sleve_mcdichael as always thanks for your help

                      RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                      RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                      Maintainer of RetroPie-Extra .

                      1 Reply Last reply Reply Quote 0
                      • R
                        Retro Arcade Fan @sleve_mcdichael
                        last edited by

                        @sleve_mcdichael Thank you as always!

                        1 Reply Last reply Reply Quote 0
                        • ExarKunIvE
                          ExarKunIv
                          last edited by ExarKunIv

                          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

                          RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                          RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                          Maintainer of RetroPie-Extra .

                          J 1 Reply Last reply Reply Quote 3
                          • R
                            Retro Arcade Fan @sleve_mcdichael
                            last edited by

                            @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.

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              sleve_mcdichael @Retro Arcade Fan
                              last edited by

                              @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.

                              R 1 Reply Last reply Reply Quote 1
                              • R
                                Retro Arcade Fan @sleve_mcdichael
                                last edited by Retro Arcade Fan

                                @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:

                                IMG_0228.jpg

                                ExarKunIvE F 2 Replies Last reply Reply Quote 0
                                • ExarKunIvE
                                  ExarKunIv @Retro Arcade Fan
                                  last edited by

                                  @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

                                  RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                  RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                  Maintainer of RetroPie-Extra .

                                  1 Reply Last reply Reply Quote 0
                                  • F
                                    Folly @Retro Arcade Fan
                                    last edited by Folly

                                    @Retro-Arcade-Fan

                                    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 problems

                                    On 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

                                    R ExarKunIvE 2 Replies Last reply Reply Quote 0
                                    • R
                                      Retro Arcade Fan @Folly
                                      last edited by

                                      @Folly I have a Raspberry Pi 4 with 4 gigs of ram.

                                      1 Reply Last reply Reply Quote 0
                                      • ExarKunIvE
                                        ExarKunIv @Folly
                                        last edited by

                                        @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

                                        RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                        RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                        Maintainer of RetroPie-Extra .

                                        F 1 Reply Last reply Reply Quote 0
                                        • F
                                          Folly @ExarKunIv
                                          last edited by Folly

                                          @ExarKunIv

                                          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.7206

                                          That should work.

                                          R 1 Reply Last reply Reply Quote 1
                                          • R
                                            Retro Arcade Fan @Folly
                                            last edited by

                                            @Folly Any suggestions on the initial install of lr-samecdi for me since I can't seem to install it at all?

                                            F 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            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.