ALL INTELLIGENCE
Hacker News AIT2·Tools

Developer Builds GTA-Style Game as 942KB UEFI Bootable Image

Original title: GTA6-like as a 942Kb UEFI bootable image
58AI Score

A developer released gta6-uefi, a GTA-style game packaged entirely as a 964,608-byte game.efi that boots directly from UEFI with no Windows or OS underneath, rendering every pixel on the CPU. The Miami map is baked from OpenStreetMap Miami-Dade data, NOAA lidar scans and NAIP aerial photos, and has so far only been tested in QEMU.

Full Report

gta6-uefi

A GTA style game set in the real Miami that boots straight from UEFI, no Windows under it. The whole game is game.efi, 964,608 bytes, and the CPU draws every pixel.

Made it for a video on my channel: https://www.youtube.com/@CodingWalaXD

run

Text
sh build.sh
mkdir -p esp/EFI/BOOT && cp game.efi esp/EFI/BOOT/BOOTX64.EFI
qemu-system-x86_64 -machine q35 -m 512 -bios OVMF.fd -drive format=raw,file=fat:rw:esp

build needs clang and lld-link, or skip it and use the game.efi that's already here. I've only run it in qemu so far.

arrows or wasd to drive, enter to get in and out, mouse for the camera, m for the map, j in a taxi for fares, 1 2 3 for weapons, ctrl to shoot.

The map is baked with osm/bake.py from OpenStreetMap, Miami-Dade County data, a NOAA lidar scan and NAIP photos. lidar/steps.txt has how, credits are in MAP_DATA.txt and PEOPLE_DATA.txt.