Installer final-fantasy-xiv-online-xivlauncher

This script is for reference only and can't be directly used to install the game in the Lutris client. To install the game, download the full script.

custom-name: Final Fantasy XIV Online - XIVLauncher
files:
- launchersetup: https://kamori.goats.dev/Proxy/Update/Release/Setup.exe
game:
  arch: win64
  exe: drive_c/users/$USER/AppData/Local/XIVLauncher/XIVLauncher.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating Wine prefix
    install_gecko: false
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- task:
    arch: win64
    key: background
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Colors\
    prefix: $GAMEDIR
    type: REG_SZ
    value: 0 0 0
- task:
    app: dotnet48 vcrun2019 win10
    description: Installing .NET 4.8, could take up to 10-20 minutes, please wait
      for it. If this goes longer than 30 minutes, please cancel and retry the installer.
    name: winetricks
    prefix: $GAMEDIR
- task:
    args: /s
    executable: launchersetup
    name: wineexec
- task:
    arch: win64
    key: HideWineExports
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine
    prefix: $GAMEDIR
    type: REG_SZ
    value: Y
- execute:
    command: mkdir -p "$GAMEDIR"/drive_c/users/$USER/Documents/My\ Games/FINAL\ FANTASY\
      XIV\ -\ A\ Realm\ Reborn
- execute:
    command: mkdir -p "$GAMEDIR"/drive_c/users/$USER/AppData/Roaming/XIVLauncher
- execute:
    command: echo -e "<FINAL FANTASY XIV Config File>\n\n<Cutscene Settings>\nCutsceneMovieOpening
      1" > "$GAMEDIR"/drive_c/users/$USER/Documents/My\ Games/FINAL\ FANTASY\ XIV\
      -\ A\ Realm\ Reborn/FFXIV.cfg
- execute:
    command: echo -e "<FINAL FANTASY XIV Boot Config File>\n\n<Version>\nBrowser 1\nStartupCompleted
      1" > "$GAMEDIR"/drive_c/users/$USER/Documents/My\ Games/FINAL\ FANTASY\ XIV\
      -\ A\ Realm\ Reborn/FFXIV_BOOT.cfg
system:
  env:
    DXVK_FRAME_RATE: 0
    XL_WINEONLINUX: true
    __GL_SHADER_DISK_CACHE: 1
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
  pulse_latency: true
wine:
  esync: true
  version: lutris-7.1-x86_64
{
  "custom-name": "Final Fantasy XIV Online - XIVLauncher",
  "files": [
    {
      "launchersetup": "https://kamori.goats.dev/Proxy/Update/Release/Setup.exe"
    }
  ],
  "game": {
    "arch": "win64",
    "exe": "drive_c/users/$USER/AppData/Local/XIVLauncher/XIVLauncher.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "task": {
        "arch": "win64",
        "description": "Creating Wine prefix",
        "install_gecko": false,
        "install_mono": false,
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win64",
        "key": "background",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
        "prefix": "$GAMEDIR",
        "type": "REG_SZ",
        "value": "0 0 0"
      }
    },
    {
      "task": {
        "app": "dotnet48 vcrun2019 win10",
        "description": "Installing .NET 4.8, could take up to 10-20 minutes, please wait for it. If this goes longer than 30 minutes, please cancel and retry the installer.",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "args": "/s",
        "executable": "launchersetup",
        "name": "wineexec"
      }
    },
    {
      "task": {
        "arch": "win64",
        "key": "HideWineExports",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Software\\Wine",
        "prefix": "$GAMEDIR",
        "type": "REG_SZ",
        "value": "Y"
      }
    },
    {
      "execute": {
        "command": "mkdir -p \"$GAMEDIR\"/drive_c/users/$USER/Documents/My\\ Games/FINAL\\ FANTASY\\ XIV\\ -\\ A\\ Realm\\ Reborn"
      }
    },
    {
      "execute": {
        "command": "mkdir -p \"$GAMEDIR\"/drive_c/users/$USER/AppData/Roaming/XIVLauncher"
      }
    },
    {
      "execute": {
        "command": "echo -e \"<FINAL FANTASY XIV Config File>\\n\\n<Cutscene Settings>\\nCutsceneMovieOpening 1\" > \"$GAMEDIR\"/drive_c/users/$USER/Documents/My\\ Games/FINAL\\ FANTASY\\ XIV\\ -\\ A\\ Realm\\ Reborn/FFXIV.cfg"
      }
    },
    {
      "execute": {
        "command": "echo -e \"<FINAL FANTASY XIV Boot Config File>\\n\\n<Version>\\nBrowser 1\\nStartupCompleted 1\" > \"$GAMEDIR\"/drive_c/users/$USER/Documents/My\\ Games/FINAL\\ FANTASY\\ XIV\\ -\\ A\\ Realm\\ Reborn/FFXIV_BOOT.cfg"
      }
    }
  ],
  "system": {
    "env": {
      "DXVK_FRAME_RATE": 0,
      "XL_WINEONLINUX": true,
      "__GL_SHADER_DISK_CACHE": 1,
      "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR"
    },
    "pulse_latency": true
  },
  "wine": {
    "esync": true,
    "version": "lutris-7.1-x86_64"
  }
}
Back to game