Skip to content

Latest commit

 

History

History
116 lines (82 loc) · 4.19 KB

File metadata and controls

116 lines (82 loc) · 4.19 KB

e# Install Europa 1400 (The Guild Gold) on Linux with Wine

This guide provides step-by-step instructions to install Europa 1400: The Guild Gold on Linux using Wine, including optional performance enhancements and fixes.

Prerequisites

Before starting, ensure you have the following:

  • Wine: Version 10 or higher
  • Winetricks: For installing additional components
  • Unzip: For extracting files
  • Curl: For downloading files
  • GOG Installer: The Guild Gold installer (setup_the_guild_gold_2.0.0.5.exe) with SHA-256 hash:
    c80e34192c13f63d1d796ac71f3dace9a6f9c33846188b0e08abb13a7e6af40e

Verify the installer’s integrity using the hash to ensure it’s unmodified.

Step 1: Set Up Wineprefix

You can use your default Wineprefix ($HOME/.wine) or create a new one for this game to avoid conflicts with other Wine installations.

# Optional: export WINEPREFIX=$HOME/.wine_guild
export WINEPREFIX=$HOME/.wine
wine setup_the_guild_gold_2.0.0.5.exe /VERYSILENT /DIR="C:\Guild"

Notes:

  • Replace ~/.wine_guild with your preferred Wineprefix path if creating a new one.
  • The /VERYSILENT flag installs the game silently, and /DIR="C:\Guild" specifies the installation directory.

Step 2: Configure game.ini

Modify the game’s configuration file to improve compatibility and performance.

pushd "$WINEPREFIX/drive_c/Guild"
sed -i 's/^Bildmodus.*\r$/Bildmodus=DIRECTWINDOW\r/' game.ini
sed -i 's/^show_intro.*\r$/show_intro=0\r/' game.ini
sed -i 's/^cur_res.*\r$/cur_res=1\r/' game.ini
popd

Explanation:

  • Bildmodus=DIRECTWINDOW: Ensures the game runs in a compatible windowed mode.
  • show_intro=0: Skips the intro videos for faster startup.
  • cur_res=1: Sets the resolution to a compatible default.

Step 3: Install DXVK (Optional)

DXVK translates DirectX to Vulkan, potentially improving performance. This step is optional but recommended for better graphics rendering.

winetricks dxvk

Note: Ensure your system supports Vulkan (most modern GPUs do). Check with vulkaninfo if unsure.

Step 4: Install and Configure DXWrapper

DXWrapper enhances DirectX compatibility. Follow these steps to install and configure it.

pushd "$WINEPREFIX/drive_c/Guild"
curl -L -o dx8.games.zip https://github.com/elishacloud/dxwrapper/releases/download/v1.4.7900.25/dx8.games.zip
unzip dx8.games.zip && rm dx8.games.zip

wine reg add 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v d3d8 /t REG_SZ /d "native,builtin" /f

# Configure dxwrapper.ini
grep -q '^[[:space:]]*SetPOW2Caps[[:space:]]*=' dxwrapper.ini \
  && sed -i 's/^[[:space:]]*SetPOW2Caps[[:space:]]*=.*/SetPOW2Caps = 1/' dxwrapper.ini \
  || sed -i '/^\[d3d9\]/a SetPOW2Caps = 1' dxwrapper.ini

sed -i 's/^LimitPerFrameFPS.*\r$/LimitPerFrameFPS=120\r/' dxwrapper.ini
sed -i 's/^ShowFPSCounter.*\r$/ShowFPSCounter=1\r/' dxwrapper.ini
popd

Explanation:

  • Downloads and extracts DXWrapper files.
  • SetPOW2Caps=1: Ensures texture compatibility.
  • LimitPerFrameFPS=120: Caps the frame rate for smoother gameplay.
  • ShowFPSCounter=1: Displays an FPS counter for performance monitoring.

Step 5: Install Network Fix

Install a network fix to address multiplayer or connectivity issues.

pushd "$WINEPREFIX/drive_c/Guild"
curl -L -o networkfix.asi https://github.com/maci0/europa1400-networkfix/releases/download/latest/networkfix.asi
popd

Note: This fix is necessary only if you plan to use multiplayer features.

Step 6: Test the Game

Launch the game to verify the installation.

pushd "$WINEPREFIX/drive_c/Guild"
wine Europa1400Gold_TL.exe
popd

Troubleshooting:

  • If the game doesn’t start, check the Wineprefix path and ensure all prerequisites are installed.
  • If the dxwrapper doesn't work use: The WINEDLLOVERRIDES="d3d8=n,b" . This setting disables the built-in Wine DLL Direct3D 8 DLL and uses the "native" ione provided in the directory, which is dxwrapper.

Additional Notes

  • Always back up your game.ini and other configuration files before modifying them.
  • If you encounter performance issues, try disabling DXVK or adjusting the FPS limit in dxwrapper.ini.
  • For further assistance, check the WineHQ AppDB or community forums for Europa 1400.