From d41da6356df9623acf770633973d08bddcae6870 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 10 Sep 2026 03:30:12 +0000 Subject: [PATCH] wolf: fix Steam catalog entry missing roms/bios/retro-home mounts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit install_wolf()'s own embedded copy of the app CATALOG dict (used the first time Wolf apps are injected into config.toml) had drifted from the copy in the generated manage.sh's own 'apps' command: the 'steam' entry only mounted steam-cache/ and emulators/, missing roms/, saves/, media/, bios/, retro-home/, retro-home-data/, retroarch/, esde-custom-systems/, and esde-settings/ — all present in the manage.sh copy already, per this repo's own existing comment explaining exactly why they're needed. Confirmed live: this is why ES-DE (or Dolphin) added to Steam as a non-Steam game saw none of the ROMs/BIOS files the esde app finds, and had no persisted controller/input config either, since that also lives under the now-unmounted retro-home/esde-settings paths. Diffing the two CATALOG copies end-to-end confirmed this was the only drift — every other app entry (esde, lutris, retroarch, prismlauncher, kodi, firefox, desktop) already matched. update_field() already refreshes an existing app's 'mounts' field on every rerun, so re-selecting Steam via 'sudo ./setup.sh wolf' or './manage.sh apps' picks up the fix without a fresh reinstall. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_013BWYKEERLA1a7gv86Z4W23 --- services/wolf.sh | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/services/wolf.sh b/services/wolf.sh index 19d48d2..8cdba97 100644 --- a/services/wolf.sh +++ b/services/wolf.sh @@ -4701,7 +4701,26 @@ CATALOG = { # (see below) — without it, an emulator AppImage (Cemu, etc.) # added as a non-Steam game (./manage.sh steam-add-nonsteam-game) # has no file to actually point Exe at from inside this container. - f'{games}/emulators:/home/retro/Applications:rw'], + f'{games}/emulators:/home/retro/Applications:rw', + # Same roms/saves/bios/retro-home/retroarch mounts as esde/ + # retroarch below — without these, a standalone ES-DE or + # RetroArch AppImage added here as a non-Steam game (same + # mechanism as Cemu above) would see none of the ROMs, cores, + # save states, BIOS files, or ES-DE's own settings/custom + # systems (TI-99, Wii U AntiMicroX command) that the esde/ + # retroarch containers already have — it'd start from a + # completely empty config instead of reusing what's already + # set up. Every path here is the exact same host directory + # those two containers mount, just also visible from Steam. + f'{games}/roms:/ROMs:rw', + f'{games}/saves:/mnt/games/saves:rw', + f'{games}/media:/media:rw', + f'{games}/bios:/home/retro/bioses:rw', + f'{games}/retro-home:/home/retro/.config:rw', + f'{games}/retro-home-data:/home/retro/.local/share:rw', + f'{games}/retroarch:/home/retro/.config/retroarch:rw', + f'{games}/esde-custom-systems:/home/retro/ES-DE/custom_systems:rw', + f'{games}/esde-settings:/home/retro/ES-DE/settings:rw'], env=['PROTON_LOG=1', 'RUN_SWAY=true', 'GOW_REQUIRED_DEVICES=/dev/input/* /dev/dri/* /dev/nvidia*'], cap_add=['SYS_ADMIN', 'SYS_NICE', 'SYS_PTRACE', 'NET_RAW', 'MKNOD', 'NET_ADMIN'],