Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

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

  1. Install Bottles as a Flatpak on Bazzite (via Bazaar/software store).
  2. Create a new Windows bottle (e.g., C64-Dev-Machine).
  3. 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/

2. Install Node.js on Bazzite (Host Linux)

bridge.mjs runs natively on Linux as the MCP server, not inside Wine.

  1. Install Node.js via Bazzite's built-in Homebrew:
    Bash
    brew install node
    
  2. Verify it is installed (node -v). The full binary path is /home/linuxbrew/.linuxbrew/bin/node.

3. Configure Zoo Code (mcp_settings.json)

  1. In VSCodium, open Zoo Code → Settings → MCP Servers → Edit Global MCP.
  2. Point "command" to the full Homebrew node path (so the VSCodium sandbox can find it) and "args" to bridge.mjs inside 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"
          ]
        }
      }
    }
    
  3. Save the file (Ctrl+S) and click Refresh MCP Servers in Zoo Code.
  4. Confirm the bridge is listening on port 5150:
    Bash
    ss -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:

  1. Generate the pairing token on Linux (this creates ~/.c64-dev-machine-mcp/token):
    Bash
    node "/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
    
  2. Copy the token file into your Bottle's user folder (typically steamuser or your Linux username under drive_c/users/):
    Bash
    mkdir -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"
    
  3. 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).