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 128.7k 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 @ecto
      last edited by ExarKunIv

      @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=0and 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 played

      yes 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 with

      Yes 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

      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 .

      ectoE 1 Reply Last reply Reply Quote 0
      • ectoE
        ecto @ExarKunIv
        last edited by ecto

        @exarkuniv So I compiled nblood/rednukem and pcexhumed 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 1980x1080and 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!

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

          @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

          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
            last edited by

            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

            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

              @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/gearbox

              I 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

              ExarKunIvE 1 Reply Last reply Reply Quote 2
              • ExarKunIvE
                ExarKunIv @Cesarpuig
                last edited by

                @cesarpuig very cool.
                i will compare it to the one i have and change it if needed with what you posted.

                thanks for sharing

                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
                  last edited by

                  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/
                  

                  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 .

                  ectoE 1 Reply Last reply Reply Quote 1
                  • ectoE
                    ecto @ExarKunIv
                    last edited by

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

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

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

                      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
                        last edited by

                        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/
                        

                        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
                          last edited by

                          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/
                          

                          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 .

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

                            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/
                            

                            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
                              last edited by

                              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

                              GMLoader

                              wget https://raw.githubusercontent.com/s1eve-mcdichae1/GMLoader-RPi/main/gmloader.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
                              

                              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 1
                              • PhilcommP
                                Philcomm @ExarKunIv
                                last edited by Philcomm

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

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

                                  @philcomm i have added a link to your github.

                                  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 .

                                  PhilcommP 2 Replies Last reply Reply Quote 0
                                  • PhilcommP
                                    Philcomm @ExarKunIv
                                    last edited by

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

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

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

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

                                        @philcomm thanks for linking my post.

                                        ill take all the help to get more people to find this. :)

                                        Sure i would love to make something with you
                                        I was thinking something along the same line. this post was kinda a start for it.

                                        there is so much good stuff out there and alot of it get lost in the forum

                                        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 .

                                        PhilcommP 1 Reply Last reply Reply Quote 0
                                        • PhilcommP
                                          Philcomm @ExarKunIv
                                          last edited by

                                          @exarkuniv said in Suggestions for ports #2:

                                          @philcomm thanks for linking my post.

                                          ill take all the help to get more people to find this. :)

                                          Sure i would love to make something with you
                                          I was thinking something along the same line. this post was kinda a start for it.

                                          there is so much good stuff out there and alot of it get lost in the forum

                                          Nice to hear. So I was thinking about hosting a markdown document somewhere. That way we don't have to worry too much about formatting.
                                          I think very important here is the structure. It is very easy to just put stuff in the document, but another thing to make it easily navigatable and understandable.

                                          ExarKunIvE J 2 Replies Last reply Reply Quote 0
                                          • ExarKunIvE
                                            ExarKunIv @Philcomm
                                            last edited by

                                            @philcomm said in Suggestions for ports #2:

                                            I think very important here is the structure. It is very easy to just put stuff in the document, but another thing to make it easily navigatable and understandable

                                            I can't agree more

                                            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 .

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