Installer star-trek-online-retail

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:
- game: http://files.startrekonline.com/launcher/Star%20Trek%20Online.exe
game:
  arch: win64
  exe: drive_c/Star Trek Online.exe
  prefix: $GAMEDIR
installer:
- task:
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    key: winemenubuilder.exe
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DllOverrides
    prefix: $GAMEDIR
    type: REG_SZ
    value: ''
- task:
    description: Setting required Windows version (Win10)
    key: Version
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine
    prefix: $GAMEDIR
    value: win10
- task:
    app: sandbox
    description: Disabling unused WINE features
    name: winetricks
    prefix: $GAMEDIR
    silent: true
- move:
    description: Moving launcher into place
    dst: $GAMEDIR/drive_c/Star Trek Online.exe
    src: $game
wine:
  dxvk: true
  esync: true
  version: ge-protonified-nofshack-4.9-x86_64
{
  "installer": [
    {
      "task": {
        "description": "Creating Wine prefix",
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "type": "REG_SZ",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides",
        "key": "winemenubuilder.exe",
        "value": "",
        "name": "set_regedit",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "description": "Setting required Windows version (Win10)",
        "path": "HKEY_CURRENT_USER\\Software\\Wine",
        "key": "Version",
        "value": "win10",
        "name": "set_regedit",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "description": "Disabling unused WINE features",
        "name": "winetricks",
        "silent": true,
        "app": "sandbox",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "move": {
        "description": "Moving launcher into place",
        "src": "$game",
        "dst": "$GAMEDIR/drive_c/Star Trek Online.exe"
      }
    }
  ],
  "game": {
    "arch": "win64",
    "prefix": "$GAMEDIR",
    "exe": "drive_c/Star Trek Online.exe"
  },
  "wine": {
    "esync": true,
    "version": "ge-protonified-nofshack-4.9-x86_64",
    "dxvk": true
  },
  "files": [
    {
      "game": "http://files.startrekonline.com/launcher/Star%20Trek%20Online.exe"
    }
  ]
}
Back to game