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

files:
- xwahacker: https://managedway.dl.sourceforge.net/project/xwahacker/xwahacker-3.2.zip
- install: N/A:Select the installer provided by GOG.
game:
  arch: win64
  description: XWAUpgrade Mod and Framework
  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:
    arch: win64
    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: XWA GOG dxvk
game_slug: star-wars-x-wing-alliance
gogslug: star_wars_xwing_alliance
humblestoreid: ''
installer_slug: star-wars-x-wing-alliance-gog
name: 'STAR WARS: X-Wing Alliance'
notes: Requires a controller or joystick.
runner: wine
script:
  files:
  - xwahacker: https://managedway.dl.sourceforge.net/project/xwahacker/xwahacker-3.2.zip
  - install: N/A:Select the installer provided by GOG.
  game:
    arch: win64
    description: XWAUpgrade Mod and Framework
    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:
      arch: win64
      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": "XWA GOG dxvk",
  "notes": "Requires a controller or joystick.",
  "name": "STAR WARS: X-Wing Alliance",
  "year": 1999,
  "steamid": 361670,
  "gogslug": "star_wars_xwing_alliance",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "star-wars-x-wing-alliance-gog",
  "installer_slug": "star-wars-x-wing-alliance-gog",
  "script": {
    "files": [
      {
        "xwahacker": "https://managedway.dl.sourceforge.net/project/xwahacker/xwahacker-3.2.zip"
      },
      {
        "install": "N/A:Select the installer provided by GOG."
      }
    ],
    "game": {
      "arch": "win64",
      "description": "XWAUpgrade Mod and Framework",
      "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": {
          "arch": "win64",
          "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