GOG Linux games with Box64 (the Hammerwatch how-to)
Philip's four fixes for a GOG Linux installer on a CM4: unzip the .sh, run it through Box64, teach the launch script about aarch64, export TERM=xterm for Mono.
What it takes
- Software only
Difficulty 1 of 3 — easy.
Details
GOG's Linux installers are shell archives whose x86_64 binaries will not run on an ARM console. Philip's route: unzip the installer into /usr/games/<game> instead of executing it, build Box64 from source (he follows the pimylifeup guide), edit the game's Run script so the architecture test accepts aarch64 as well as x86_64, and add export TERM=xterm before the launch line to get past Mono's 'magic number is wrong: 542' error. With lighting, blur and shadows off, Hammerwatch ran well enough for two-player local co-op on controllers.
mikeschnier suggests PiKISS for an easier Box86/Box64 install on Bookworm; Philip found performance better on the factory image than on Bookworm. Some titles fail on audio libraries — Guybrush16bit's Thimbleweed Park crashed at launch.





