Running the Game "Baby Is You" on LicheePi 4A
This article explains how to compile, install, and run the indie game "Baby Is You" on the Licheepi 4A platform.
Game Introduction
"Baby Is You" is a popular puzzle game inspired by "Baba Is You." It features simple pixel graphics and rule-based game mechanics, making it well-suited for running on embedded devices.
Environment Preparation
- Licheepi 4A development board
- RevyOS system
- Basic development environment
-
Configure
localessudo apt install localessudo dpkg-reconfigure locales -
Install box64, refer to COMPILE.md.
git clone https://github.com/ptitSeb/box64.gitcd box64mkdir buildcd buildcmake .. -D RV64=1 -D CMAKE_BUILD_TYPE=RelWithDebInfomake -j$(nproc)sudo make install -
Install gl4es:
git clone https://github.com/ptitSeb/gl4escd gl4esmkdir buildcd buildcmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfomake -j$(nproc) -
Purchase Baby Is You and download the Linux version
-
Make the game launcher executable:
chmod +x run.shin the game package -
Run
LD_LIBRARY_PATH=path/to/gl4es/lib/:$LD_LIBRARY_PATH BOX64_BASH=path/to/box64/tests/bash box64 path/to/Baby Is You/run.sh, and after a moment, you should see the game interface launch