GithubHelp home page GithubHelp logo

maleriepace / docker-mtgo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pauleve/docker-mtgo

0.0 1.0 0.0 510 KB

Docker image with ready-to-play MTGO (Magic Online) for Linux and macOS

Home Page: https://hub.docker.com/r/panard/mtgo/

Makefile 15.63% Shell 71.65% Dockerfile 12.72%

docker-mtgo's Introduction

MTGO docker image

This image provides a ready-to-play Magic The Gathering Online (MTGO) for Linux and macOS.

Join the "WineHQ Players" clan! (Account > Buddies, Clan, Chat > Look for WineHQ Players and contact the captain, or send a mail to panard at inzenet dot org with your MTGO user name)

It is based on i386/debian:stable-slim and wine 6.20.

See https://appdb.winehq.org/objectManager.php?sClass=version&iId=32007 for more information.

Donate Donate

Installation

A necessary prerequisite is to install docker: https://www.docker.com/community-edition#/download. You do not need wine.

Linux

Open a terminal and install the run-mtgo script:

wget -O run-mtgo https://raw.githubusercontent.com/pauleve/docker-mtgo/master/run-mtgo
chmod +x run-mtgo

Make sure your user is in the docker group (command groups). If not, add yourself to the docker group:

sudo usermod -aG docker $USER

You need to logout/login for the changes to take effect.

macOS

Support for macOS is still under test. Using Homebrew, install XQuartz, socat, and the GNU version of getopt.

brew install xquartz
brew install socat
brew install gnu-getopt
brew install wget

Then restart your session (or reboot) and, install the run-mtgo script:

curl -o run-mtgo https://raw.githubusercontent.com/pauleve/docker-mtgo/master/run-mtgo
chmod +x run-mtgo

Important for macOS users: depending on your configuration the Docker image may not work properly. You can consider installing MTGO using Wine directly, following the instructions here: https://github.com/pauleve/docker-mtgo/wiki/macOS:-installing-MTGO-using-Wine

Usage

Run the docker image using the run-mtgo helper script

./run-mtgo

Depending on your configuration, you may want to adjust the resolution of the game, or even switch to desktop emulation which may fix some graphics issues.

./run-mtgo --winecfg

It will launch a configuration tool prior to launching MTGO. There you may be interested in the Graphics tab.

Sound is disabled by default, but adventurous users can give a try to

./run-mtgo --sound

do not hesitate to report issues.

To ensure running the latest docker image, use

./run-mtgo --update

You shoud consider updating the run-mtgo script as well by following the installation procedure.

See

./run-mtgo --help

for other options.

Troubleshooting

  • run-mtgo got permission denied while trying to connect to the Docker daemon socket:

Add yourself to the docker group:

sudo usermod -aG docker $USER

You need to logout/login for the changes to take effect.

  • run-mtgo never exits, even after Ctrl+C:
docker kill mtgo_running
  • Poor performance on Linux (game hangs regularly)

If you are using an Nvidia graphics card, check pauleve#132 Alternatively try

./run-mtgo panard/mtgo:wine-4.9

FAQ

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.