Comments (15)
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.
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.
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.
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
from docker-mtgo.
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.
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.
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.
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.
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.
For the black windows issue in MTGO, try to open a terminal and type xrefresh
; does it help?
from docker-mtgo.
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.
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.
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.
Life totals never display during gameplay, any reason as to why this occurs?
from docker-mtgo.
@AlfredoB212 I created a dedicated issue to discuss this: #64
from docker-mtgo.
Related Issues (20)
- Server marked as in maintenance, whereas it is not HOT 1
- Magic Online is offline/down for maintenance (but is up for everyone else) HOT 9
- Permisson denied
- [Question] Can I run this on M1 Macs? HOT 3
- Application Tried to create a window but no driver could be loaded HOT 7
- Play Match hangs on highly populated leagues HOT 19
- Repeated relocate_ntdll errors HOT 1
- Issue when joining leagues HOT 2
- WINEARCH win32? 64bit would have more memory HOT 7
- No in game sound HOT 4
- MTGO fails to download when launched after --reset --update HOT 1
- make more prettier
- Pop-up windows cause strange visual issues HOT 2
- Main window totally freezes after finishing a league
- Major visual fighting for windows to "be on top" HOT 2
- Extend base img with other base architecture HOT 4
- Chat windows often don't appear entirely HOT 1
- Cannot build the docker image from master HOT 5
- Cant export trade binders or full trade list HOT 2
- Can't run ./run-mtgo HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-mtgo.