Installer star-wars-the-old-republic-latest

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.

files:
- setup: https://swtor-a.akamaihd.net/installer/SWTOR_setup.exe
- launcher: https://lutris.nyc3.cdn.digitaloceanspaces.com/games/swtor/launcher.settings
game:
  arch: win64
  exe: drive_c/Program Files (x86)/Electronic Arts/BioWare/Star Wars - The Old Republic/launcher.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: msxml3 msls31 winhttp vcrun2008 d3dx9
    arch: win64
    description: Installing winetricks verbs
    name: winetricks
    prefix: $GAMEDIR
- task:
    args: /S
    description: Installing SWTOR
    executable: setup
    name: wineexec
    prefix: $GAMEDIR
- task:
    name: winekill
    prefix: $GAMEDIR
- execute:
    command: mkdir -p "$GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/BioWare/Star
      Wars - The Old Republic"
- extract:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/BioWare/Star Wars -
      The Old Republic
    file: $GAMEDIR/drive_c/users/$USER/Temp/InstallSWTOR/swtor.rar
- merge:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/BioWare/Star Wars -
      The Old Republic
    src: launcher
system:
  env:
    PBA_ENABLE: 1
    __GL_SHADER_DISK_CACHE: 1
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
    __GL_THREADED_OPTIMIZATIONS: 1
    mesa_glthread: 'true'
wine:
  dxvk: false
  esync: true
{
  "game": {
    "arch": "win64",
    "exe": "drive_c/Program Files (x86)/Electronic Arts/BioWare/Star Wars - The Old Republic/launcher.exe",
    "prefix": "$GAMEDIR"
  },
  "files": [
    {
      "setup": "https://swtor-a.akamaihd.net/installer/SWTOR_setup.exe"
    },
    {
      "launcher": "https://lutris.nyc3.cdn.digitaloceanspaces.com/games/swtor/launcher.settings"
    }
  ],
  "system": {
    "env": {
      "PBA_ENABLE": 1,
      "__GL_SHADER_DISK_CACHE": 1,
      "mesa_glthread": "true",
      "__GL_THREADED_OPTIMIZATIONS": 1,
      "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR"
    }
  },
  "installer": [
    {
      "task": {
        "arch": "win64",
        "name": "create_prefix",
        "description": "Creating Wine prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "msxml3 msls31 winhttp vcrun2008 d3dx9",
        "arch": "win64",
        "name": "winetricks",
        "description": "Installing winetricks verbs",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "name": "wineexec",
        "description": "Installing SWTOR",
        "args": "/S",
        "executable": "setup",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "execute": {
        "command": "mkdir -p \"$GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/BioWare/Star Wars - The Old Republic\""
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/BioWare/Star Wars - The Old Republic",
        "file": "$GAMEDIR/drive_c/users/$USER/Temp/InstallSWTOR/swtor.rar"
      }
    },
    {
      "merge": {
        "src": "launcher",
        "dst": "$GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/BioWare/Star Wars - The Old Republic"
      }
    }
  ],
  "wine": {
    "dxvk": false,
    "esync": true
  }
}
Back to game