Installer star-wars-x-wing-alliance-gog

files:
- xwahacker:
    filename: xwahacker-latest.zip
    url: https://sourceforge.net/projects/xwahacker/files/latest/download
- install: N/A:Select the installer provided by GOG.
game:
  exe: drive_c/Games/XWA/Alliance.EXE
  game_slug: star-wars-x-wing-alliance
  gogslug: star_wars_xwing_alliance
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- task:
    args: /dir="C:\Games\XWA"
    description: Running installer. Please quit the installer at the end, do not run
      the game until this script finishes installing. Do not change the installation
      path if you want to install XWAU/TFTC later
    executable: install
    name: wineexec
    prefix: $GAMEDIR
- extract:
    dst: $CACHE
    file: xwahacker
    format: zip
- task:
    args: XWINGALLIANCE.EXE -p 71
    executable: $CACHE/xwahacker.exe
    name: wineexec
    prefix: $GAMEDIR
    working_dir: $GAMEDIR/drive_c/Games/XWA
- task:
    args: XWINGALLIANCE.EXE -p 103
    executable: $CACHE/xwahacker.exe
    name: wineexec
    prefix: $GAMEDIR
    working_dir: $GAMEDIR/drive_c/Games/XWA
- task:
    args: XWINGALLIANCE.EXE -c 0
    executable: $CACHE/xwahacker.exe
    name: wineexec
    prefix: $GAMEDIR
    working_dir: $GAMEDIR/drive_c/Games/XWA
- task:
    args: XWINGALLIANCE.EXE -c 7
    executable: $CACHE/xwahacker.exe
    name: wineexec
    prefix: $GAMEDIR
    working_dir: $GAMEDIR/drive_c/Games/XWA
- task:
    args: XWINGALLIANCE.EXE -r 1 1920 1080
    executable: $CACHE/xwahacker.exe
    name: wineexec
    prefix: $GAMEDIR
    working_dir: $GAMEDIR/drive_c/Games/XWA
system:
  env:
    DXVK_STATE_CACHE: '0'
  reset_desktop: true
wine:
  overrides:
    ddraw.dll: n, b
    dinput.dll: n, b
description: ''
game_slug: star-wars-x-wing-alliance
gogslug: star_wars_pilots_bundle
humblestoreid: ''
installer_slug: star-wars-x-wing-alliance-gog
name: 'STAR WARS: X-Wing Alliance'
notes: "- The game  will exit if a controller is not connected\r\n- Use XWA Hacker\
  \ for improved system compatibility"
runner: wine
script:
  files:
  - xwahacker:
      filename: xwahacker-latest.zip
      url: https://sourceforge.net/projects/xwahacker/files/latest/download
  - install: N/A:Select the installer provided by GOG.
  game:
    exe: drive_c/Games/XWA/Alliance.EXE
    game_slug: star-wars-x-wing-alliance
    gogslug: star_wars_xwing_alliance
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      args: /dir="C:\Games\XWA"
      description: Running installer. Please quit the installer at the end, do not
        run the game until this script finishes installing. Do not change the installation
        path if you want to install XWAU/TFTC later
      executable: install
      name: wineexec
      prefix: $GAMEDIR
  - extract:
      dst: $CACHE
      file: xwahacker
      format: zip
  - task:
      args: XWINGALLIANCE.EXE -p 71
      executable: $CACHE/xwahacker.exe
      name: wineexec
      prefix: $GAMEDIR
      working_dir: $GAMEDIR/drive_c/Games/XWA
  - task:
      args: XWINGALLIANCE.EXE -p 103
      executable: $CACHE/xwahacker.exe
      name: wineexec
      prefix: $GAMEDIR
      working_dir: $GAMEDIR/drive_c/Games/XWA
  - task:
      args: XWINGALLIANCE.EXE -c 0
      executable: $CACHE/xwahacker.exe
      name: wineexec
      prefix: $GAMEDIR
      working_dir: $GAMEDIR/drive_c/Games/XWA
  - task:
      args: XWINGALLIANCE.EXE -c 7
      executable: $CACHE/xwahacker.exe
      name: wineexec
      prefix: $GAMEDIR
      working_dir: $GAMEDIR/drive_c/Games/XWA
  - task:
      args: XWINGALLIANCE.EXE -r 1 1920 1080
      executable: $CACHE/xwahacker.exe
      name: wineexec
      prefix: $GAMEDIR
      working_dir: $GAMEDIR/drive_c/Games/XWA
  system:
    env:
      DXVK_STATE_CACHE: '0'
    reset_desktop: true
  wine:
    overrides:
      ddraw.dll: n, b
      dinput.dll: n, b
slug: star-wars-x-wing-alliance-gog
steamid: 361670
version: GOG
year: 1999
{
  "game_slug": "star-wars-x-wing-alliance",
  "version": "GOG",
  "description": "",
  "notes": "- The game  will exit if a controller is not connected\r\n- Use XWA Hacker for improved system compatibility",
  "name": "STAR WARS: X-Wing Alliance",
  "year": 1999,
  "steamid": 361670,
  "gogslug": "star_wars_pilots_bundle",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "star-wars-x-wing-alliance-gog",
  "installer_slug": "star-wars-x-wing-alliance-gog",
  "script": {
    "files": [
      {
        "xwahacker": {
          "filename": "xwahacker-latest.zip",
          "url": "https://sourceforge.net/projects/xwahacker/files/latest/download"
        }
      },
      {
        "install": "N/A:Select the installer provided by GOG."
      }
    ],
    "game": {
      "exe": "drive_c/Games/XWA/Alliance.EXE",
      "game_slug": "star-wars-x-wing-alliance",
      "gogslug": "star_wars_xwing_alliance",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "args": "/dir=\"C:\\Games\\XWA\"",
          "description": "Running installer. Please quit the installer at the end, do not run the game until this script finishes installing. Do not change the installation path if you want to install XWAU/TFTC later",
          "executable": "install",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$CACHE",
          "file": "xwahacker",
          "format": "zip"
        }
      },
      {
        "task": {
          "args": "XWINGALLIANCE.EXE -p 71",
          "executable": "$CACHE/xwahacker.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR",
          "working_dir": "$GAMEDIR/drive_c/Games/XWA"
        }
      },
      {
        "task": {
          "args": "XWINGALLIANCE.EXE -p 103",
          "executable": "$CACHE/xwahacker.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR",
          "working_dir": "$GAMEDIR/drive_c/Games/XWA"
        }
      },
      {
        "task": {
          "args": "XWINGALLIANCE.EXE -c 0",
          "executable": "$CACHE/xwahacker.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR",
          "working_dir": "$GAMEDIR/drive_c/Games/XWA"
        }
      },
      {
        "task": {
          "args": "XWINGALLIANCE.EXE -c 7",
          "executable": "$CACHE/xwahacker.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR",
          "working_dir": "$GAMEDIR/drive_c/Games/XWA"
        }
      },
      {
        "task": {
          "args": "XWINGALLIANCE.EXE -r 1 1920 1080",
          "executable": "$CACHE/xwahacker.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR",
          "working_dir": "$GAMEDIR/drive_c/Games/XWA"
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_STATE_CACHE": "0"
      },
      "reset_desktop": true
    },
    "wine": {
      "overrides": {
        "ddraw.dll": "n, b",
        "dinput.dll": "n, b"
      }
    }
  }
}
Back to game