· via Hacker News – Front Page (native)
GTA-style 3D game boots straight from UEFI as a 942KB image with no OS
A developer built a GTA-style game set in a recreation of Miami that runs as a 964,608-byte UEFI executable, booting before any OS loads with the CPU rasterizing every pixel.
A game that boots instead of launching
A GitHub user going by eklabya-raj has published gta6-uefi, a Grand Theft Auto-style driving and shooting game set in a recreation of Miami, and the entire project ships as a single 964,608-byte UEFI executable — the roughly 942 KB figure in the Hacker News headline that carried it to the front page on November 18. According to the repository's README, the game boots directly from firmware with no Windows or any other operating system underneath, and the CPU draws every pixel. The author says it was built as material for a video on their YouTube channel, CodingWalaXD.
What a UEFI game actually is
Modern PCs hand control to UEFI firmware at power-on, and that firmware can load and run .efi executables from a disk — the same mechanism operating-system installers and bootloaders rely on. A UEFI application runs before any OS exists: there is no window manager, no conventional GPU driver stack, no threads or scheduler. What the program gets is a small set of firmware services, such as a framebuffer to draw into and access to input devices.
That is the context that makes the project notable. Rendering a 3D world under those constraints means writing a software rasterizer that pushes pixels into the framebuffer itself, while also handling input, game logic and baked map data — all inside a binary of under one megabyte.
Controls and gameplay
The README lists a control scheme that points to actual gameplay rather than a pure tech demo: arrow keys or WASD to drive, Enter to get in and out of vehicles, the mouse to control the camera, and M to open the map. Weapons are selected with the 1, 2 and 3 keys and fired with Ctrl. There is also a taxi mechanic — pressing J while in a taxi picks up fares — giving the game a mission-style loop in the spirit of the genre it imitates.
Real-world data underneath the map
The city is not hand-drawn. A script called osm/bake.py bakes the map from real geographic sources: OpenStreetMap data covering Miami-Dade County, a lidar scan from NOAA, and NAIP aerial photographs. The repository documents the processing pipeline in lidar/steps.txt and keeps attribution for the data and the people involved in MAP_DATA.txt and PEOPLE_DATA.txt.
Building and running it
Building from source requires clang and lld-link and is driven by a single build.sh script. Alternatively, the repository already contains a compiled game.efi. The documented way to run it is in an emulator: copy the binary to esp/EFI/BOOT/BOOTX64.EFI on a FAT-formatted disk image and launch it with qemu-system-x86_64 using the q35 machine type, 512 MB of memory and the OVMF open-source UEFI firmware. The author cautions that the game has so far only been run under QEMU — behaviour on physical hardware is unverified, even though UEFI applications like this are in principle bootable on real machines.
Why it matters
This is a striking demonstration of bare-metal software engineering. Modern AAA games in the same genre ship in tens or hundreds of gigabytes; this one fits on a floppy disk, because it talks straight to firmware instead of stacking an OS, drivers and graphics APIs underneath. Projects like this sit in the tradition of demoscene and OS-development work: they are useful teaching material for anyone curious about what the UEFI environment actually provides, how software rendering works, and how far size constraints can be pushed. There is also a security angle worth noting — the same pre-OS execution capability that makes this demo fun is the territory where bootkits operate, and a large part of why Secure Boot exists. The immediate caveat is provenance: it has been shown running in an emulator only, so anyone wanting to try it on real hardware is exploring untested territory.
- #uefi
- #gamedev
- #bare-metal
- #graphics
- #open-source