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

files:
- setup: https://swtor-a.akamaihd.net/installer/SWTOR_setup.exe
- cfgfile: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Star%20Wars%20-%20The%20Old%20Republic/launcher.settings
game:
  arch: win64
  exe: drive_c/Star Wars - The Old Republic/launcher.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating Wine prefix
    install_gecko: false
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: d3dcompiler_47 d3dx9_41
    arch: win64
    description: Installing winetricks verbs
    name: winetricks
    prefix: $GAMEDIR
- extract:
    dst: $CACHE
    file: setup
- extract:
    dst: $GAMEDIR/drive_c/Star Wars - The Old Republic
    format: rar
    src: $CACHE/swtor.rar
- copy:
    dst: $GAMEDIR/drive_c/Star Wars - The Old Republic
    src: cfgfile
- input_menu:
    description: 'Please choose your preferred game''s language:'
    id: LANG
    options:
    - en-us: English
    - fr-fr: French
    - de-de: German
    preselect: en-us
- execute:
    command: cd "$GAMEDIR/drive_c/Star Wars - The Old Republic"; sed -i "s/en-us/"$INPUT_LANG"/g"
      launcher.settings
system:
  env:
    __GL_SHADER_DISK_CACHE: 1
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
    __GL_THREADED_OPTIMIZATIONS: 1
    mesa_glthread: 'true'
wine:
  Desktop: true
description: '"Star Wars - The Old Republic" https://www.swtor.com using Lutris WIne
  runner.'
game_slug: star-wars-the-old-republic
gogslug: ''
humblestoreid: ''
installer_slug: star-wars-the-old-republic-latest
name: 'Star Wars: The Old Republic'
notes: "- known issue:\r\n-- On some Linux distributions, the SWTOR launcher gets\
  \ stuck at the \"update\" stage. In this case, you will have to manually install\
  \ some certificates with root rights.\r\nSee winehq bug n\xB0 49515: https://bugs.winehq.org/show_bug.cgi?id=49515.\
  \ For Arch users see https://archlinux.org/news/ca-certificates-update"
runner: wine
script:
  files:
  - setup: https://swtor-a.akamaihd.net/installer/SWTOR_setup.exe
  - cfgfile: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Star%20Wars%20-%20The%20Old%20Republic/launcher.settings
  game:
    arch: win64
    exe: drive_c/Star Wars - The Old Republic/launcher.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      description: Creating Wine prefix
      install_gecko: false
      install_mono: false
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      app: d3dcompiler_47 d3dx9_41
      arch: win64
      description: Installing winetricks verbs
      name: winetricks
      prefix: $GAMEDIR
  - extract:
      dst: $CACHE
      file: setup
  - extract:
      dst: $GAMEDIR/drive_c/Star Wars - The Old Republic
      format: rar
      src: $CACHE/swtor.rar
  - copy:
      dst: $GAMEDIR/drive_c/Star Wars - The Old Republic
      src: cfgfile
  - input_menu:
      description: 'Please choose your preferred game''s language:'
      id: LANG
      options:
      - en-us: English
      - fr-fr: French
      - de-de: German
      preselect: en-us
  - execute:
      command: cd "$GAMEDIR/drive_c/Star Wars - The Old Republic"; sed -i "s/en-us/"$INPUT_LANG"/g"
        launcher.settings
  system:
    env:
      __GL_SHADER_DISK_CACHE: 1
      __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
      __GL_THREADED_OPTIMIZATIONS: 1
      mesa_glthread: 'true'
  wine:
    Desktop: true
slug: star-wars-the-old-republic-latest
steamid: 1286830
version: Latest
year: 2011
{
  "game_slug": "star-wars-the-old-republic",
  "version": "Latest",
  "description": "\"Star Wars - The Old Republic\" https://www.swtor.com using Lutris WIne runner.",
  "notes": "- known issue:\r\n-- On some Linux distributions, the SWTOR launcher gets stuck at the \"update\" stage. In this case, you will have to manually install some certificates with root rights.\r\nSee winehq bug n\u00b0 49515: https://bugs.winehq.org/show_bug.cgi?id=49515. For Arch users see https://archlinux.org/news/ca-certificates-update",
  "name": "Star Wars: The Old Republic",
  "year": 2011,
  "steamid": 1286830,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "star-wars-the-old-republic-latest",
  "installer_slug": "star-wars-the-old-republic-latest",
  "script": {
    "files": [
      {
        "setup": "https://swtor-a.akamaihd.net/installer/SWTOR_setup.exe"
      },
      {
        "cfgfile": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Star%20Wars%20-%20The%20Old%20Republic/launcher.settings"
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "drive_c/Star Wars - The Old Republic/launcher.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Creating Wine prefix",
          "install_gecko": false,
          "install_mono": false,
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "d3dcompiler_47 d3dx9_41",
          "arch": "win64",
          "description": "Installing winetricks verbs",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$CACHE",
          "file": "setup"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Star Wars - The Old Republic",
          "format": "rar",
          "src": "$CACHE/swtor.rar"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/Star Wars - The Old Republic",
          "src": "cfgfile"
        }
      },
      {
        "input_menu": {
          "description": "Please choose your preferred game's language:",
          "id": "LANG",
          "options": [
            {
              "en-us": "English"
            },
            {
              "fr-fr": "French"
            },
            {
              "de-de": "German"
            }
          ],
          "preselect": "en-us"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c/Star Wars - The Old Republic\"; sed -i \"s/en-us/\"$INPUT_LANG\"/g\" launcher.settings"
        }
      }
    ],
    "system": {
      "env": {
        "__GL_SHADER_DISK_CACHE": 1,
        "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR",
        "__GL_THREADED_OPTIMIZATIONS": 1,
        "mesa_glthread": "true"
      }
    },
    "wine": {
      "Desktop": true
    }
  }
}
Back to game