Skip to content
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Return to Castle Wolfenstein for iOS and tvOS for Apple TV

This is my port of Return to Castle Wolfenstein for iOS. I have also made a target and version for tvOS to run on Apple TV.



  • Tested and builds without warnings on Xcode 10.1.
  • Runs single player campaign at full screen and full speed on iOS
  • Multiplayer support, including server browser
  • MFi controller support (reccomended) and on-screen control options
  • Second project target for tvOS that takes advantage of focus model and removes on-screen controls.
  • Limited support for native menus of original game

You will need to provide your own copies of the Main directory from an existing instalation of RTCW. You can grab it on GOG or Steam.

There are separate projects for single player (RTCW-SP-iOS.xcodeproj) and multiplayer (RTCW-MP.iOS.xcodeproj). You will need to drag your directories into the project and select "Create Folder References" and add them to both the iOS and tvOS targets. The folders will be blue if you've done it right:



In addition, there is a folder in this GitHub repo called "Main" which contains a subfolder called "vm" which must be copied to the Main folder which contains your RTCW data files. This folder contains compiled .qvm data files for the game which do not come with it. When done correctly your Main folder with the RTCW data files should look like this in Finder (note how the "vm" folder is parallel to the .pk3 files).


You can read a lengthy blog article on how I did all this, including the reasons for the above step, here.

This repo was based on the work from my previous Quake III: Arena port (more info and attributions here) and iortcw, a feature-parity copy of ioquake3 with RTCW changes. On-screen joystick code came from this repo by Brad Howe. Code to query servers came from Q3ServerBrowser on GitHub by Andrea Giavatto, using protocol 60 instead of 68.

I have now modified the code to use SDL for iOS, employing OpenGL ES work from Zack Middleton. The original, GLKit-based version is available on the legacy branch.

Video of RTCW running on an iPhone X

Video of RTCW running on an Apple TV

I have also made apps for Wolfenstein 3-D, DOOM, DOOM II and Final DOOM, Quake, Quake II, Quake III: Arena and DOOM 3.

Have fun. For any questions I can be reached at


Return to Castle Wolfenstein for iOS and tvOS for Apple TV






No releases published

Sponsor this project


No packages published