Giter Club home page Giter Club logo

Comments (15)

pauleve avatar pauleve commented on June 15, 2024

It seems that the run-mtgo script failed to detect your (local) ip address.
Currently, it looks for network interface "en0", which I guess in your case does not exists...
Can you try with the attached run-mtgo script? (bash run-mtgo.txt)
run-mtgo.txt

from docker-mtgo.

Nigelxyz avatar Nigelxyz commented on June 15, 2024

I ran it and got a lot of feedback which I'll put into a text file and attach. It, again, opened XQuartz (but opened no windows) and reached the end of the script and did nothing else afterwards. It ended with this:
System information:
Wine build: wine-2.20 (Staging)
Platform: i386
Version: Windows 7
Host system: Linux
Host version: 4.9.60-linuxkit-aufs
Logs.docx

from docker-mtgo.

pauleve avatar pauleve commented on June 15, 2024

Ok, so we are closer now.
The issue is now that socat cannot connect to XQuartz. I would suggest doing a reboot, then try again, and if it fails, try the following commands:

open -a XQuartz
socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\"

if it fails (it should), please show the result of

stat $DISPLAY

from docker-mtgo.

Nigelxyz avatar Nigelxyz commented on June 15, 2024

A reboot fixed that problem and I can now open and log into MTGO! Thanks for your help there! One last problem, though, is that any popups come up as black screens and only things I can click on render (I will attach pictures) so I can't build decks or etc. Thanks, again
screen shot 2018-02-07 at 12 20 37 pm
screen shot 2018-02-07 at 12 20 52 pm

from docker-mtgo.

pauleve avatar pauleve commented on June 15, 2024

Thanks for the feedback, good to know it is (almost) working now.
For the graphics problem, you can try a few different things:

  • use ./run-mtgo --winecfg to start wine configuration utility at startup. Then go to Graphics tab and select "emulate virtual desktop", maybe it will help ;
  • use ./run-mtgo --shell, at prompt enter
winetricks ddr=gdi

then

mtgo
  • use experimental wine 3.0 image using ./run-mtgo panard/mtgo:sound

Let me know if any solution works.

from docker-mtgo.

Nigelxyz avatar Nigelxyz commented on June 15, 2024

I tried the first two solutions, rebooting for each one, and the problem still occurred. The last solution caused the game to open then instantly close with this error in Terminal:
Please either:

  • remove it and restart.
  • run with --gst-disable-segtrap --gst-disable-registry-fork and debug.
    ====== shutting down
    wineserver -kw
    /Users/my name/Downloads/docker-mtgo-master/run-mtgo.txt: line 229: 772 Terminated: 15 tail -f ${URL_REQUESTS}
    774 | while read url; do
    run $WEBBROWSER "${url}";
    done

from docker-mtgo.

pauleve avatar pauleve commented on June 15, 2024

Ok, I've created an image with wine3 but without sound (as it causes a crash here): ./run-mtgo panard/mtgo:wine3, can you give another try?
Doesn't window minimization/resizing help redrawing it?

Note that you may want to try to manually install wine and MTGO, for instance following the instructions here https://appdb.winehq.org/objectManager.php?sClass=version&iId=32007#notes to avoid using the docker/linux layer. This is more tedious, and may not solve your issue though..

from docker-mtgo.

cherryc avatar cherryc commented on June 15, 2024

Another mac OS user here. The wine3 image you just mentioned works about the same as the others - which is to say, not great, but okay.

Resizing the windows slightly solves most problems with black-out - so thanks for that tip. You can also "paint over" any buttons that might pop up to see what they say. But some text either can't be resized or isn't directly on the button, so it remains black or illegible. Sometimes you just have to click Yes and pray it's what you want. Still, it beats spending money on an OS and a virtual machine, so thanks.

I tried installing it myself with both wine3 and wine2.1, but I didn't have any success. The docker image is still the best way to go for me.

Let me know if there's anything I can do to help you further debug.

from docker-mtgo.

pauleve avatar pauleve commented on June 15, 2024

Unfortunately, I can't think at other directions for now, except trying different combinations of options in Graphics of ./run-mtgo --winecfg, but I don't have much expectations.

For the installation of wine and MTGO, I agree that docker is easier and more stable (that was my main motivation creating this project), but maybe you can give another try following the tutorial by @JeffHoogland here: https://it.toolbox.com/blogs/jeffhoogland/howto-install-mtgo-on-ubuntu-linux-010718
Of course, you skip the ubuntu related part (install wine using the official package), but the range of winetricks command etc should work on macOS as well. In addition you have to run winetricks ddr=gdi to ensure opengl is not used.

from docker-mtgo.

pauleve avatar pauleve commented on June 15, 2024

For the black windows issue in MTGO, try to open a terminal and type xrefresh ; does it help?

from docker-mtgo.

pauleve avatar pauleve commented on June 15, 2024

Another possible direction (more promising maybe):

./run-mtgo --shell
echo REGEDIT4 > import.reg
echo >> import.reg
echo "[HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver]" >> import.reg
echo '"ClientSideWithRender"="N"' >> import.reg
echo >> import.reg
regedit import.reg
mtgo

Let me know if it works..

from docker-mtgo.

bwmada avatar bwmada commented on June 15, 2024

This seems to be a bug in xquartz that is fixed/not present in Wine's now-built-in mac drivers. Doing a new install in wine doesn't suffer it. On my machine (macbook air integrated graphics) sluggish drawing and unresponsiveness is noticeable in all x11 windows not just the main app. Might be related to this: https://bugs.freedesktop.org/show_bug.cgi?id=93430 ?

from docker-mtgo.

theli-ua avatar theli-ua commented on June 15, 2024

Just for the record - I'm having no issues (after ddr=gdi) with MTGO on mac using native wine (no docker or any containers).

from docker-mtgo.

AlfredoB212 avatar AlfredoB212 commented on June 15, 2024

Life totals never display during gameplay, any reason as to why this occurs?

from docker-mtgo.

pauleve avatar pauleve commented on June 15, 2024

@AlfredoB212 I created a dedicated issue to discuss this: #64

from docker-mtgo.

Related Issues (20)

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.