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 154.5k 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.
    • S
      sleve_mcdichael @Jste84
      last edited by

      @Jste84 I haven't tested this yet, but it should replicate the steps outlined in:

      https://github.com/fofix/fofix/blob/master/doc/source/quickstart/Linux_Setup_Guide.md

      ...with some educated guesses in re: the md_ret_files and # symlink config dirs functions.

      Make a backup, first. It wants to install pip from an external source (https://bootstrap.pypa.io/pip/2.7/get-pip.py -- seems legit, I guess? See also: https://github.com/pypa/get-pip#readme) and then use it to install some additional packages; also it wants to remove package libjack-jackd2-0 and replace with libjack0 as a dependency required to to install portaudio19-dev.

      I haven't tested because I have no interest in playing this with a keyboard, and the GH controller I thought was in the back of my closet turned out to be for PlayStation (so, not USB), so I'm going to leave my system as-is. Let us know if it works for you, though, and I'll submit a PR; in any case, we should probably remove the old script, as it doesn't do anything useful (it builds glshim that isn't needed, and then it attempts to install a package that doesn't exist and configure a port that wasn't installed.)

      To use, paste this code into your ~/RetroPie-Setup/ext/RetroPie-Extra/scriptmodules/ports/fofix.sh file, replacing all of its existing contents, and then reinstall fofix through RetroPie-Setup.

      #!/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="fofix"
      rp_module_desc="Frets on Fire X - Guitar Hero and Rock Band clone"
      rp_module_licence="GPL2 https://raw.githubusercontent.com/fofix/fofix/master/COPYING"
      rp_module_repo="git https://github.com/fofix/fofix.git"
      rp_module_section="exp"
      rp_module_flags="noinstclean !mali !x86"
      
      function depends_fofix() {
          getDepends python2 libglu1-mesa-dev freeglut3-dev mesa-common-dev ffmpeg pkg-config libogg-dev libportmidi-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev libsoundtouch-dev libswscale-dev libtheora-dev libvorbis-dev mesa-utils portaudio19-dev python-dev gettext xorg
      
          # install pip and packages
          local tmpdir="$(mktemp -d)"
          local url="https://bootstrap.pypa.io/pip/2.7/get-pip.py"
          local file="${url##*/}
      
          download "$url" "$tmpdir"
          python2 "$tmpdir/$file"
          rm -rf "$tmpdir"
      
          pip2 install - numpy
          pip2 install --upgrade cython
          pip2 install PyOpenGL PyOpenGL_accelerate
      }
      
      function sources_fofix() {
          gitPullOrClone
      }
      
      function build_fofix() {
          python setup.py build_ext --inplace --force
          python setup.py msgfmt
          pip install -r requirements.txt
      
          # ensure build completed
          md_ret_require="$md_build/build"
      }
      
      function install_fofix() {
          md_ret_files=(
              'fofix'
              'data'
              'FoFiX.py'
          )
      }
      
      function configure_fofix() {
          local script="$md_inst/$md_id.sh"
          local file="$md_inst/FoFiX.py"
      
          addPort "$md_id" "fofix" "FoFiX - Guitar Hero and Rock Band clone" "XINIT:$script"
          moveConfigDir "$home/.fofix" "$md_conf_root/$md_id"
          [[ "$md_mode" == "remove" ]] && return
      
          # chown install dir -- may not be necessary?
          #chown -R $user:$user "$md_inst"
      
          # symlink config dirs
          local dir
          for dir in mods shaders songs themes tutorials users; do
              moveConfigDir "$md_inst/data/$dir" "$md_conf_root/$md_id/$dir"
          done
      
          cat > "$script" << _EOF_
      #!/bin/bash
      python "$file"
      _EOF_
          chmod +x "$script"
      }
      

      ...if it installs but doesn't play (or if it plays but doesn't save, or crashes), try removing the # from line #chown -R $user:$user "$md_inst", and install again. This will make the install directory user-owned instead of admin, allowing files to be written to here by the normal user when the game is running.

      1 Reply Last reply Reply Quote 0
      • S
        sleve_mcdichael
        last edited by sleve_mcdichael

        Got one for the "unstable" repo. It works, but requires a keyboard.

        "Chopper Commando Revisited" is a port for modern systems of the 1990 (1988? Sources differ) DOS game "Chopper Commando" (CHOPPER2.EXE), written by at-the-time 15-year-old Mark Currie while learning to program and ported to SDL2 by Jason McSweeney (loadzero), with additional work by Harvey Patterson.

        B85FD5B8-B10D-40EC-9D33-4AA2BC2A8276.jpeg

        Get the scriptmodule at https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra-unstable/master/scriptmodules/ports/chopper258.sh or in RetroPie-Extra-unstable.

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

          Hi fellow Ports-fans. I just found a new potential game for the Retropie: Arx Fatalis (also available on GOG).

          The source code was made public and there is the project Arx Libertatis on Github. I tried to compile it (which worked). But when I run it, it crashes. I think it's sound related, but I'm not sure...

          Maybe some else wants to take a shot. ;)

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

            just wanted to let you all know, im back on working on my scripts.

            i have updated the main repo with a few scripts from @sleve_mcdichael.

            and i have started taking a better look at the other scripts and cleaning them up a little more and doing a better test to see what works and what doesn't.

            i might even try to mess around with making a few new ones too.

            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 2
            • ExarKunIvE
              ExarKunIv
              last edited by

              I have added
              chopper258.sh
              and
              prototype.sh to Extras, thanks to @sleve_mcdichael for taking a shot at them.
              they both need keyboards but otherwise play fine.

              i moved
              amphetamine.sh due to it not going fullscreen and it being a small window in the upper left corner

              i have installed and played around with
              abuse.sh - Classic action game
              augustus.sh - Augustus - Enhanced Caesar III source port
              audacity.sh Audacity open-source digital audio editor
              bstone.sh - Blake Stone - BStone A source port of Blake Stone: Aliens of Gold and Blake Stone: Planet Strike

              they all work well and are full screen,

              for Augustus i fixed the missing assets
              bstone i believe i have got it so it starts with full screen out of box

              I will be posting updates as i get through a handfull

              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 5
              • ExarKunIvE
                ExarKunIv
                last edited by ExarKunIv

                I forgot with my last post i also added a new BGM script made by @sleve_mcdichael
                Please give bgm123.sh a try and let him know how it works and if any improvements are needed or ideas
                it is in the supplementary part of the Retropie setup

                i have done more clean up and testing on my end

                barrage.sh Shooting Gallery action game
                bermudasyndrome.shBermuda Syndrome engine
                bloboats.sh Fun physics game
                breaker.sh Arkanoid clone
                burgerspace.sh BurgerTime clone
                chocolate-doom.sh- DOOM source port
                chocolate-doom-system.sh- For setting up DOOM as an emulated system, not port
                chromium.sh - Open Source Web Browser
                crispy-doom.sh DOOM source port
                crispy-doom-system.sh For setting up DOOM as an emulated system, not port

                for these
                bermudasyndrome.sh works but i cant figure out how to exit the game
                breaker.sh need to drop the resolutions down to the lowest to get full screen
                burgerspace.shneed to drop the resolutions down to the lowest to get full screen

                both crispy-doom-system and chocolate-doom-system makes its own system folder for the WADS to go into

                as always let me know what needs work on my github

                UPDATE
                corsixth.sh - Theme Hospital engine clone -
                crack-attack.sh - Tetris Attack clone -

                corsixth now installs the demo and correct data path
                crack-attack.shneed to drop the resolutions down to the lowest to get full screen kinda. you'll see if you try it

                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 .

                S 1 Reply Last reply Reply Quote 4
                • S
                  sleve_mcdichael @ExarKunIv
                  last edited by

                  @ExarKunIv said in Suggestions for ports #2:

                  Please give bgm123.sh a try and let him know how it works and if any improvements are needed or ideas
                  it is in the supplementary part of the Retropie setup

                  You can follow my development version here:

                  https://github.com/s1eve-mcdichae1/RetroPie-Extra/blob/bgm123/scriptmodules/supplementary/bgm123.sh

                  This might be about ready for a bump, I'll put in the PR soon.

                  1 Reply Last reply Reply Quote 1
                  • S
                    sleve_mcdichael
                    last edited by sleve_mcdichael

                    Nice!: https://github.com/Exarkuniv/RetroPie-Extra/pull/69

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

                      @sleve_mcdichael nice work

                      I'll play around with it later this week

                      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
                      • N
                        NIGHTKILLER05
                        last edited by

                        Hey guys, would you help me. please? I can't go fullscreen in Rise of the Triad: Dark War, I am using the "rott-darkwar.sh" port/script from https://github.com/Exarkuniv/RetroPie-Extra, and I don't know what to do, I only can view the game in a diminute window.

                        IMG_20220708_175647.jpg

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

                          @NIGHTKILLER05 you have to hit "a" when the run command pops up and drop the resolution to a lower one to make the screen bigger

                          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 .

                          N 1 Reply Last reply Reply Quote 1
                          • N
                            NIGHTKILLER05 @ExarKunIv
                            last edited by NIGHTKILLER05

                            @ExarKunIv Thanks for the help man, but unfortunately changing the resolution didn't do anything noticeable, I tried 800x600 and 640x480, with no avail, and I realy like this game, It reminds me my childhood, help, please.

                            Captura de pantalla 2022-07-08 200438.jpg

                            Captura de pantalla 2022-07-08 200419.jpg

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

                              @NIGHTKILLER05 unless someone else can give input on this it will have to wait till the the start of the week for me to take a look at it on my end.

                              I had to switch to using XINIT for rott due to it not starting correctly, and lowering the resolution to the lowest has worked on my screen which is just a 25in monitor

                              I'll have to mess around with it more Monday unless someone beats me

                              BTW when did you install RetroPie extra's

                              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 .

                              S N 2 Replies Last reply Reply Quote 1
                              • S
                                sleve_mcdichael @ExarKunIv
                                last edited by sleve_mcdichael

                                @ExarKunIv said in Suggestions for ports #2:

                                I had to switch to using XINIT for rott due to it not starting correctly,

                                Probably best to include it, then ;)

                                https://github.com/Exarkuniv/RetroPie-Extra/pull/77

                                1 Reply Last reply Reply Quote 0
                                • N
                                  NIGHTKILLER05 @ExarKunIv
                                  last edited by

                                  @ExarKunIv of course man, I'll wait for the help, no worries, and I installed your excellent script like 6-8 months ago, do I need to update it? how can I do that?

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

                                    @NIGHTKILLER05

                                    "cd RetroPie-Extra/"
                                    Then
                                    "./update-extras.sh"

                                    But the scripts are missing the correct depends, so that don't help.

                                    I'll get them updated as soon as I can. Sorry about this.

                                    I do have the ones I have been working on with the correct things. I just never pushed them before end of day of Friday.

                                    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 .

                                    N 1 Reply Last reply Reply Quote 1
                                    • N
                                      NIGHTKILLER05 @ExarKunIv
                                      last edited by

                                      @ExarKunIv Thank you for that man, by the way, would you check the rtcw (Return to Castle Wolfenstein) script too, please? I don't see it in the extras list, don't know why, and it is an excellent game.

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        sleve_mcdichael
                                        last edited by

                                        @NIGHTKILLER05 said in Suggestions for ports #2:

                                        like 6-8 months ago, do I need to update it? how can I do that?

                                        @ExarKunIv said in Suggestions for ports #2:

                                        @NIGHTKILLER05

                                        "cd RetroPie-Extra/"
                                        Then
                                        "./update-extras.sh"

                                        Remember, though we didn't add the "update" script until April this year, so if the installation is any older than that, use this instead (the first time; after that you should have the update script, which just does this pull and ./install automatically):

                                        cd ~/RetroPie-Extra
                                        git pull origin
                                        ./install-extras.sh
                                        
                                        1 Reply Last reply Reply Quote 1
                                        • S
                                          sleve_mcdichael @NIGHTKILLER05
                                          last edited by

                                          @NIGHTKILLER05 said in Suggestions for ports #2:

                                          @ExarKunIv Thank you for that man, by the way, would you check the rtcw (Return to Castle Wolfenstein) script too, please? I don't see it in the extras list, don't know why, and it is an excellent game.

                                          That script was added on Feb 10 so if you update you should have it.

                                          But, I don't really understand what it's doing. Why are the install files moved into the roms dir?

                                          N 1 Reply Last reply Reply Quote 1
                                          • N
                                            NIGHTKILLER05 @sleve_mcdichael
                                            last edited by NIGHTKILLER05

                                            @sleve_mcdichael Hi man, thanks for the tip, unfortunately that didn't work for some reason, it didn't "pull" any file to, for example, /scriptmodules/ports.

                                            After the "./install-extras.sh" execution, I listed the contents of "/home/pi/RetroPie-Extra" and there is no "update-extras.sh" file inside that folder, I also list the contents of the "/home/pi/RetroPie-Extra/scriptmodules/ports" folder and the file "rtcw.sh" is not there.

                                            355d7fcd-7415-4aeb-b75c-1bcec16a4329-image.png

                                            Do you have any ideas? Its very strange

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