Just got that running in a container using wine.
1. Download the game and unpack it into a folder on your NAS
2. Create an .env file (in your dockers project directory (e.g. /docker/mcde/.env) with following options:
# Marvel Champions Docker Configuration # Path to the game directory on your NAS GAME_PATH=<path-to-the-dir-in-which-the-exe-file-is> # Port for the web server GAME_PORT=2345
3. run the yml (e.g. /docker/mcde/docker-compose.yml)
services:
marvel-champions:
image: tobix/pywine:3.12
container_name: marvel-champions
restart: unless-stopped
environment:
- WINEDEBUG=-all
- WINEARCH=win64
volumes:
- ${GAME_PATH}:/game
working_dir: /game
ports:
- "${GAME_PORT}:${GAME_PORT}"
command: ["wine", "marvel-lcg.exe"]
network_mode: bridge
4. Now in your local network, open the browser and type in the address of your NAS
http://192.168.1.49:2345 - where the ip needs to be replaced with your NAS IP and the PORT with the port you entered in the env file.
Project should start.
Nice side effect:
Now you can even play online multiplayer, if your NAS has some dyndns setup.
This is probably not the nicest way (since the container image is about 1.2GB) and probably not secure, if you find a smaller container that works (yea, not all of them work, I tried a couple of...), let me know!