GTA6-like as a 942Kb UEFI bootable image
Hacker News

GTA6-like as a 942Kb UEFI bootable image

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

Build

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.

Controls

  • 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

Map Data

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.

Comments

Read on Hacker News ↗ ← Back to News

Comments

No comments yet. Start the discussion.