Try right-clicking your application menu icon to see if it has a "Configure" or "Add Application" option. Writing these files by hand is a pain, and most window managers have a built-in mechanism for creating these files. These files describe location, display name, icon, and category information. Menu entries are usually stored in " ~/.local/applications/*.desktop" files. Unfortunately, I can't give you any hard and fast rules because each desktop environment is different, but there are some commonalities. Your game(s) should be running pretty well now, but it would be easier to fire it up from the application menu. Using a virtual desktop allows your window manager to handle Alt-Tab behavior instead of the game trying to handle the focus change. Set the "Desktop size" boxes to match your current screen resolution. This time, go to the "Graphics" tab, check "Emulate a virtual desktop". It was part of creating the Wine prefix in Step 1. Adjust the Wine configuration's Virtual Desktop settingsįrom the " x3-terran-war-pack" directory, run the following to open up the Wine configuration (settings): Note that disabling "Fullscreen" will also disable your ability to control antialiasing.Ģ. This retains the fullscreen experience but allows toggling windows without fullscreen switching. Open each game and, on the intro popup, click "Graphics Settings" and change "Fullscreen" to "Borderless". There are a couple easy steps you can take to address these kinds of issues.ġ. Some window managers won't properly assign focus to fullscreen child processes, or can make Alt-Tabbing difficult. Now you can run either of those scripts to fire up " X3: Terran Conflict" or " X3: Albion Prelude" respectively. To make those scripts executable, run the following in your terminal: Adjust accordingly.Īssuming the file is in your Downloads folder, run the following in your terminal:Īt this point the games should be fully playable, but it's a hassle to manually define your WINEPREFIX and WINEARCH, change to the game directory, and manually run Wine every time you want to play.Īdd the following two scripts, named X3TC.sh and X3AP.sh to your " x3-terran-war-pack" base directory:Įxport WINEPREFIX=$(realpath $(dirname $0))Ĭd "$WINEPREFIX/drive_c/GOG Games/X3 Terran War Pack" or use that backup I so kindly suggested :)ĭepending on where you downloaded ActiveMovie from, it will be called "Amov4ie.exe" or "amov4ie.exe". If you encounter any errors, start over from Step 1. Winetricks -q amstream devenum quartz wsh57 wmp10 Install them all with the following command: The following Winetricks are required, and should be installed in this order: If you fail to heed this warning, expect to start over ) The Ubuntu repository version is outdated and will not work. If any Winetricks fail you'll have to start over.īefore continuing, ensure you're running an up-to-date version of Winetricks. (OPTIONAL) You might want to make a backup of the directory at this point. Runtime errors near the end of installation are common and won't affect your installation. Wine ~/Downloads/setup_x3_terran_war_pack_3.4_(17049).exeĬlick "Exit" when the installer completes. Don't close or change terminal sessions until all steps are complete.Īssuming the game is in your Downloads folder, run the following in your terminal: IMPORTANT NOTE: The above commands exported WINEPREFIX and WINEARCH, both of which must be available to the commands used in the following steps. Hit "Apply" or "OK" before closing the window to save your changes. I highly recommend disabling all "Link" options under the "Desktop Integration" tab to keep installers from polluting your desktop and menu environments. The last command will prepare a local standalone wine environment and bring up the Wine configuration window. You'll be setting up a 32-bit Wine prefix in a new directory: Sudo apt-get install gstreamer1.0-libav:i386 gstreamer1.0-plugins-base:i386 gstreamer1.0-plugins-good:i386 gstreamer1.0-plugins-ugly:i386 Install the above packages from the command line: Ensure you have the 32-bit (i386) architecture enabled with:Īt a minimum, you'll want the following codec libraries installed: Feel free to discuss other distros (Arch/Fedora/etc.) in the comments, but please don't start a pointless distro flame war. The following also assumes an Ubuntu-based distribution when discussing package management. Microsoft ActiveMovie - "amov4ie.exe" available from PlayOnLinux or Lone Wolf $cripts (will be installed last).Winetricks: A recent version is required (NOT a repository version).Wine: A recent "staging" version is recommended.
0 Comments
Leave a Reply. |