• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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 34.4k 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.
  • T
    tpo1990 @Cesarpuig
    last edited by 3 Apr 2020, 06:23

    @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 29 Apr 2020, 13:37

      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.

      T 1 Reply Last reply 30 Apr 2020, 05:06 Reply Quote 1
      • Z
        Zering
        last edited by Zering 29 Apr 2020, 14:28

        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.

        Q 1 Reply Last reply 29 Apr 2020, 14:31 Reply Quote 0
        • Q
          quicksilver @Zering
          last edited by quicksilver 29 Apr 2020, 14:31

          @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 29 Apr 2020, 14:51 Reply Quote 0
          • Z
            Zering
            last edited by 29 Apr 2020, 14:36

            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 29 Apr 2020, 14:51

              @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

              T 1 Reply Last reply 5 May 2020, 08:39 Reply Quote 0
              • T
                tpo1990 @Cesarpuig
                last edited by 30 Apr 2020, 05:06

                @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
                • E
                  Ecks
                  last edited by 30 Apr 2020, 16:09

                  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 5 Jan 2020, 13:13 1 May 2020, 11:48

                    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 1 May 2020, 12:32 Reply Quote 0
                    • C
                      Cesarpuig @Zering
                      last edited by 1 May 2020, 12:32

                      @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 1 May 2020, 14:55 Reply Quote 0
                      • Z
                        Zering @Cesarpuig
                        last edited by 1 May 2020, 14:55

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

                        Q C 2 Replies Last reply 1 May 2020, 16:12 Reply Quote 0
                        • Q
                          quicksilver @Zering
                          last edited by 1 May 2020, 16:12

                          @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 5 Jul 2020, 06:41 1 May 2020, 17:31

                            @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 1 May 2020, 18:45 Reply Quote 0
                            • Z
                              Zering @Cesarpuig
                              last edited by 1 May 2020, 18:45

                              @Cesarpuig Sure thing.

                              Can I access this folder from a PC, however?

                              C 1 Reply Last reply 1 May 2020, 18:58 Reply Quote 0
                              • C
                                Cesarpuig @Zering
                                last edited by 1 May 2020, 18:58

                                @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 1 May 2020, 19:18 Reply Quote 0
                                • Z
                                  Zering @Cesarpuig
                                  last edited by Zering 5 Jan 2020, 21:05 1 May 2020, 19:18

                                  @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 1 May 2020, 20:13 Reply Quote 0
                                  • T
                                    tacgnol @Zering
                                    last edited by 1 May 2020, 20:13

                                    @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 1 May 2020, 20:17 Reply Quote 0
                                    • T
                                      tacgnol @tacgnol
                                      last edited by 1 May 2020, 20:17

                                      forgot to add, i disabled the config in my version since i added the venom mod and manually tweaked the config. if you are interested, don't forget to uncomment those 2 lines.

                                      C 1 Reply Last reply 1 May 2020, 20:26 Reply Quote 0
                                      • C
                                        Cesarpuig @Zering
                                        last edited by 1 May 2020, 20:21

                                        @Zering Give me time and tomorrow I will try on a raspberry pi 3b, tell me your OS version and retropie ?, I will try the original script that created @ tpo1990, and the one that I have modified by me, also the installation has created a log in the address / home / pi / RetroPie-Setup / logs /, or something similar, I speak from memory, where there will be more information about the problem, please publish it.

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          Cesarpuig @tacgnol
                                          last edited by 1 May 2020, 20:26

                                          @tacgnol Those modifications are the ones I made. What raspberry pi are you installing it on?

                                          T 1 Reply Last reply 1 May 2020, 20:39 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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received