Newshot

GTA6-like as a 942Kb UEFI bootable image

Original text(via Hacker News)

Repository files navigation

题图
题图

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


        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.

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by Hacker News
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗