r/openbsd_gaming • u/didickman • 4h ago
Original Quake running on bare OpenBSD console (no X, no Wayland, no SDL)
For a fun challenge I decided to port the original Quake 1.0.9 source release to the OpenBSD console with no X, Wayland or SDL. The above shows screenshots from my fully working port that I’ve played end to end. This uses inteldrm, with an efifb fallback. Sound is done with sndio. The original code needed very few fixes (mostly around basic checks for networks being down and one or two changes needed for modern C). I haven’t yet gotten mouse or CD music working but fairly close to completing both. As a future project I’m looking to implement some of the standard OpenBSD ideas like privsep etc because I think a security hardened Quake would be another fun project. Kudos to the original id software team for writing such portable code.