Quake on iPhone, iPad, and Apple TV — a Metal 4 port of Quake and the QuakeSpasm engine fork with touch controls, game controllers, keyboard/mouse, and 2021 re-release data support.
You must supply game data from a copy of Quake you own. Retail / remaster
.pakfiles are not included.
Gameplay on iPad with the on-screen touch overlay (move stick, FIRE / JUMP, weapon cycle, MENU).
| Area | Status |
|---|---|
| Engine | QuakeSpasm host (Host_Init / Host_Frame) via QuakeBridge |
| Renderer | Metal 4 GL 1.1 compatibility path (gl_metal_backend.m) |
| Audio | SFX via AVAudioEngine; OGG music (id1/music/) via stb_vorbis |
| Touch | Move stick, freelook, hold-to-fire, weapon cycle, menu remapping |
| Controllers | MFi / PlayStation / Xbox via GameController |
| Keyboard / mouse | Magic Keyboard & trackpad (iPad) |
| Game data (iOS) | In-app Files import; Finder File Sharing |
| Game data (tvOS) | LAN web upload — drag & drop folders from a browser on the same network |
| Remaster text | localization/loc_english.txt or QuakeEX.kpf |
| Save / load | Single-player menu slots |
| Console | System keyboard when console/chat is active |
| Orientation | Landscape only (iPhone / iPad) |
| Platforms | Single multiplatform target: iPhone, iPad, Apple TV |
| LAN multiplayer | Same Wi‑Fi with Bonjour discovery; host and join from the Multiplayer menu |
| Requirement | Notes |
|---|---|
| Physical device with Metal 4 | iPhone, iPad, or Apple TV — MTLDevice.supportsFamily(.metal4) |
| Owned Quake data | At minimum id1/pak0.pak (shareware or full) |
| Requirement | Notes |
|---|---|
| macOS + Xcode | Deployment targets iOS 26.5 / tvOS 26.5 |
| Apple Developer account | Free account is enough for personal device installs |
| Signing team | Set your Team on the QuakeiOS target if prompted |
The QuakeiOS target is multiplatform: iPhone, iPad, and Apple TV share one app target.
- Build & install the app on a Metal 4 device (see Build).
- Launch QuakeiOS.
- Import game data:
- iPhone / iPad → Import Game Data… (Files picker), or drop files via Finder File Sharing. It is recommended to import a single "quake" folder which includes "QuakeEX.kpf" (the English localization data), a subfolder called "id1" containing "pak0.pak" and, optionally, the "music" subfolder containing the game's soundtrack.
- Apple TV → open the on-screen LAN URL from a Mac/iPhone browser and drag & drop your Quake folder (see Docs/TVOS.md).
- Pick your Quake install folder (the one that contains
id1/), or pickid1itself. - Wait for the copy to finish (PAKs + optional music / localization).
- Play. Menu → Single Player → New / Load / Save.
- LAN multiplayer (optional): see LAN multiplayer below.
Prefer the parent remaster or retail folder, not a random nested path. That way optional extras come along:
YourQuakeInstall/
id1/ # or Id1
pak0.pak # required
music/ # optional OGG CD tracks (track02.ogg …)
localization/ # remaster English strings (recommended)
loc_english.txt
QuakeEX.kpf # alternate remaster package with loc data
Details: Docs/DATA.md.
Only use data from a legally obtained copy of Quake (Steam, GOG, retail CD, 2021 re-release, official shareware, etc.). This repository DOES NOT and WILL NOT host this game data.
| Control | Action |
|---|---|
| Left stick | Move |
| Drag free area | Look / turn |
| FIRE (hold) | Attack — hold for automatic weapons |
| Look pad hold (finger still ~0.14 s) | Continuous fire |
| Look pad tap | Single shot |
| JUMP | Jump |
| MENU | ESC / pause menu |
| W- / W+ | Previous / next weapon |
| In menus | Stick = navigate · SELECT = confirm · MENU = cancel |
On yes/no prompts (e.g. “start a new game?”): SELECT/ENTER confirms, MENU/BACK cancels.
| Control | Action |
|---|---|
| Left stick | Move (in menus: navigate) |
| Right stick | Look |
| D-pad | Menu arrows |
| RT / R2 | Attack |
| LT / L2 | Jump |
| A / Cross | Jump · Select in menus |
| B / Circle | Back / cancel in menus |
| Y / Triangle | Next weapon |
| X / Square | Previous weapon |
| LB / L1 | Previous weapon |
| RB / R1 | Next weapon |
| Menu / Options (Start) | ESC / pause |
| View / Share (Back) | Tab (scores) |
WASD move, mouse look, left click attack, Escape menu — via GCKeyboard / GCMouse when connected. Opening the console (bound key) shows the system keyboard for typing.
Requires a full game controller (MFi / PlayStation / Xbox). Siri Remote is not supported. See Docs/TVOS.md.
Play with other devices on the same Wi‑Fi. Allow Local Network when prompted.
- Both devices have game data and Metal 4 hardware.
- Menu → Multiplayer → New Game → TCP/IP → OK.
- Game Options → max players, mode, episode/level → begin game.
- Nearby devices can find the game automatically.
- Menu → Multiplayer → Join Game → TCP/IP.
- Search for local games…, select a server, and confirm.
- Or enter
ip/ip:portunder Join game at: (default port 26000).
Multiplayer is LAN only (no internet matchmaking). More detail: Docs/MULTIPLAYER.md.
git clone https://github.com/<your-org>/QuakeiOS.git
cd QuakeiOSEngine and re-release QuakeC sources live under vendor/ (already vendored in-tree).
open QuakeiOS.xcodeproj- Select the QuakeiOS project → QuakeiOS target → Signing & Capabilities.
- Choose your Team.
- Adjust Bundle Identifier if the default (
Rhystic-Software.QuakeiOS) collides with another app on your account.
- Scheme: QuakeiOS.
- Destination: a physical iPhone, iPad, or Apple TV with Metal 4.
- Product → Run (⌘R).
- Trust the developer certificate on the device if prompted
(Settings → General → VPN & Device Management on iOS; equivalent trust flow on tvOS).
# iOS
xcodebuild \
-scheme QuakeiOS \
-destination 'generic/platform=iOS' \
-configuration Debug \
build
# tvOS
xcodebuild \
-scheme QuakeiOS \
-destination 'generic/platform=tvOS' \
-configuration Debug \
buildInstall the resulting .app with Xcode, devicectl, or your usual sideload workflow.
# Builds, but gameplay is blocked at launch:
xcodebuild -scheme QuakeiOS -destination 'generic/platform=iOS Simulator' buildUse Simulator only for shell/UI experiments. Real Metal rendering needs a device.
QuakeiOS/
├── QuakeiOS.xcodeproj/ # Xcode project + shared scheme
├── QuakeiOS/
│ ├── Platform/ # Bridge, Metal GL backend, audio, FS, input C glue
│ ├── UI/ # iOS touch/import, tvOS shell, shared settings
│ ├── Input/ # Controllers, keyboard/mouse, InputRouter
│ ├── Engine/ # Symlinks → vendor QuakeSpasm sources
│ ├── GameData/ # Placeholder only — no retail PAKs
│ └── *.swift # App shell, game view, MTKView host
├── Docs/
│ ├── screenshots/ # README gameplay images
│ ├── DATA.md # Game data legal & import details
│ ├── ENGINE.md # Engine integration notes
│ ├── MULTIPLAYER.md # LAN host/join and Bonjour discovery
│ └── TVOS.md # Apple TV import & input
├── Scripts/
│ └── compile_quakec.sh # Optional re-release QuakeC build (FTEQCC)
└── vendor/
├── Quakespasm/ # sezero/quakespasm (GPLv2)
└── quake-rerelease-qc/ # id Software re-release QC (GPLv2)
quake-rerelease-qc can be compiled with FTEQCC:
./Scripts/compile_quakec.shPlace the generated progs.dat into the appropriate game directory (id1/, mission pack dirs, etc.) when testing remaster logic. Classic stock progs still work for vanilla play. Localization (LOC_Init) is wired for remaster string tables.
- Swift UIKit owns the process:
MTKView, touch overlay, data import, GameController. QuakeBridge(Q_Init/Q_Frame/ input injectors) boots QuakeSpasm with an Application Support basedir on iOS, or a temporary-directory basedir on tvOS (Application Support is read-restricted on tvOS).gl_metal_backend.mimplements a GL 1.1-style draw path on Metal 4 (textures, lightmaps, blends, 2D UI). Simulator usesgl_metal_sim_stub.c.snd_ios.m+ stb_vorbis provide SFX and external music without SDL.- LAN multiplayer uses Quake UDP with Bonjour for easy local discovery.
More detail: Docs/ENGINE.md, Docs/MULTIPLAYER.md.
| Milestone | Status |
|---|---|
| Scaffold, engine boot, Metal 4 render | Done |
| Touch / controller / KBM input | Done |
| Audio + music, remaster loc, save/load, console keyboard | Done |
| tvOS multiplatform target + LAN game-data upload | Done |
| LAN multiplayer + Bonjour discovery | Done |
| Full Apple TV polish (companion import, 10-foot UI) | Partial — see Docs/TVOS.md |
- Classic GL 1.1 path only (no desktop QuakeSpasm GLSL / multitexture / VBO stack).
- Multiplayer is LAN only (same Wi‑Fi / Bonjour). No internet matchmaking.
- tvOS game-data import uses a LAN web uploader (drag & drop folders from a browser); the basedir lives in the app's temporary directory, so data must be re-uploaded after app reinstalls.
- Re-import replaces
id1/essentials and can overwrite save files in that folder — back up saves if needed. - Visual polish (bloom, water, etc.) may differ from desktop QuakeSpasm.
- Optional experimental lighting exists but is very dark.
| Symptom | What to try |
|---|---|
| “Metal 4 not available” | Use a physical Metal 4 device; not the Simulator |
| No import button / no data (iOS) | Tap Import Game Data…, or copy id1 via Finder File Sharing |
| No data on Apple TV | Use the LAN upload URL shown on screen; see Docs/TVOS.md |
$m_… placeholder text |
Re-import parent folder that includes localization/ or QuakeEX.kpf |
| No music | Ensure id1/music/track02.ogg (etc.) were imported; re-import if needed |
| Save fails | Start a single-player game first; check console for path errors |
| Empty server list after Search | Same Wi‑Fi; grant Local Network; host is already in a multiplayer game; see Docs/MULTIPLAYER.md |
| Cannot join / connection timeout | Host still in multiplayer; try Join game at: with host IP:26000; disable AP client isolation |
| App crashes after import | Ensure free memory/disk |
| Console keyboard missing | Open console from a bound key (physical keyboard); on-screen keyboard appears when console/chat is active |
| Component | License |
|---|---|
QuakeSpasm engine (vendor/Quakespasm) |
GPLv2 |
Re-release QuakeC (vendor/quake-rerelease-qc) |
GPLv2 |
| QuakeiOS app shell / Metal backend / UI | GPLv2-compatible (linked with the engine) |
Quake is a trademark of id Software LLC / ZeniMax Media. This project is not affiliated with or endorsed by id, Bethesda, or Nightdive Studios. The 2021 remaster’s proprietary KEX engine is not used; this port is open-source QuakeSpasm only.
- id Software — original Quake
- Nightdive Studios — Quake Remaster
- QuakeSpasm / FitzQuake lineage — engine base
- quake-rerelease-qc — 2021 re-release game logic sources
- Contributors to this iOS / tvOS Metal 4 port
- Docs/DATA.md — game data, music, localization
- Docs/ENGINE.md — host integration and platform replacements
- Docs/MULTIPLAYER.md — LAN host/join and Bonjour discovery
- Docs/TVOS.md — Apple TV import & input
- AGENTS.md — contributor / agent guidance for this repo

