Closed jakethekoenig closed 4 years ago
@kylesnowschwartz I realized I split up one of the lines, reentered everything, and was able to open the client. However, still got a crash inside limited.
When it crashes, I think this is the line that starts it: "008e:err:eventlog:ReportEventW L"Application: MTGO.exenFramework Version: v4.0.30319nDescription: The process was terminated due to an unhandled exception.nException Info: exception code c0000005, exception address F4C2D8D6n" wine: Unhandled page fault on read access to 0x00000000 at address 0xf4c2d8d6 (thread 008e), starting debugger..." because MTGO will run for a while perfectly fine before quitting at some stage. In fact, I think it's doing a vintage draft for me right now since it keeps quitting :p really appreciate everyone who has been helping out on this.
Thanks for the feedback. I'll try to integrate the script in a generic way. The good thing is that it may remove the need for the wine patch which would be easier for macOS users.
@somethingstranger I'll try to do more games here to try to reproduce this..
For those having managed to start MTGO but with crashes, can you try the following (copy paste to be sure), witthout doing any reset:
./run-mtgo --shell cfg=$(find .wine/host/ -name user.config ) cat > "$cfg" <<EOF <?xml version="1.0" encoding="utf-8"?> <configuration> <userSettings> <Shiny.Properties.Settings> <setting name="PlayStartupSound" serializeAs="String"> <value>False</value> </setting> </Shiny.Properties.Settings> </userSettings> </configuration> EOF find .wine/host -name Audio -type d -exec mv -v {} {}.old \; mtgo
regarding black windows, it seems to related to #17 @Rango77 try chmod +x run-mtgo
When I run the first part of this script (right after the second EOF) I get bash: : No such file or directory
Yes, Uzay-G I'm having the same problems, to which pauleve offered me to try
chmod +x run-mtgo
I still get the same error message though.
Here is a first attempt of script to disable startup sound (only when not using Docker!), which maybe works on macOS as well (after having following the instructions at https://github.com/pauleve/docker-mtgo/wiki/macOS:-installing-MTGO-using-Wine), and does not require patching wine.
curl -fOL https://raw.githubusercontent.com/pauleve/docker-mtgo/master/extra/mtgo-no-startupsound.sh
bash mtgo-no-startupsound.sh
It is integrated in the Docker image, so you just have to run
./run-mtgo --update
I'm still experiencing crashes at EULA stage (the same as @somethingstranger ) depending on the configuration, I'm trying to figure out what is happening...
I think I have the same EULA crash. Here is my log if it is helful: run_mtgo_log.txt
Thanks. Yes it is the same crash. I'll investigate a bit further, in the worst case I'll bypass the EULA validation..
@Rango77 please copy and paste everything from the run-mtgo command
Tried that, same thing.
./run-mtgo --reset --update panard/mtgo:pr73 --shell -bash: ./run-mtgo: No such file or directory
Same message with chmod +x run-mtgo
Thank you for the help.
@Rango77 please follow carefully the README https://github.com/pauleve/docker-mtgo/blob/master/README.md:
curl -o run-mtgo https://raw.githubusercontent.com/pauleve/docker-mtgo/master/run-mtgo
chmod +x run-mtgo
I attempted to follow the instructions to use it through the docker (I'm on macOS so was just using wine) It told me I needed to input my password to continue but wouldn't allow me to put it in.
@newfiepro can you try again without docker and using the two commands I put above in https://github.com/pauleve/docker-mtgo/issues/79#issuecomment-605491924 (with mtgo-no-startupsound.sh)
@newfiepro if your password doesn't show up, it's still seeing your typing it, just not putting it on screen. just type out the full password and press enter.
@pauleve anything I can do to help with the EULA error?
Description
When running MTGO using the docker container, the game crashes when attempting to play cards, or when starting a match
Reproduction
I ran the recent
./run-mtgo --update
command to grab the latest image, which I believe has the sound disabling patch integrated. I also attempted to run in the shell and copy the paste the EOF manually, and also in combintation of running winetricks quartz
in the shell. All result in the application crashing.
This was after some success playing several matches last night, so I'm unsure how to account for the change in stability.
I've attached the --debug
error log
error.log
pauleve,
I went through the README. Everything seemed to work until I reached
chmod +x run-mtgo
When I pressed enter, the terminal just just skipped a line and wouldn't run anything.
@kylesnowschwartz I have the same experience now.. it crashes whenever it should be a sound..
@Rango77 please open a separate issue, and paste the output of all the commands, including curl
Will do.
@kylesnowschwartz funnily enough, I'm no longer experiencing the crash when doing the following:
./run-mtgo --shell
winedbg /opt/mtgo/mtgo.exe
then press c.
Do you confim?
@pauleve
Unfortunately I performed a --reset
as part of my trial and erroring, and now I'm blocked behind the EULA crash.
Ok.. I seem to have much less crash probability with ./run-mtgo panard/mtgo:pr73
, but it is really random..
Ok.. I seem to have much less crash probability with
./run-mtgo panard/mtgo:pr73
, but it is really random..
Yes this unblocks the EULA crash!
And we're off and away playing well using ./run-mtgo panard/mtgo:pr73
not even using the shell or any of the other tricks
Still experiencing it from time to time with this image.. we're not done apparently :'(
Has anyone gotten everything to work with no issues? If so, what did you do?
I'm having no issue so far using wine outside of docker, with the latest wine for Ubuntu, the appropriate winetricks, and the script I mentioned above to disable startup sound. Will give more try later..
According to feedback in https://www.reddit.com/r/MTGO/comments/fp6hxx/problem_booting_mtgo_via_wine_staging_on_mac_w/flsbzl5 the script seems to work on macOS (without Docker). I've updated the instructions at https://github.com/pauleve/docker-mtgo/wiki/macOS:-installing-MTGO-using-Wine ; it is rather equivalent for linux, except the wine installation part.
Time to close this bug:
curl -fOL https://raw.githubusercontent.com/pauleve/docker-mtgo/master/extra/mtgo-no-startupsound.sh
bash mtgo-no-startupsound.sh
If you have an error with the above script, please open a new issue.
For those experiencing the crash, let's move to #83
Apparently I found a workaround for the crashes, see #83 and keep me in touch there.
pauleve, thank you so much for your help with this!
I downloaded and installed Wine 5.6 for my Mac laptop, based on your notes here. I'm running Mac OS Mojave, version 10.14.6. When I open Wine Staging 5.6 and execute the line:
wine mtgo.exe
from the prompt, the wine-preloader just takes me to a Wine Internet Explorer showing the URL: http://mtgoclientdepot.onlinegaming.wizards.com/MTGO.application
Screenshot attached of what I see:
Have I missed a step somewhere? Thank you again so much for all of the work you've done to help us figure this out!
Best, Bill
Please follow carefully the instructions at https://github.com/pauleve/docker-mtgo/wiki/macOS:-installing-MTGO-using-Wine; and open a separate issue if you still have one.
The March 25th, 2020 MTGO update has seemed to break things. I've attached the output of ./run_mtgo Let me know if you want more information about the error. error.log