SWAT 3: Close Quarters Battle — Native 64-Bit SDL2 Port (v0.1.0)

Downloads — Native 64-Bit Tactical CQB Engine Port (v0.1.0)

SWAT 3: Close Quarters Battle — Tactical Game of the Year Edition (Sierra Studios, 1999–2001) is one of the defining tactical police simulators of the PC era, pairing authentic LAPD D-Platoon room-clearing doctrine and Rules of Engagement (RoE) scoring with dynamic suspect/hostage morale and cell-and-portal room acoustics. swat3port v0.1.0 is released and playable for Linux x86_64 (desktop PC, laptop, MSI Claw, Steam Deck) and Linux ARM64 (aarch64) (Khadas VIM1S, Raspberry Pi, ARM boards) — engineered from scratch in clean-room ISO C11 & SDL2 (GPL-3.0-or-later) to replace the legacy 32-bit DirectDraw/Direct3D7 swat.exe engine with perspective-correct Z-buffered 3D .scn/.gsm rendering, all 28 Tactical GOTY & Elite missions, Spatial Awareness (SA-P01..SA-P10), 4-officer LAPD Element AI, gamepad + toggleable mapping-layer Aim Assist, menus-only touch, and self-hosted 1–5 player Co-op (up to 10 LAN slots).

Package & Target ArchitectureSizeDirect Download
Linux x86_64 — Portable Release Bundle (.tar.gz) · Prebuilt stripped bin/swat3port (x86_64 SDL2/GLES2 + software rasterizer), tools/install.sh, SHA-256 GOG manifests (2,090 files), full GPL-3.0-or-later C11 source, and SHA256SUMS (Desktop, Laptop, MSI Claw, Steam Deck, ROG Ally)365 KiBDownload x86_64 (.tar.gz)
Linux ARM64 (aarch64) — Portable & Khadas VIM1S Bundle (.tar.gz) · Prebuilt stripped bin/swat3port (GLES2 / Wayland / KMSDRM), fully static bin/swat3port-static (musl, zero shared-lib dependencies), bin/swat3port-vim1s launcher, tools/install.sh, SHA-256 manifests, full C11 source, and SHA256SUMS (Khadas VIM1S, Raspberry Pi 4/5, RK3588)1.2 MiBDownload ARM64 (.tar.gz)
Buy the Original Game on GOG.com (Required for Game Data):
swat3port v0.1.0 contains ZERO copyrighted game data. No .res, .scn, .gsm, .cmp, .bmp, .tga, or .avi assets are distributed. Purchase your own legal copy of SWAT 3: Tactical Game of the Year Edition (setup_swat3_tgoty_2.0.0.32.exe), and tools/install.sh verifies all 2,090 files against SHA-256 manifests before copying them read-only into $XDG_DATA_HOME/swat3port/gamedata:
- Buy SWAT 3: Tactical Game of the Year Edition on GOG.com

Enjoying our free native ports? You can voluntarily support development via Hedgehog Studios on our Donate and Support Page — either with a one-time donation or our 4,99 € / month Supporter Membership (purely to support the project, with zero paywalls or exclusive advantages).

SHA-256 Checksums (v0.1.0)

Download the full checksum manifest: swat3-port-0.1.0-SHA256SUMS.txt

  • swat3-port-0.1.0-x86_64.tar.gz: 987860403e6563496bdd2c0ef0f6b7bc2c22839ea3c0883933bfbed70f85cff9
  • swat3-port-0.1.0-arm64.tar.gz: 83c2f5493839c0964a529d7a6c390403a23119b14243ca9138d4586cf8f0e398

Install in Three Steps (Against Your Own GOG Copy)

Every release archive carries prebuilt binaries for its target architecture — no compiler is required:

  1. Download, unpack, and verify the bundle:
   tar -xzf swat3-port-0.1.0-x86_64.tar.gz
   cd swat3-port-0.1.0-x86_64
   sha256sum -c SHA256SUMS

(On ARM64 boards / Khadas VIM1S, replace x86_64 with arm64.)

  1. Verify and install your GOG game data:
   sh tools/install.sh --prebuilt --source /path/to/setup_swat3_tgoty_2.0.0.32.exe

(Or pass --source /path/to/SWAT3/app for an already unpacked GOG folder; unpacking the .exe directly uses innoextract.) Every file is checked against manifests/gog-2.0.0.32-en-installed.sha256 before being copied into ~/.local/share/swat3port/gamedata, and swat3port is installed to ~/.local/bin/swat3port. Your original GOG files are never modified.

  1. Launch swat3port:
  • Desktop / MSI Claw / Steam Deck: run ~/.local/bin/swat3port (auto-detects SDL2 GameController and OpenGL ES 2.0).
  • Khadas VIM1S: place the verified game-xdg/swat3port/gamedata folder alongside bin/swat3port, bin/swat3port-static, and launch.sh under /mnt/games/games/SWAT3/ on your SD card (runs over OverlayFS in RAM while keeping the SD card locked read-only).
  • Later, sh tools/install.sh --uninstall removes the marker-guarded gamedata/ tree while preserving your settings.ini.

Screenshots — Real In-Engine GLES2 Captures (800×600, Verified GOG Data)

Every screenshot below is rendered directly by swat3port v0.1.0 (--render gles2) booted against a SHA-256 verified GOG install of SWAT 3: Tactical Game of the Year Edition — no Windows binaries, Wine, or original-game captures:

Native Shell — Main Menu (SWATDATA/Shellart)LAPD TOC Briefing — 28 Base & Elite GOTY Missions
SWAT 3 native port Main Menu shellSWAT 3 native port MissionA LAPD TOC briefing and aerial photo
D-Platoon Armory — Primary Loadout, RoE & 4-Man ElementMissionA Entry — 3D LAPD Element Stacked on Front Porch
SWAT 3 native port Armory screen with M4A1 Carbine and 4 SWAT officersSWAT 3 native port MissionA front porch with 3D SWAT Element officers and M4A1
Interior CQB Breach — Suppressed HK MP5SD5 & Flashlight ConeCompliance & Arrest — Flashbang + Shout Surrender on Foyer Rug
SWAT 3 native port interior hallway breach with HK MP5SD5 and flashlightSWAT 3 native port suspect surrendering on knees under tactical flashlight
MissionD — California Security Bank Interior (HK MP5A4)After-Action Debrief — LAPD RoE Leadership Score (100 / 100)
SWAT 3 native port MissionD bank interior CQBSWAT 3 native port After-Action Debriefing Report Distinguished 100/100

Clean-Room Architecture and Legacy swat.exe Replacement (v0.1.0)

All 11 engine components (core, vfs, fmt, render, sim, ai, sa, ui, input, net, platform) are written from scratch in strict portable ISO C11 (-Wall -Wextra -Wpedantic, zero C++ or Python, verified clean under ASan + UBSan + LSan):

SubsystemOriginal 1999–2001 Win32 Componentswat3port v0.1.0 Native 64-Bit C11 & SDL2 Replacement (Status)
Archive & Mission VFS (vfs)32-bit PKZIP .res (Swatdata.res, Scenes.res, Sound.res) & Missions/*.zipCase-insensitive priority VFS + pure-C11 RFC 1951 Deflate unpacker auto-mounting all 28 base & Elite GOTY missions — Implemented
Asset Readers (fmt)Proprietary NCSM v0x10d .scn, .gsm v0x0405, DNSE .cmp DPCM, .dat/.sse, .bmp/.tgaDocumented clean-room parsers for BSP world + rotating door submodels, per-corner lightmaps, weighted skeletal .gsm character meshes, & DPCM/PCM audio — Implemented
3D CQB Renderer (render)Win32 Direct3D7 / Glide 3D rasterizerDual GLES2 (SDL_Renderer streaming) & headless software backends with 16-pixel perspective-correct Z-buffered rasterization, 3D viewmodels, & dynamic flashlight cone — Implemented
Spatial Awareness (sa)cell / portal room acoustics & AI dark-room perceptionCell-and-portal Dijkstra sound propagation (SA-P01..SA-P10), live door occlusion, suppressed vs unsuppressed gunfire dB falloff, closed-door & flashlight sight checks, squad radio, & 16-voice stereo low-pass/reverb mixer — Implemented
Tactical Sim, AI & RoE (sim, ai)4-officer Element AI, suspect morale, cuffing & Leadership scoringDeterministic 30 Hz tick, 6-order Element command tree (Fall In, Move & Clear, Open & Clear, Bang & Clear, Cover & Hold, Restrain & Secure), NFDD flashbang + compliance surrender, weapon securing, & RoE scoring — Implemented
Shell, HUD & Handheld UX (ui, input)Keyboard/mouse Win32 Shell & tactical HUDAuthentic Shellart menus, Tactical Command Menu, SDL2 GameController, toggleable mapping-layer Aim Assist (off/on/auto), & Menus-only Touch — Implemented
Self-Hosted Co-op (net)Legacy WON.net / DirectPlay master-server multiplayerPurely self-hosted 1–5P Co-op (up to 10 LAN slots) via TCP lockstep (--host / --join IP:port), late-join snapshot sync, 64-bit per-tick state hashes, & UDP LAN discovery (27963/udp) — Implemented

Spatial Awareness, Handheld Controls & Self-Hosted 1–5P Co-op

  • Authentic Cell-and-Portal Spatial Awareness: Sound travels along actual open doorways and corridors rather than Euclidean straight lines. Closing a door muffles footsteps and gunfire (lowpass_cutoff + dB drop), suppressed HK MP5SD5 shots avoid alerting suspects two rooms away, dark closets require your tactical flashlight (F), and squad radio (Element / TOC) bypasses room occlusion cleanly.
  • Strict Additions Discipline for Handhelds (MSI Claw & Khadas VIM1S):
  1. SDL2 Controller Support: Full dual-stick look/move, shoulder lean/fire, and D-pad Element command shortcuts — auto-detected on MSI Claw and Khadas VIM1S.
  2. Mapping-Layer Aim Assist (off | on | auto): Applies gentle analog-stick friction near visible threats strictly inside src/input/; swat3_sim_raycast_pose depends solely on player camera pose and never reads Aim Assist state, guaranteeing bit-identical replay & multiplayer determinism (59a87e3fafa9c4b1 verified across x86_64 and aarch64).
  3. Menus-Only Touch: Touch taps navigate the Main Menu, Mission Briefing, Armory, Options, Multiplayer, and Debrief screens, and are strictly inert during IN_GAME CQB play.
  • Zero-Backend Self-Hosted Co-op (1–5 Players, up to 10P LAN): Host a 5-officer Element session directly from the Multiplayer screen or CLI (swat3port --host 27960 --mission MissionA), discover sessions automatically over LAN (27963/udp), or connect directly by IP (swat3port --join <host-ip>:27960). Late-joining officers receive a validated simulation snapshot on join and stay verified every tick via 64-bit state digests — with zero external master servers, accounts, or telemetry.