像GTA6一样的942KB UEFI可启动镜像
GTA6-like as a 942Kb UEFI bootable image

原始链接: https://github.com/eklavya-raj/gta6-uefi

一个以真实迈阿密为背景的GTA风格游戏,直接从UEFI启动,没有Windows。整个游戏是game.efi,964608字节,由CPU绘制每个像素。为我的频道视频制作:https://www.youtube.com/@CodingWalaXD 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 构建需要clang和lld-link,或跳过构建并使用已有的game.efi。目前只在qemu中运行过。方向键或wasd驾驶,回车进出,鼠标控制相机,m打开地图,出租车里按j接客,1 2 3选择武器,ctrl射击。地图通过osm/bake.py基于OpenStreetMap、Miami-Dade县数据、NOAA激光雷达扫描和NAIP照片生成。lidar/steps.txt说明方法,致谢在MAP_DATA.txt和PEOPLE_DATA.txt中。

Hacker News 上一则帖子介绍了一个 942KB 的 UEFI 可启动“类 GTA6”镜像。评论者称赞创作者专注于底层、汇编语言的视频,并分享了 YouTube 链接。帖子还延伸到 GTA6 的猜测,包括 VR 支持、无 PC 版本、主机端 30 帧目标,以及未来可能的 DLC。
相关文章

原文

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

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.

联系我们 contact @ memedata.com