Skip to content

Instantly share code, notes, and snippets.

@NickUfer
Last active January 14, 2022 19:47
Show Gist options
  • Save NickUfer/8c7dc64cdc41b760aff512e8f458a19f to your computer and use it in GitHub Desktop.
Save NickUfer/8c7dc64cdc41b760aff512e8f458a19f to your computer and use it in GitHub Desktop.
Anno 1404 proton installation guide (multiplayer not tested, no crashes on manual or auto saving)

Had to install and activate DirectX 9 as previously explained on ProtonDB

1. Install DirectX 9

You need a wine version which is the same as proton uses. This is hard to achieve. So we just use protons wine and not the one you may have installed on your system.

Save this script to a file, e.g. anno_directx9.sh:

#!/bin/bash

# change this to where your steamapps folder resides
# important: no space before or after the equal sign!
STEAMAPPS_DIR="/home/nick/.local/share/Steam/steamapps"

# Only enter here your major and minor version of proton.
# E.g. if you use Proton 6.3-6, enter 6.3 here
# if you use Proton 4.11-13, enter 4.11 here
# basically enter everything until the hypen
# important: no space before or after the equal sign!
PROTON_VERSION="6.3"

WINEPREFIX="$STEAMAPPS_DIR/compatdata/33350/pfx/" "$STEAMAPPS_DIR/common/Proton $PROTON_VERSION/dist/bin/wine" "$STEAMAPPS_DIR/common/Anno 1404/DirectX/DXSETUP.exe"
  1. Replace the variables STEAMAPPS_DIR and PROTON_VERSION to your environment.
  2. Save the script
  3. Make it executable (chmod +x anno_directx9.sh)
  4. Run the script (./anno_directx9.sh)
  5. Click through the DirectX installation until it is done

2. Force the game to run with DirectX 9

Edit the file $STEAMAPPS_DIR/common/Anno\ 1404/Engine.ini that it looks like this:

<InitFile>
  <UbiSurveyTime>-1</UbiSurveyTime>
  <UbiSurveyTimeStatus>2</UbiSurveyTimeStatus>
  <DirectXVersion>9</DirectXVersion> <!-- This is the line you have to add -->
</InitFile>

Save the file.

3. Add Steam Start Parameters

Go to your anno 1404 and right click -> Properties... -> General

Enter as "Launch Options":

PROTON_USE_D9VK=1 PROTON_FORCE_LARGE_ADDRESS_AWARE=1 PROTON_NO_D3D11=1 %command%

After that close the settings window.

4. Play the Game

If the game starts and does work you can delete your script file anno_directx9.sh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment