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

    Return to Castle Wolfenstein - IORTCW source port

    Scheduled Pinned Locked Moved General Discussion and Gaming
    rtcwreturn to castlwolfensteiniortcwports
    125 Posts 19 Posters 36.0k 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 @tpo1990
      last edited by

      @tpo1990 ok i did a clean install and was able to install RTCW with out a problem.

      not sure what changed when i ran the update script even though i did not update the OS
      i just updated everything else.

      if you need anything else let me know

      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 .

      tpo1990T 1 Reply Last reply Reply Quote 1
      • tpo1990T
        tpo1990 @ExarKunIv
        last edited by

        @ExarKunIv Good to know that you got it worked out. I will. Thanks.

        Greetings from Denmark. :-)

        Developer of install scripts for ports such as Hexen 2, Return to Castle Wolfenstein and Caesar III. See my other projects at my profile.

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

          Hi.

          I have installed iortcw on a Raspberry Pi 4, with Retropie 4.4.18.

          I have modified in installation script make-raspberrypi.sh.

          I have changed:

          USE_OPENGLES=1
          

          By:

          USE_OPENGLES=0
          

          And installed in the main folder the Venon mod 6.5, it works well with spectacular graphics.

          Let's enjoy it.

          tpo1990T 1 Reply Last reply Reply Quote 1
          • tpo1990T
            tpo1990 @Cesarpuig
            last edited by

            @Cesarpuig Thank you for your contribution. This will be useful for those who owns a Raspberry Pi 4 and want to try running the port even though it officially only works on older Raspberry Pis.

            Greetings from Denmark. :-)

            Developer of install scripts for ports such as Hexen 2, Return to Castle Wolfenstein and Caesar III. See my other projects at my profile.

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

              Hello @tpo1990 .

              The first of all this are suggestions, in my case they have been quite functional, I'm not informatic and I'm not very good at it. English is not my native language and I use the google translator.

              Tips for the iortcw script:

              BUILD.

              function build_rtcw() {
              cd "$md_build/SP"
              USE_CODEC_VORBIS=0 USE_CODEC_OPUS=0 USE_CURL=0 USE_CURL_DLOPEN=0 USE_OPENAL=1 USE_OPENAL_DLOPEN=1 USE_RENDERER_DLOPEN=0 USE_VOIP=0 \
              USE_LOCAL_HEADERS=1 USE_INTERNAL_JPEG=1 USE_INTERNAL_OPUS=1 USE_INTERNAL_ZLIB=1 USE_OPENGLES=1 USE_BLOOM=0 USE_MUMBLE=0 BUILD_GAME_SO=1 \
              BUILD_RENDERER_REND2=0 ARCH=armv7l PLATFORM=linux COMPILE_ARCH=arm COMPILE_PLATFORM=linux \
              make
              cd "$md_build/MP"
              USE_CODEC_VORBIS=0 USE_CODEC_OPUS=0 USE_CURL=0 USE_CURL_DLOPEN=0 USE_OPENAL=1 USE_OPENAL_DLOPEN=1 USE_RENDERER_DLOPEN=0 USE_VOIP=0 \
              USE_LOCAL_HEADERS=1 USE_INTERNAL_JPEG=1 USE_INTERNAL_OPUS=1 USE_INTERNAL_ZLIB=1 USE_OPENGLES=1 USE_BLOOM=0 USE_MUMBLE=0 BUILD_GAME_SO=1 \
              BUILD_RENDERER_REND2=0 ARCH=armv7l PLATFORM=linux COMPILE_ARCH=arm COMPILE_PLATFORM=linux \
              make
              md_ret_require="$md_build/SP"
              md_ret_require="$md_build/MP"
              }
              

              Remove the reference to the make.raspberrypi.sh script, and add the contents of this file.

              Because it is much more flexible when making modifications, now the make.raspberrypi.sh script does not work due to changes in the source, it would have to be modified to replace:

              ARCH=arm
              

              by:

              ARCH=armv7l
              

              INSTALL.

              function install_rtcw() {
                  md_ret_files=(
                      'SP/build/release-linux-armv7l/iowolfsp.armv7l'
                      'SP/build/release-linux-armv7l/main/cgame.sp.armv7l.so'
              	'SP/build/release-linux-armv7l/main/qagame.sp.armv7l.so'
              	'SP/build/release-linux-armv7l/main/ui.sp.armv7l.so'
                      'MP/build/release-linux-armv7l/iowolfded.armv7l'
              	'MP/build/release-linux-armv7l/iowolfmp.armv7l'
                      'MP/build/release-linux-armv7l/main/cgame.mp.armv7l.so'
              	'MP/build/release-linux-armv7l/main/qagame.mp.armv7l.so'
              	'MP/build/release-linux-armv7l/main/ui.mp.armv7l.so'
              	'MP/build/release-linux-armv7l/main/vm/'
                  )
              }
              

              The build folder has changed its name when changing ARCH=armv7l, in addition the complete main folder is not necessary, but only some of the files.

              GAME DATA

              function game_data_rtcw() {
              mkdir /opt/retropie/ports/rtcw/main
              mv /opt/retropie/ports/rtcw/*.so /opt/retropie/ports/rtcw/main
              mv /opt/retropie/ports/rtcw/vm /opt/retropie/ports/rtcw/main
              mkdir "$home/.wolf/main"
              #wget "https://raw.githubusercontent.com/tpo1990/RTCW-RPI/master/wolfconfig.cfg"
              #mv wolfconfig.cfg "$home/.wolf/main"
              chown -R $user:$user "$romdir/ports/rtcw"
              chown -R $user:$user "$md_conf_root/rtcw-sp"
              }
              

              As I said before, the full main folder is not necessary, but only some of the files.

              I comment your configuration file because in my case it is not necessary with the one generated by default it works well for me in rpi3 and rpi4

              CONFIGURE

              function configure_rtcw() {
              addPort "rtcw-sp" "rtcw-sp" "Return to Castle Wolfenstein SP" "$md_inst/iowolfsp.armv7l"
              addPort "rtcw-mp" "rtcw-mp" "Return to Castle Wolfenstein MP" "$md_inst/iowolfmp.armv7l"
              
              mkRomDir "ports/rtcw"
              
              moveConfigDir "$home/.wolf" "$md_conf_root/rtcw-sp"
              moveConfigDir "$md_inst/main" "$romdir/ports/rtcw"
              
              [[ "$md_mode" == "install" ]] && game_data_rtcw
              }
              

              I give emulators different names when adding ports because this way I can assign different resolutions from runcommand.

              I hope it serves more people.

              tpo1990T 1 Reply Last reply Reply Quote 1
              • Z
                Zering
                last edited by Zering

                Is this only for the Pi4 or will it perform well on a Pi3?
                I can't seem to find the module in the experimental section, as the topic states, hence why I'm asking.

                quicksilverQ 1 Reply Last reply Reply Quote 0
                • quicksilverQ
                  quicksilver @Zering
                  last edited by quicksilver

                  @Zering use the original instructions on the first post to install for pi 3. It runs great on my pi 3.

                  Did you download the scriptmodule first?

                  wget https://raw.githubusercontent.com/tpo1990/RTCW-RPI/master/rtcw.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
                  
                  C 1 Reply Last reply Reply Quote 0
                  • Z
                    Zering
                    last edited by

                    No, I haven't, so that's why. Thanks. Looking forward to playing this.

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

                      @quicksilver

                      Hello, in rpi4 it stopped working on April 26, 2020, when the bfbf9fc commit was introduced. I opened an issue on iortcw page, and man-at-arms (iortcw developer) said he had to modify the installation script, and that's how it worked.

                      I do not know if this problem also exists in the rpi3 after this commit.

                      Greetings

                      tpo1990T 1 Reply Last reply Reply Quote 0
                      • tpo1990T
                        tpo1990 @Cesarpuig
                        last edited by

                        @Cesarpuig Thank you for your contribution and help. I will look into testing your suggestion on improving the script.

                        My native language is not english as well.

                        Your work might just make the install script much more clean.

                        Greetings from Denmark. :-)

                        Developer of install scripts for ports such as Hexen 2, Return to Castle Wolfenstein and Caesar III. See my other projects at my profile.

                        1 Reply Last reply Reply Quote 1
                        • EcksE
                          Ecks
                          last edited by

                          Guess i am going to have to wait for the RPI 8B to play the 2009 Wolfenstein port lol

                          1 Reply Last reply Reply Quote 1
                          • Z
                            Zering
                            last edited by Zering

                            Is there a list anywhere of ports that aren't distributed in RetroPie like this one? I've already found some for Shadow Warrior and Rise of the Triad, but I was wondering if anybody else knew of others.

                            Edit : I'm trying to install this port on my Pi 3 B using the tutorial. When I try to build it from the experimental section of RetroPie-Setup, I get this error :

                            'Could not successfully install RTCW - IORTCW source port of Return to Castle Wolfenstein.
                            (/home/pi/RetroPie-Setup/tmp/build/rtcwSP/build/release-linux-arm/iowolfsp.arm not found)'

                            Is this a known issue? How do I fix it?

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

                              @Zering I think it is because of the changes that have occurred in the source, it would be necessary to make changes in the installation script, it was also working well for me on a Raspberry pi 4 and it stopped working, that's why I proposed the changes to the message that there is higher in this thread.

                              Try to modify the script that you have downloaded with the modifications that I proposed and if you do not know how to approach it you are waiting for tpo1990 to review it or I will send you the one that I use in some way.

                              Z 1 Reply Last reply Reply Quote 0
                              • Z
                                Zering @Cesarpuig
                                last edited by

                                @Cesarpuig How do I modify the script, and what am I modifying?
                                I'm happy to learn but I don't have the foggiest clue how to do this.

                                quicksilverQ C 2 Replies Last reply Reply Quote 0
                                • quicksilverQ
                                  quicksilver @Zering
                                  last edited by

                                  @Zering not to discourage you, but it may be best to wait for an official fix then.

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

                                    @Zering in this link you have the script that I use to install it:

                                    Update: rtcw.sh

                                    Replace it with the one in the following folder of your rpi /home/pi/RetroPie-Setup/scriptmodules/ports

                                    Try to install and comment please, I will help you in any way I can

                                    Your tests will serve the rest because I have tried it on an rpi4, and I think I remember that your case was an rpi3

                                    Z 1 Reply Last reply Reply Quote 0
                                    • Z
                                      Zering @Cesarpuig
                                      last edited by

                                      @Cesarpuig Sure thing.

                                      Can I access this folder from a PC, however?

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

                                        @Zering Yes with SSH software (in my case I use FileZilla Client), but I think it is not a good idea to extend this topic in this thread, it deviates from the subject and it is not necessary, there will be several threads in the forum such as transferring files through SSH, and many tutorials on the internet, it will be more graph to try to explain it to you from here. If you comment on any, do not hesitate to refer me and I repeat, I will help you as much as I can

                                        Z 1 Reply Last reply Reply Quote 0
                                        • Z
                                          Zering @Cesarpuig
                                          last edited by Zering

                                          @Cesarpuig All right, I think I've figured it out, I'm rebooting and trying to build the port again. I will update this post with the results in a bit.

                                          Edit : It doesn't work. It fails to install as before. I get a different error though :

                                          'Could not successfully install RTCW - IORTCW source port of Return to Castle Wolfenstein.
                                          (/home/pi/RetroPie-Setup/tmp/build/rtcw/SP/build/release-linux-armv71/iowolfsp.arm71 not found)'

                                          I guess it is possible I did something wrong though.

                                          T C 2 Replies Last reply Reply Quote 0
                                          • T
                                            tacgnol @Zering
                                            last edited by

                                            @Zering you can try to use my file (forked from tpo1990) with the updated scripts

                                            https://github.com/tacgnol3/RTCW-RPI/blob/master/rtcw.sh

                                            I didn't tried to install from scratch, but i updated by build without problem with this.

                                            T Z 2 Replies 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.