Yay. Was a pain in the backside to get going in Bottles on Bazzite.

Kilsally
18
Posts
1
Topics
11
Followers
173
Following
A member registered Mar 26, 2020 · View creator page →
Recent community posts
C64 Dev Machine V1.51 PRO+LITE - C64 ULTIMATE Ready! comments · Replied to polytricity in C64 Dev Machine V1.51 PRO+LITE - C64 ULTIMATE Ready! comments
In case this helps someone
Here is the complete summary of installing C64 Dev Machine in Bottles on Bazzite and connecting it to Zoo Code over MCP.
1. Install C64 Dev Machine in Bottles
- Install Bottles as a Flatpak on Bazzite (via Bazaar/software store).
- Create a new Windows bottle (e.g.,
C64-Dev-Machine). - Click Run Executable inside the bottle and run the C64 Dev Machine Windows installer (PRO / Full version is required for MCP).
- Default install path inside the Flatpak bottle:
~/.var/app/com.usebottles.bottles/data/bottles/bottles/C64-Dev-Machine/drive_c/Program Files (x86)/C64 Dev Machine/
- Default install path inside the Flatpak bottle:
2. Install Node.js on Bazzite (Host Linux)
bridge.mjs runs natively on Linux as the MCP server, not inside Wine.
- Install Node.js via Bazzite's built-in Homebrew:
Bashbrew install node
- Verify it is installed (
node -v). The full binary path is/home/linuxbrew/.linuxbrew/bin/node.
3. Configure Zoo Code (mcp_settings.json)
- In VSCodium, open Zoo Code → Settings → MCP Servers → Edit Global MCP.
- Point
"command"to the full Homebrewnodepath (so the VSCodium sandbox can find it) and"args"tobridge.mjsinside your bottle:
JSON{ "mcpServers": { "c64-dev-machine": { "command": "/home/linuxbrew/.linuxbrew/bin/node", "args": [ "/var/home/<username>/.var/app/com.usebottles.bottles/data/bottles/bottles/C64-Dev-Machine/drive_c/Program Files (x86)/C64 Dev Machine/tools/cdm-mcp/bridge.mjs" ] } } } - Save the file (Ctrl+S) and click Refresh MCP Servers in Zoo Code.
- Confirm the bridge is listening on port
5150:
Bashss -tln | grep 5150
(Expected output:LISTEN ... 127.0.0.1:5150)
4. Pair C64 Dev Machine (Wine) with the Linux Bridge
Because Wayland/Flatpak clipboards don't reliably sync into Wine, pair by copying the token file directly into the Bottle's Windows user profile:
- Generate the pairing token on Linux (this creates
~/.c64-dev-machine-mcp/token):
Bashnode "/var/home/<username>/.var/app/com.usebottles.bottles/data/bottles/bottles/C64-Dev-Machine/drive_c/Program Files (x86)/C64 Dev Machine/tools/cdm-mcp/bridge.mjs" --pair
- Copy the token file into your Bottle's user folder (typically
steamuseror your Linux username underdrive_c/users/):
Bashmkdir -p "/var/home/<username>/.var/app/com.usebottles.bottles/data/bottles/bottles/C64-Dev-Machine/drive_c/users/steamuser/.c64-dev-machine-mcp" && \ cp ~/.c64-dev-machine-mcp/token "/var/home/<username>/.var/app/com.usebottles.bottles/data/bottles/bottles/C64-Dev-Machine/drive_c/users/steamuser/.c64-dev-machine-mcp/token"
- Launch C64 Dev Machine in Bottles. It automatically reads the token, connects to
127.0.0.1:5150, and turns the bottom-right indicator green (MCP - awaiting instructions).
C64 Dev Machine V1.51 PRO+LITE - C64 ULTIMATE Ready! comments · Posted in C64 Dev Machine V1.51 PRO+LITE - C64 ULTIMATE Ready! comments
AREA 51 – A Pumpkin's Journey (C64) comments · Posted in AREA 51 – A Pumpkin's Journey (C64) comments
Halo Zero (Unofficial remake - Amiga/MD/NeoGeoCD) comments · Posted in Halo Zero (Unofficial remake - Amiga/MD/NeoGeoCD) comments
