CompeyDev / bad-apple-efi

An EFI application to play the silly video
GNU General Public License v3.0
5 stars 0 forks source link
bad-apple efi efi-application rust

bad-apple-efi

The bad apple video but bootable, powered by 🦀

[!NOTE]
The EFI application does not actually include the audio, it has merely been ffmpeg'd into the demo video. Audio support would involve a complete refactor and removal of all reliance on GOP, and instead move towards writing directly to the frame buffer, so that PC Speaker can be used, which requires an exit of boot services. Pull requests are welcome!

Preview https://github.com/CompeyDev/bad-apple-efi/assets/74418041/efc399e5-9ccb-45f0-91a2-301c9ec8657c

Usage

Source

The following guide assumes you have rustup and the base-devel installed. The package names are specific to Arch Linux, but install commands can be modified to equivalents for other distributions.

# Install prerequisites
sudo pacman -S qemu-base qemu-ui-gtk ovmf python3 python-pillow python-opencv

# Clone the repository
git clone https://git.devcomp.xyz/DevComp/bad-apple-efi.git

# Generate ASCII frames & compile EFI
make build

# Run in QEMU
make qemu-run

Precompiled

Soon.