Return to Castle Wolfenstein - IORTCW source port
-
@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.
-
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.
-
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. -
@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/
-
No, I haven't, so that's why. Thanks. Looking forward to playing this.
-
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
-
@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.
-
Guess i am going to have to wait for the RPI 8B to play the 2009 Wolfenstein port lol
-
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?
-
@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.
-
@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. -
@Zering not to discourage you, but it may be best to wait for an official fix then.
-
@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
-
@Cesarpuig Sure thing.
Can I access this folder from a PC, however?
-
@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
-
@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.
-
@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.
-
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.
-
@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.
-
@tacgnol Those modifications are the ones I made. What raspberry pi are you installing it on?
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.