Installer empire-earth-2-unofficial-patch-17

files:
- setup: 'N/A:Select your Empire Earth II installer: setup_empire_earth_2_gold_edition_*.exe
    from GOG.com, or setup.exe from the game disc'
game:
  exe: $GAMEDIR/drive_c/Program Files (x86)/Sierra/Empire Earth II/EE2.exe
  prefix: $GAMEDIR
  working_dir: $GAMEDIR/drive_c/Program Files (x86)/Sierra/Empire Earth II
install_complete_text: 'Empire Earth II with Unofficial Patch 1.7 is installed. Start
  it from Lutris: the Launcher opens first. Help: https://ee2.eu/linux'
installer:
- input_menu:
    description: Which installer did you select?
    id: SETUP
    options:
    - /SILENT /SP- /SUPPRESSMSGBOXES /NORESTART /NOICONS /DIR="C:\Program Files (x86)\Sierra\Empire Earth II": 'GOG.com
        installer: shows its progress, nothing to click'
    - ' ': 'Game disc: keep the default folder C:\Program Files (x86)\Sierra\Empire
        Earth II'
- task:
    args: $INPUT_SETUP
    description: Installing Empire Earth II. The GOG.com installer shows its progress
      and closes by itself; with the disc, keep the folder C:\Program Files (x86)\Sierra\Empire
      Earth II. Lutris continues when the installer is closed.
    executable: setup
    name: wineexec
    return_code: 10240
- execute:
    command: "EE2DIR=\"$GAMEDIR/drive_c/Program Files (x86)/Sierra/Empire Earth II\"\
      \nfor EE2FILE in EE2.exe mss32.dll zips/db.zip; do\n  [ -f \"$EE2DIR/$EE2FILE\"\
      \ ] || { echo 'Empire Earth II is not installed in C:\\Program Files (x86)\\\
      Sierra\\Empire Earth II, missing:' \"$EE2FILE\"; exit 1; }\ndone\npython3 -c\
      \ 'import shutil, sys, urllib.request\nfor link, target in zip(sys.argv[1::2],\
      \ sys.argv[2::2]):\n    request = urllib.request.Request(link, headers={\"User-Agent\"\
      : \"EE2.eu Lutris installer\"})\n    shutil.copyfileobj(urllib.request.urlopen(request,\
      \ timeout=300), open(target, \"wb\"))\nsys.exit(0 if open(sys.argv[2], \"rb\"\
      ).read(2) == b\"MZ\" else \"The file downloaded from EE2.eu is not the patch\
      \ installer.\")' \"https://patch.ee2.eu/patch15/download/ee2eu-direct.php?linux=true&ver=lutrisnet-1\"\
      \ \"$CACHE/ee2_update_100-163_170.exe\" \"https://go.microsoft.com/fwlink/p/?LinkId=2124703\"\
      \ \"$CACHE/MicrosoftEdgeWebview2Setup.exe\" || exit 1\n"
    description: Checking the game files and downloading Unofficial Patch 1.7 from
      EE2.eu...
- task:
    app: d3dx9_43 d3dcompiler_43 riched20 corefonts
    description: Installing the Windows libraries Empire Earth II and the Launcher
      use (DirectX 9 helpers, RichEdit, fonts)...
    name: winetricks
- write_file:
    content: '@echo off

      "%~dp0MicrosoftEdgeWebview2Setup.exe" /silent /install

      exit /b 0

      '
    file: $CACHE/webview2.bat
- task:
    description: Installing the Microsoft WebView2 Runtime for the new Launcher windows
      (the classic windows are used when it cannot be installed)...
    executable: $CACHE/webview2.bat
    name: wineexec
- task:
    args: -folder="C:\Program Files (x86)\Sierra\Empire Earth II"
    description: Installing Unofficial Patch 1.7. Follow the installer's steps; Lutris
      continues when the installer is closed.
    executable: $CACHE/ee2_update_100-163_170.exe
    name: wineexec
description: 'Installs Empire Earth II (GOG.com installer or the game disc) together
  with Unofficial Patch 1.7 from EE2.eu: the Launcher, multiplayer, fixes and performance
  improvements. The Art of Supremacy expansion is included.'
game_slug: empire-earth-2
gogslug: empire_earth_2_gold
humblestoreid: ''
installer_slug: empire-earth-2-unofficial-patch-17
name: EMPIRE EARTH 2
notes: 'You need your own copy of the game: the GOG.com installer (setup_empire_earth_2_gold_edition_*.exe)
  or setup.exe from the disc. With the disc, keep the default folder C:\Program Files
  (x86)\Sierra\Empire Earth II. The script downloads the Unofficial Patch 1.7 installer
  from EE2.eu (about 2 GB) and the Microsoft WebView2 Runtime. Help: https://ee2.eu/linux'
runner: wine
script:
  files:
  - setup: 'N/A:Select your Empire Earth II installer: setup_empire_earth_2_gold_edition_*.exe
      from GOG.com, or setup.exe from the game disc'
  game:
    exe: $GAMEDIR/drive_c/Program Files (x86)/Sierra/Empire Earth II/EE2.exe
    prefix: $GAMEDIR
    working_dir: $GAMEDIR/drive_c/Program Files (x86)/Sierra/Empire Earth II
  install_complete_text: 'Empire Earth II with Unofficial Patch 1.7 is installed.
    Start it from Lutris: the Launcher opens first. Help: https://ee2.eu/linux'
  installer:
  - input_menu:
      description: Which installer did you select?
      id: SETUP
      options:
      - /SILENT /SP- /SUPPRESSMSGBOXES /NORESTART /NOICONS /DIR="C:\Program Files (x86)\Sierra\Empire Earth II": 'GOG.com
          installer: shows its progress, nothing to click'
      - ' ': 'Game disc: keep the default folder C:\Program Files (x86)\Sierra\Empire
          Earth II'
  - task:
      args: $INPUT_SETUP
      description: Installing Empire Earth II. The GOG.com installer shows its progress
        and closes by itself; with the disc, keep the folder C:\Program Files (x86)\Sierra\Empire
        Earth II. Lutris continues when the installer is closed.
      executable: setup
      name: wineexec
      return_code: 10240
  - execute:
      command: "EE2DIR=\"$GAMEDIR/drive_c/Program Files (x86)/Sierra/Empire Earth\
        \ II\"\nfor EE2FILE in EE2.exe mss32.dll zips/db.zip; do\n  [ -f \"$EE2DIR/$EE2FILE\"\
        \ ] || { echo 'Empire Earth II is not installed in C:\\Program Files (x86)\\\
        Sierra\\Empire Earth II, missing:' \"$EE2FILE\"; exit 1; }\ndone\npython3\
        \ -c 'import shutil, sys, urllib.request\nfor link, target in zip(sys.argv[1::2],\
        \ sys.argv[2::2]):\n    request = urllib.request.Request(link, headers={\"\
        User-Agent\": \"EE2.eu Lutris installer\"})\n    shutil.copyfileobj(urllib.request.urlopen(request,\
        \ timeout=300), open(target, \"wb\"))\nsys.exit(0 if open(sys.argv[2], \"\
        rb\").read(2) == b\"MZ\" else \"The file downloaded from EE2.eu is not the\
        \ patch installer.\")' \"https://patch.ee2.eu/patch15/download/ee2eu-direct.php?linux=true&ver=lutrisnet-1\"\
        \ \"$CACHE/ee2_update_100-163_170.exe\" \"https://go.microsoft.com/fwlink/p/?LinkId=2124703\"\
        \ \"$CACHE/MicrosoftEdgeWebview2Setup.exe\" || exit 1\n"
      description: Checking the game files and downloading Unofficial Patch 1.7 from
        EE2.eu...
  - task:
      app: d3dx9_43 d3dcompiler_43 riched20 corefonts
      description: Installing the Windows libraries Empire Earth II and the Launcher
        use (DirectX 9 helpers, RichEdit, fonts)...
      name: winetricks
  - write_file:
      content: '@echo off

        "%~dp0MicrosoftEdgeWebview2Setup.exe" /silent /install

        exit /b 0

        '
      file: $CACHE/webview2.bat
  - task:
      description: Installing the Microsoft WebView2 Runtime for the new Launcher
        windows (the classic windows are used when it cannot be installed)...
      executable: $CACHE/webview2.bat
      name: wineexec
  - task:
      args: -folder="C:\Program Files (x86)\Sierra\Empire Earth II"
      description: Installing Unofficial Patch 1.7. Follow the installer's steps;
        Lutris continues when the installer is closed.
      executable: $CACHE/ee2_update_100-163_170.exe
      name: wineexec
slug: empire-earth-2-unofficial-patch-17
steamid: null
version: Unofficial Patch 1.7
year: 2005
{
  "game_slug": "empire-earth-2",
  "version": "Unofficial Patch 1.7",
  "description": "Installs Empire Earth II (GOG.com installer or the game disc) together with Unofficial Patch 1.7 from EE2.eu: the Launcher, multiplayer, fixes and performance improvements. The Art of Supremacy expansion is included.",
  "notes": "You need your own copy of the game: the GOG.com installer (setup_empire_earth_2_gold_edition_*.exe) or setup.exe from the disc. With the disc, keep the default folder C:\\Program Files (x86)\\Sierra\\Empire Earth II. The script downloads the Unofficial Patch 1.7 installer from EE2.eu (about 2 GB) and the Microsoft WebView2 Runtime. Help: https://ee2.eu/linux",
  "name": "EMPIRE EARTH 2",
  "year": 2005,
  "steamid": null,
  "gogslug": "empire_earth_2_gold",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "empire-earth-2-unofficial-patch-17",
  "installer_slug": "empire-earth-2-unofficial-patch-17",
  "script": {
    "files": [
      {
        "setup": "N/A:Select your Empire Earth II installer: setup_empire_earth_2_gold_edition_*.exe from GOG.com, or setup.exe from the game disc"
      }
    ],
    "game": {
      "exe": "$GAMEDIR/drive_c/Program Files (x86)/Sierra/Empire Earth II/EE2.exe",
      "prefix": "$GAMEDIR",
      "working_dir": "$GAMEDIR/drive_c/Program Files (x86)/Sierra/Empire Earth II"
    },
    "install_complete_text": "Empire Earth II with Unofficial Patch 1.7 is installed. Start it from Lutris: the Launcher opens first. Help: https://ee2.eu/linux",
    "installer": [
      {
        "input_menu": {
          "description": "Which installer did you select?",
          "id": "SETUP",
          "options": [
            {
              "/SILENT /SP- /SUPPRESSMSGBOXES /NORESTART /NOICONS /DIR=\"C:\\Program Files (x86)\\Sierra\\Empire Earth II\"": "GOG.com installer: shows its progress, nothing to click"
            },
            {
              " ": "Game disc: keep the default folder C:\\Program Files (x86)\\Sierra\\Empire Earth II"
            }
          ]
        }
      },
      {
        "task": {
          "args": "$INPUT_SETUP",
          "description": "Installing Empire Earth II. The GOG.com installer shows its progress and closes by itself; with the disc, keep the folder C:\\Program Files (x86)\\Sierra\\Empire Earth II. Lutris continues when the installer is closed.",
          "executable": "setup",
          "name": "wineexec",
          "return_code": 10240
        }
      },
      {
        "execute": {
          "command": "EE2DIR=\"$GAMEDIR/drive_c/Program Files (x86)/Sierra/Empire Earth II\"\nfor EE2FILE in EE2.exe mss32.dll zips/db.zip; do\n  [ -f \"$EE2DIR/$EE2FILE\" ] || { echo 'Empire Earth II is not installed in C:\\Program Files (x86)\\Sierra\\Empire Earth II, missing:' \"$EE2FILE\"; exit 1; }\ndone\npython3 -c 'import shutil, sys, urllib.request\nfor link, target in zip(sys.argv[1::2], sys.argv[2::2]):\n    request = urllib.request.Request(link, headers={\"User-Agent\": \"EE2.eu Lutris installer\"})\n    shutil.copyfileobj(urllib.request.urlopen(request, timeout=300), open(target, \"wb\"))\nsys.exit(0 if open(sys.argv[2], \"rb\").read(2) == b\"MZ\" else \"The file downloaded from EE2.eu is not the patch installer.\")' \"https://patch.ee2.eu/patch15/download/ee2eu-direct.php?linux=true&ver=lutrisnet-1\" \"$CACHE/ee2_update_100-163_170.exe\" \"https://go.microsoft.com/fwlink/p/?LinkId=2124703\" \"$CACHE/MicrosoftEdgeWebview2Setup.exe\" || exit 1\n",
          "description": "Checking the game files and downloading Unofficial Patch 1.7 from EE2.eu..."
        }
      },
      {
        "task": {
          "app": "d3dx9_43 d3dcompiler_43 riched20 corefonts",
          "description": "Installing the Windows libraries Empire Earth II and the Launcher use (DirectX 9 helpers, RichEdit, fonts)...",
          "name": "winetricks"
        }
      },
      {
        "write_file": {
          "content": "@echo off\n\"%~dp0MicrosoftEdgeWebview2Setup.exe\" /silent /install\nexit /b 0\n",
          "file": "$CACHE/webview2.bat"
        }
      },
      {
        "task": {
          "description": "Installing the Microsoft WebView2 Runtime for the new Launcher windows (the classic windows are used when it cannot be installed)...",
          "executable": "$CACHE/webview2.bat",
          "name": "wineexec"
        }
      },
      {
        "task": {
          "args": "-folder=\"C:\\Program Files (x86)\\Sierra\\Empire Earth II\"",
          "description": "Installing Unofficial Patch 1.7. Follow the installer's steps; Lutris continues when the installer is closed.",
          "executable": "$CACHE/ee2_update_100-163_170.exe",
          "name": "wineexec"
        }
      }
    ]
  }
}
Back to game