diff --git a/notes/dev/browser-boxedwine.md b/notes/dev/browser-boxedwine.md index 905e0fd..c6a4227 100644 --- a/notes/dev/browser-boxedwine.md +++ b/notes/dev/browser-boxedwine.md @@ -99,3 +99,21 @@ root zip did. Loading 415 MB into the page took a few seconds locally. outside the 640x480 game area) - `../img/dev/boxedwine-native-village.jpg` – Village chapter 1 in game (Kuzco not visible, see above) - `../img/dev/boxedwine-web-ddraw-error.jpg` – web build in Chromium: "Direct Draw kann nicht gestartet werden." + +## Running it locally + +A durable native setup lives in `~/opt/boxedwine-26R1/` (rebuilt 2026-11-07 from the procedure above): + +| Path | Content | +|---|---| +| `bin/boxedwine` | Boxedwine 26R1.0 built from `dl-src/` (GitHub tag tarball) with `boxedwine-26R1-linux-xvfb.patch`, GCC 11.4. The sources are CRLF: convert the five patched files to LF (`sed -i 's/\r$//'`) before `patch -p1`; `project/linux/linux_build/lib/libminizip.so` → system `libminizip.so.1` | +| `dl-fs/TinyCore15Wine11.0.zip` | Wine 11 file system (+ `filesV2.xml`) | +| `root/home/username/.wine/` | `user.reg` from the zip + the game's HKCU key, `.update-timestamp` = `disable` | +| `apptest/lama/data/` | `APPTEST_ROOT=~/opt/boxedwine-26R1/apptest tools/apptest.py setup lama`: `game/` (patched groove.exe), `cd-active/`; mounted as `/mnt/lama` | + +Start: `lama-boxedwine` (`~/.local/bin`, bash) on the current `$DISPLAY`, normal sound +(`SDL_AUDIODRIVER=dummy lama-boxedwine` for silence). Log: `~/opt/boxedwine-26R1/last-run.log`; +PID file `~/opt/boxedwine-26R1/boxedwine.pid` blocks a second instance. Known issues: in-game camera at +Kuzco's position, no intro movies (see above). + +**Real screen (AMD RX 480, Mesa radeonsi):** the window stayed black and the game hung after the movie attempts; with `LIBGL_ALWAYS_SOFTWARE=1` (llvmpipe) it shows the title and runs. `lama-boxedwine` therefore defaults to the software renderer (`LAMA_BW_GPU=1` to try the GPU).