一键导入
build-miyoo
Build Miyoo Rust/Zig ports (native or cross-compile for ARM)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Build Miyoo Rust/Zig ports (native or cross-compile for ARM)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Deploy ChaiLove games to the Miyoo Mini Plus, kill RetroArch, upload, relaunch
Build .tic cartridges and deploy to Miyoo Mini Plus via SCP
Port a web game to ChaiLove (ChaiScript) for Miyoo Mini Plus
Port a web game to TIC-80 (Lua) for Miyoo Mini Plus
Package and test a ChaiLove game on the Miyoo Mini Plus via RetroArch
Test Miyoo ARM binaries in a Docker container that simulates the parasyte runtime
| name | build-miyoo |
| description | Build Miyoo Rust/Zig ports (native or cross-compile for ARM) |
| user_invocable | true |
| args | [game-name|all] [--rust|--zig] [--native|--arm] |
Build one or all Miyoo game ports. Supports both Rust+SDL2 (miyoo/) and Zig+SDL2 (zig/) ports.
Cross-compile for Miyoo (ARM, glibc 2.28):
cd /home/mo/data/Documents/git/retrogames/miyoo/<game>
LIBRARY_PATH=/home/mo/data/Documents/git/retrogames/miyoo/sdl2-stub cargo zigbuild --target armv7-unknown-linux-gnueabihf.2.28 --release
Native desktop build:
cd /home/mo/data/Documents/git/retrogames/miyoo/<game>
cargo build --release
Cross-compile for Miyoo:
cd /home/mo/data/Documents/git/retrogames/zig/<game>
zig build -Dtarget=arm-linux-gnueabihf -Doptimize=ReleaseSafe
Native desktop build:
cd /home/mo/data/Documents/git/retrogames/zig/<game>
zig build
Rust: micro, space, shadow, arena, dragon, mariolike, cyber, neon, nova Zig: micro (more coming)
Run /test-miyoo <binary-path> to validate in the Docker simulator, or SCP to the Miyoo:
sshpass -p onion scp <binary> onion@192.168.0.63:/mnt/SDCARD/Roms/PORTS/Games/<GameName>/