This script works to configure a Wine prefix and then install and run the game MTGO using wine-wow64. I adatped this with inspiration from the established pauleve container solution (pauleve/docker-mtgo).
(WARNING) Running this will resest any existing wine prefix that is not backed up.
This was tested and developed while using Arch Linux / X11. It should work just fine on other Linux distributions with minimal adjustments.
System should have wine-wow64 installed along with Wine specific dependencies prior to running setup script.
Information about Wine dependencies related to Arch Linux can be found here: Arch Wiki
Otherwise, 4cpu cores and stable internet connection should suffice in regards to hardware requirements.
The mtgo-desktop.txt file is a template for creating a Desktop Entry File that allows the script to appear as a normal application with an icon in the task manager GUI.
This file needs to be modified with correct paths to mtgo setup script and mtgo icon then saved to ~/.local/share/applications .