From 0edd5d51a8e0973dcfd2dc13f8ebaa8d3a9cc83c Mon Sep 17 00:00:00 2001 From: axle Date: Tue, 29 Jul 2025 22:56:17 -0700 Subject: [PATCH] /TODO : fix make init for docker --- Dockerfile | 5 ++++- README.md | 8 ++++---- mcp-config.json | 20 ++------------------ 3 files changed, 10 insertions(+), 23 deletions(-) diff --git a/Dockerfile b/Dockerfile index 63874474d2..47a5bc6516 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,7 +32,10 @@ RUN git clone https://github.com/zeldaret/mm.git # remove dependancies # add volume for rom endpoint WORKDIR /mm/baseroms/n64-us -COPY ./baseroms/n64-us/baserom.z64 . +COPY ./baseroms/n64-us . + +WORKDIR /mm/build/n64-us +COPY ./build/n64-us/mm-n64-us.z64 . WORKDIR /mm RUN pip install -r requirements.txt diff --git a/README.md b/README.md index 0f24671007..a87e306b8f 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ cd mm Place a copy of the US ROM inside the `baseroms/n64-us/` folder. -Rename the file to `mm-n64-us.z64`, `mm-n64-us.z64` or `mm-n64-us.z64`, depending on the original extension. +Rename the file to `baserom.z64`, `mm-n64-us.z64` or `mm-n64-us.z64`, depending on the original extension. #### 4. Make and Build the ROM @@ -170,9 +170,9 @@ The disadvantage that the ordering of the terminal output is scrambled, so for d "args": [ "run", "--rm", - "-v", "${PWD}:/project", - "-w", "/project", - "ghcr.io/Axle-Bucamp/mm", + "-v", "${PWD}:/mm", + "-w", "/mm", + "mm", "bash" ] } diff --git a/mcp-config.json b/mcp-config.json index 878977207a..f8b743d31f 100644 --- a/mcp-config.json +++ b/mcp-config.json @@ -1,28 +1,12 @@ { "mcpServers": { - "desktop-commander": { - "command": "npx", - "args": [ - "-y", - "@wonderwhy-er/desktop-commander" - ] - }, - "playwright": { - "command": "npx", - "args": [ - "-y", - "@executeautomation/playwright-mcp-server", - "--browser", - "chromium" - ] - }, "zeldaret-mm": { "command": "docker", "args": [ "run", "--rm", - "-v", "${PWD}:/project", - "-w", "/project", + "-v", "${PWD}:/mm", + "-w", "/mm", "ghcr.io/zeldaret/mm", "bash" ]