Installer star-trek-elite-force-ii-gog

files:
- game: N/A:Please select the GOG.com Windows Installer
- languagepack:
    filename: ef2_sprachpacket_languagepack_de_en_v2.zip
    url: https://www.moddb.com/mods/a-gate-two-birds-and-the-beautiful-sky/downloads/german-english-dual-compatibility-languagepack
- masterserverpatch:
    filename: ef2_multiplayer_master_server_fix-100.zip
    url: https://www.moddb.com/mods/a-gate-two-birds-and-the-beautiful-sky/downloads/master-server-patch-for-star-trek-elite-force-2
game:
  arch: win32
  exe: $GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II/quake3.exe
  gogid: 2125201406
  launch_configs:
  - exe: $GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II/ef2_multiplayer_master_server_fix-100.exe
    name: 'Star Trek: Elite Force II + Master server patch (lets the game find online
      multiplayer servers)'
  - args: +seta developer 1 +set cheats 1
    exe: $GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II/quake3.exe
    name: 'Star Trek: Elite Force II + Enabled cheat mode'
  prefix: $GAMEDIR
  working_dir: $GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II
installer:
- input_menu:
    description: Please choose your preferred language.
    id: Locale
    options:
    - /drive_c/GOG Games/Star Trek Elite Force II/base/locpak1.pk3.bak: English
    - /drive_c/ef2_languagepack/deutsch/locpak1_de.pk3: German
    preselect: /drive_c/GOG Games/Star Trek Elite Force II/base/locpak1.pk3.bak
- task:
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/ef2_languagepack
    file: languagepack
    format: zip
- extract:
    dst: $CACHE/msp
    file: masterserverpatch
    format: zip
- task:
    key: winemenubuilder.exe
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DllOverrides
    prefix: $GAMEDIR
    type: REG_SZ
    value: ''
- task:
    args: /VERYSILENT /SP- /NOCANCEL /SUPPRESSMSGBOXES /NOGUI
    description: Installing...
    executable: game
    name: wineexec
    prefix: $GAMEDIR
- move:
    dst: $GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II/base/locpak1.pk3.bak
    src: $GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II/base/locpak1.pk3
- move:
    dst: $GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II/base/locpak1-custom.pk3
    src: $GAMEDIR/$INPUT_Locale
- move:
    dst: $GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II/
    src: $CACHE/msp/ef2_multiplayer_master_server_fix-100.exe
- move:
    dst: $GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II/quake3.exe
    src: $GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II/EF2.exe
- task:
    app: sandbox
    description: Disabling unused WINE features
    name: winetricks
    prefix: $GAMEDIR
    silent: true
description: Install script for Star Trek Elite Force II from GOG.com with Wine.
game_slug: star-trek-elite-force-ii
gogslug: star_trek_elite_force_ii
humblestoreid: ''
installer_slug: star-trek-elite-force-ii-gog
name: 'Star Trek: Elite Force II'
notes: "The standard 'lutris-wine' version will cause a graphical bug.\r\nPlease change\
  \ the wine version to the newest version of 'lutris-GE-Proton' or 'wine-ge' after\
  \ the installation is complete, if it is not already set."
runner: wine
script:
  files:
  - game: N/A:Please select the GOG.com Windows Installer
  - languagepack:
      filename: ef2_sprachpacket_languagepack_de_en_v2.zip
      url: https://www.moddb.com/mods/a-gate-two-birds-and-the-beautiful-sky/downloads/german-english-dual-compatibility-languagepack
  - masterserverpatch:
      filename: ef2_multiplayer_master_server_fix-100.zip
      url: https://www.moddb.com/mods/a-gate-two-birds-and-the-beautiful-sky/downloads/master-server-patch-for-star-trek-elite-force-2
  game:
    arch: win32
    exe: $GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II/quake3.exe
    gogid: 2125201406
    launch_configs:
    - exe: $GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II/ef2_multiplayer_master_server_fix-100.exe
      name: 'Star Trek: Elite Force II + Master server patch (lets the game find online
        multiplayer servers)'
    - args: +seta developer 1 +set cheats 1
      exe: $GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II/quake3.exe
      name: 'Star Trek: Elite Force II + Enabled cheat mode'
    prefix: $GAMEDIR
    working_dir: $GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II
  installer:
  - input_menu:
      description: Please choose your preferred language.
      id: Locale
      options:
      - /drive_c/GOG Games/Star Trek Elite Force II/base/locpak1.pk3.bak: English
      - /drive_c/ef2_languagepack/deutsch/locpak1_de.pk3: German
      preselect: /drive_c/GOG Games/Star Trek Elite Force II/base/locpak1.pk3.bak
  - task:
      description: Creating Wine prefix
      name: create_prefix
      prefix: $GAMEDIR
  - extract:
      dst: $GAMEDIR/drive_c/ef2_languagepack
      file: languagepack
      format: zip
  - extract:
      dst: $CACHE/msp
      file: masterserverpatch
      format: zip
  - task:
      key: winemenubuilder.exe
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\DllOverrides
      prefix: $GAMEDIR
      type: REG_SZ
      value: ''
  - task:
      args: /VERYSILENT /SP- /NOCANCEL /SUPPRESSMSGBOXES /NOGUI
      description: Installing...
      executable: game
      name: wineexec
      prefix: $GAMEDIR
  - move:
      dst: $GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II/base/locpak1.pk3.bak
      src: $GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II/base/locpak1.pk3
  - move:
      dst: $GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II/base/locpak1-custom.pk3
      src: $GAMEDIR/$INPUT_Locale
  - move:
      dst: $GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II/
      src: $CACHE/msp/ef2_multiplayer_master_server_fix-100.exe
  - move:
      dst: $GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II/quake3.exe
      src: $GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II/EF2.exe
  - task:
      app: sandbox
      description: Disabling unused WINE features
      name: winetricks
      prefix: $GAMEDIR
      silent: true
slug: star-trek-elite-force-ii-gog
steamid: null
version: GOG
year: 2003
{
  "game_slug": "star-trek-elite-force-ii",
  "version": "GOG",
  "description": "Install script for Star Trek Elite Force II from GOG.com with Wine.",
  "notes": "The standard 'lutris-wine' version will cause a graphical bug.\r\nPlease change the wine version to the newest version of 'lutris-GE-Proton' or 'wine-ge' after the installation is complete, if it is not already set.",
  "name": "Star Trek: Elite Force II",
  "year": 2003,
  "steamid": null,
  "gogslug": "star_trek_elite_force_ii",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "star-trek-elite-force-ii-gog",
  "installer_slug": "star-trek-elite-force-ii-gog",
  "script": {
    "files": [
      {
        "game": "N/A:Please select the GOG.com Windows Installer"
      },
      {
        "languagepack": {
          "filename": "ef2_sprachpacket_languagepack_de_en_v2.zip",
          "url": "https://www.moddb.com/mods/a-gate-two-birds-and-the-beautiful-sky/downloads/german-english-dual-compatibility-languagepack"
        }
      },
      {
        "masterserverpatch": {
          "filename": "ef2_multiplayer_master_server_fix-100.zip",
          "url": "https://www.moddb.com/mods/a-gate-two-birds-and-the-beautiful-sky/downloads/master-server-patch-for-star-trek-elite-force-2"
        }
      }
    ],
    "game": {
      "arch": "win32",
      "exe": "$GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II/quake3.exe",
      "gogid": 2125201406,
      "launch_configs": [
        {
          "exe": "$GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II/ef2_multiplayer_master_server_fix-100.exe",
          "name": "Star Trek: Elite Force II + Master server patch (lets the game find online multiplayer servers)"
        },
        {
          "args": "+seta developer 1 +set cheats 1",
          "exe": "$GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II/quake3.exe",
          "name": "Star Trek: Elite Force II + Enabled cheat mode"
        }
      ],
      "prefix": "$GAMEDIR",
      "working_dir": "$GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II"
    },
    "installer": [
      {
        "input_menu": {
          "description": "Please choose your preferred language.",
          "id": "Locale",
          "options": [
            {
              "/drive_c/GOG Games/Star Trek Elite Force II/base/locpak1.pk3.bak": "English"
            },
            {
              "/drive_c/ef2_languagepack/deutsch/locpak1_de.pk3": "German"
            }
          ],
          "preselect": "/drive_c/GOG Games/Star Trek Elite Force II/base/locpak1.pk3.bak"
        }
      },
      {
        "task": {
          "description": "Creating Wine prefix",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/ef2_languagepack",
          "file": "languagepack",
          "format": "zip"
        }
      },
      {
        "extract": {
          "dst": "$CACHE/msp",
          "file": "masterserverpatch",
          "format": "zip"
        }
      },
      {
        "task": {
          "key": "winemenubuilder.exe",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides",
          "prefix": "$GAMEDIR",
          "type": "REG_SZ",
          "value": ""
        }
      },
      {
        "task": {
          "args": "/VERYSILENT /SP- /NOCANCEL /SUPPRESSMSGBOXES /NOGUI",
          "description": "Installing...",
          "executable": "game",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II/base/locpak1.pk3.bak",
          "src": "$GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II/base/locpak1.pk3"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II/base/locpak1-custom.pk3",
          "src": "$GAMEDIR/$INPUT_Locale"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II/",
          "src": "$CACHE/msp/ef2_multiplayer_master_server_fix-100.exe"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II/quake3.exe",
          "src": "$GAMEDIR/drive_c/GOG Games/Star Trek Elite Force II/EF2.exe"
        }
      },
      {
        "task": {
          "app": "sandbox",
          "description": "Disabling unused WINE features",
          "name": "winetricks",
          "prefix": "$GAMEDIR",
          "silent": true
        }
      }
    ]
  }
}
Back to game