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

files:
- install: N/A:Select the installer provided by GOG.
- xwau2020: https://www.xwaupgrade.com/download/installers/XWAU2020.exe
- xwau2020update_v6.0: https://www.xwaupgrade.com/download/installers/XWAU2020update_v6.0.exe
- ddraw_beta: https://www.xwaupgrade.com/download/betas/EffectsByBlueMax2_beta_v2023-11-21.zip
- xwa_hooks_setup: https://raw.github.com/JeremyAnsel/XwaHooksSetup/master/XwaHooksSetup/zip/XwaHooksSetup.zip
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
- task:
    app: dotnet48
    arch: win64
    description: Installing .NET 4.8
    name: winetricks
    prefix: $GAMEDIR
- task:
    arch: win64
    description: Installing XWA Upgrade 2020
    executable: xwau2020
    name: wineexec
    prefix: $GAMEDIR
- task:
    arch: win64
    description: Installing XWA Upgrade 2020 Patch 5
    executable: xwau2020update_v6.0
    name: wineexec
    prefix: $GAMEDIR
- extract:
    description: Installing latest ddraw beta
    dst: $GAMEDIR/drive_c/Games/XWA/
    file: ddraw_beta
- extract:
    description: Extracting XwaHooksSetup tool
    dst: $GAMEDIR/drive_c/Games/XWA/XwaHooksSetup
    file: xwa_hooks_setup
- task:
    arch: win64
    description: Download latest hooks with XwaHooksSetup
    executable: $GAMEDIR/drive_c/Games/XWA/XwaHooksSetup/XwaHooksSetup.exe
    name: wineexec
    prefix: $GAMEDIR
    working_dir: $GAMEDIR/drive_c/Games/XWA/XwaHooksSetup/
- merge:
    dst: $GAMEDIR/drive_c/Games/XWA
    src: $GAMEDIR/drive_c/Games/XWA/XwaHooksSetup/Setup
- task:
    description: Set BabuFriksConfigurator to not use DXVK
    key: d3d9
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\AppDefaults\BabuFriksConfigurator.exe\DllOverrides
    type: REG_SZ
    value: builtin
- task:
    description: Set PalpatineTotalConverter to not use DXVK
    key: d3d9
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\AppDefaults\PalpatineTotalConverter.exe\DllOverrides
    type: REG_SZ
    value: builtin
- task:
    description: Set Launcher to not use DXVK
    key: d3d9
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\AppDefaults\Alliance.exe\DllOverrides
    type: REG_SZ
    value: builtin
- task:
    description: Set Joystick Configuration Tool to not use DXVK
    key: d3d9
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\AppDefaults\XwaJoystickConfig.exe\DllOverrides
    type: REG_SZ
    value: builtin
- task:
    app: win10
    arch: win64
    description: Setting Windows 10 mode
    name: winetricks
    prefix: $GAMEDIR
system:
  env:
    DXVK_STATE_CACHE: '0'
  reset_desktop: true
wine:
  overrides:
    ddraw.dll: n, b
    dinput.dll: n, b
description: XWAU 6+beta using DXVK
game_slug: star-wars-x-wing-alliance
gogslug: star_wars_xwing_alliance
humblestoreid: ''
installer_slug: star-wars-x-wing-alliance-xwaupgrade-gog
name: 'STAR WARS: X-Wing Alliance'
notes: "XWAUpgrade Website: https://xwaupgrade.com\r\nDistribution of XWAUpgrade has\
  \ been approved by the project.\r\n\r\nThis installer requires the game installed\
  \ from GOG. It will copy the files to the existing install in the prefix (c:\\Games\\\
  XWA).\r\n\r\nIt will install the latest beta since it is necessary to make the game\
  \ run in Linux with DXVK.\r\n\r\nYou can ignore the error pop-ups during the .NET\
  \ 4.8 installation.\r\n\r\nNow updated to 6---- may see pop up to close during v6\
  \ install.....just wait.\r\nThis version install Xwing from scratch as the extends\
  \ thing doesn't seem to work."
runner: wine
script:
  files:
  - install: N/A:Select the installer provided by GOG.
  - xwau2020: https://www.xwaupgrade.com/download/installers/XWAU2020.exe
  - xwau2020update_v6.0: https://www.xwaupgrade.com/download/installers/XWAU2020update_v6.0.exe
  - ddraw_beta: https://www.xwaupgrade.com/download/betas/EffectsByBlueMax2_beta_v2023-11-21.zip
  - xwa_hooks_setup: https://raw.github.com/JeremyAnsel/XwaHooksSetup/master/XwaHooksSetup/zip/XwaHooksSetup.zip
  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
  - task:
      app: dotnet48
      arch: win64
      description: Installing .NET 4.8
      name: winetricks
      prefix: $GAMEDIR
  - task:
      arch: win64
      description: Installing XWA Upgrade 2020
      executable: xwau2020
      name: wineexec
      prefix: $GAMEDIR
  - task:
      arch: win64
      description: Installing XWA Upgrade 2020 Patch 5
      executable: xwau2020update_v6.0
      name: wineexec
      prefix: $GAMEDIR
  - extract:
      description: Installing latest ddraw beta
      dst: $GAMEDIR/drive_c/Games/XWA/
      file: ddraw_beta
  - extract:
      description: Extracting XwaHooksSetup tool
      dst: $GAMEDIR/drive_c/Games/XWA/XwaHooksSetup
      file: xwa_hooks_setup
  - task:
      arch: win64
      description: Download latest hooks with XwaHooksSetup
      executable: $GAMEDIR/drive_c/Games/XWA/XwaHooksSetup/XwaHooksSetup.exe
      name: wineexec
      prefix: $GAMEDIR
      working_dir: $GAMEDIR/drive_c/Games/XWA/XwaHooksSetup/
  - merge:
      dst: $GAMEDIR/drive_c/Games/XWA
      src: $GAMEDIR/drive_c/Games/XWA/XwaHooksSetup/Setup
  - task:
      description: Set BabuFriksConfigurator to not use DXVK
      key: d3d9
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\AppDefaults\BabuFriksConfigurator.exe\DllOverrides
      type: REG_SZ
      value: builtin
  - task:
      description: Set PalpatineTotalConverter to not use DXVK
      key: d3d9
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\AppDefaults\PalpatineTotalConverter.exe\DllOverrides
      type: REG_SZ
      value: builtin
  - task:
      description: Set Launcher to not use DXVK
      key: d3d9
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\AppDefaults\Alliance.exe\DllOverrides
      type: REG_SZ
      value: builtin
  - task:
      description: Set Joystick Configuration Tool to not use DXVK
      key: d3d9
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\AppDefaults\XwaJoystickConfig.exe\DllOverrides
      type: REG_SZ
      value: builtin
  - task:
      app: win10
      arch: win64
      description: Setting Windows 10 mode
      name: winetricks
      prefix: $GAMEDIR
  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-xwaupgrade-gog
steamid: 361670
version: XWAUpgrade - GOG
year: 1999
{
  "game_slug": "star-wars-x-wing-alliance",
  "version": "XWAUpgrade - GOG",
  "description": "XWAU 6+beta using DXVK",
  "notes": "XWAUpgrade Website: https://xwaupgrade.com\r\nDistribution of XWAUpgrade has been approved by the project.\r\n\r\nThis installer requires the game installed from GOG. It will copy the files to the existing install in the prefix (c:\\Games\\XWA).\r\n\r\nIt will install the latest beta since it is necessary to make the game run in Linux with DXVK.\r\n\r\nYou can ignore the error pop-ups during the .NET 4.8 installation.\r\n\r\nNow updated to 6---- may see pop up to close during v6 install.....just wait.\r\nThis version install Xwing from scratch as the extends thing doesn't seem to work.",
  "name": "STAR WARS: X-Wing Alliance",
  "year": 1999,
  "steamid": 361670,
  "gogslug": "star_wars_xwing_alliance",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "star-wars-x-wing-alliance-xwaupgrade-gog",
  "installer_slug": "star-wars-x-wing-alliance-xwaupgrade-gog",
  "script": {
    "files": [
      {
        "install": "N/A:Select the installer provided by GOG."
      },
      {
        "xwau2020": "https://www.xwaupgrade.com/download/installers/XWAU2020.exe"
      },
      {
        "xwau2020update_v6.0": "https://www.xwaupgrade.com/download/installers/XWAU2020update_v6.0.exe"
      },
      {
        "ddraw_beta": "https://www.xwaupgrade.com/download/betas/EffectsByBlueMax2_beta_v2023-11-21.zip"
      },
      {
        "xwa_hooks_setup": "https://raw.github.com/JeremyAnsel/XwaHooksSetup/master/XwaHooksSetup/zip/XwaHooksSetup.zip"
      }
    ],
    "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"
        }
      },
      {
        "task": {
          "app": "dotnet48",
          "arch": "win64",
          "description": "Installing .NET 4.8",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "description": "Installing XWA Upgrade 2020",
          "executable": "xwau2020",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "description": "Installing XWA Upgrade 2020 Patch 5",
          "executable": "xwau2020update_v6.0",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "description": "Installing latest ddraw beta",
          "dst": "$GAMEDIR/drive_c/Games/XWA/",
          "file": "ddraw_beta"
        }
      },
      {
        "extract": {
          "description": "Extracting XwaHooksSetup tool",
          "dst": "$GAMEDIR/drive_c/Games/XWA/XwaHooksSetup",
          "file": "xwa_hooks_setup"
        }
      },
      {
        "task": {
          "arch": "win64",
          "description": "Download latest hooks with XwaHooksSetup",
          "executable": "$GAMEDIR/drive_c/Games/XWA/XwaHooksSetup/XwaHooksSetup.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR",
          "working_dir": "$GAMEDIR/drive_c/Games/XWA/XwaHooksSetup/"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Games/XWA",
          "src": "$GAMEDIR/drive_c/Games/XWA/XwaHooksSetup/Setup"
        }
      },
      {
        "task": {
          "description": "Set BabuFriksConfigurator to not use DXVK",
          "key": "d3d9",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\AppDefaults\\BabuFriksConfigurator.exe\\DllOverrides",
          "type": "REG_SZ",
          "value": "builtin"
        }
      },
      {
        "task": {
          "description": "Set PalpatineTotalConverter to not use DXVK",
          "key": "d3d9",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\AppDefaults\\PalpatineTotalConverter.exe\\DllOverrides",
          "type": "REG_SZ",
          "value": "builtin"
        }
      },
      {
        "task": {
          "description": "Set Launcher to not use DXVK",
          "key": "d3d9",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\AppDefaults\\Alliance.exe\\DllOverrides",
          "type": "REG_SZ",
          "value": "builtin"
        }
      },
      {
        "task": {
          "description": "Set Joystick Configuration Tool to not use DXVK",
          "key": "d3d9",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\AppDefaults\\XwaJoystickConfig.exe\\DllOverrides",
          "type": "REG_SZ",
          "value": "builtin"
        }
      },
      {
        "task": {
          "app": "win10",
          "arch": "win64",
          "description": "Setting Windows 10 mode",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_STATE_CACHE": "0"
      },
      "reset_desktop": true
    },
    "wine": {
      "overrides": {
        "ddraw.dll": "n, b",
        "dinput.dll": "n, b"
      }
    }
  }
}
Back to game