Installer star-trek-fleet-command-windows

files:
- install_file: https://installer.launcher.xsolla.com/xlauncher-builds/launcher_builds/12715/7082/prod/STFC_installer.exe
game:
  arch: win64
  exe: $GAMEDIR/drive_c/STFC/launcher.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating Wine environment...
    name: create_prefix
- task:
    description: Setting Wine browser...
    key: Browsers
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\WineBrowser
    value: firefox
- task:
    args: /S /D=C:\\STFC\\
    blocking: true
    description: Running installer...
    executable: install_file
    name: wineexec
wine:
  overrides:
    version.dll: n,b
  version: wine-ge-8-26-x86_64
description: ''
game_slug: star-trek-fleet-command
gogslug: ''
humblestoreid: ''
installer_slug: star-trek-fleet-command-windows
name: Star Trek Fleet Command
notes: "\u2022 Installer link works as of Feb 2024, but may break if build is changed\
  \ by Scopely/Xsolla.  If this happens, manually download the installer from https://www.startrekfleetcommand.com/\
  \ and select it on the next screen.\r\n\r\n\u2022 Since the Feb 2024 game update,\
  \ when quitting the game, it does not exit cleanly and must be terminated manually\
  \ by clicking the Lutris 'Stop' button.\r\n\r\n\u2022 Wine version wine-ge-8-26-x86_64\
  \ is specified because some builds result in corrupted graphics and other issues\
  \ (Proton builds in particular).  Your mileage may vary.\r\n\r\n\u2022 This install\
  \ supports the STFC Community Mod.  To use it, see the mod Discord at (https://discord.gg/PrpHgs7Vjs)\
  \ for info, and download the latest version.dll from https://github.com/tashcan/bob/releases/\
  \ and place it in the Wine directory star-trek-fleet-command/drive_c/Games/Star\
  \ Trek Fleet Command/Star Trek Fleet Command/default/game/.  Note that the live\
  \ sync function of the mod currently does not work due to a system call not supported\
  \ by wine, but other features of the mod work as expected.  Remember that future\
  \ STFC updates may break compatibility with the patch, so remove it if you have\
  \ trouble after an update. \r\n\r\n\u2022 Dialog for saving battle log exports may\
  \ crash game if you try to change the folder.  By default, the files are saved to\
  \ the .../drive_c/Games/Star Trek Fleet Command/Star Trek Fleet Command/default/game/prime_Data\
  \ folder under the game installation directory."
runner: wine
script:
  files:
  - install_file: https://installer.launcher.xsolla.com/xlauncher-builds/launcher_builds/12715/7082/prod/STFC_installer.exe
  game:
    arch: win64
    exe: $GAMEDIR/drive_c/STFC/launcher.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      description: Creating Wine environment...
      name: create_prefix
  - task:
      description: Setting Wine browser...
      key: Browsers
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\WineBrowser
      value: firefox
  - task:
      args: /S /D=C:\\STFC\\
      blocking: true
      description: Running installer...
      executable: install_file
      name: wineexec
  wine:
    overrides:
      version.dll: n,b
    version: wine-ge-8-26-x86_64
slug: star-trek-fleet-command-windows
steamid: null
version: Windows
year: 2018
{
  "game_slug": "star-trek-fleet-command",
  "version": "Windows",
  "description": "",
  "notes": "\u2022 Installer link works as of Feb 2024, but may break if build is changed by Scopely/Xsolla.  If this happens, manually download the installer from https://www.startrekfleetcommand.com/ and select it on the next screen.\r\n\r\n\u2022 Since the Feb 2024 game update, when quitting the game, it does not exit cleanly and must be terminated manually by clicking the Lutris 'Stop' button.\r\n\r\n\u2022 Wine version wine-ge-8-26-x86_64 is specified because some builds result in corrupted graphics and other issues (Proton builds in particular).  Your mileage may vary.\r\n\r\n\u2022 This install supports the STFC Community Mod.  To use it, see the mod Discord at (https://discord.gg/PrpHgs7Vjs) for info, and download the latest version.dll from https://github.com/tashcan/bob/releases/ and place it in the Wine directory star-trek-fleet-command/drive_c/Games/Star Trek Fleet Command/Star Trek Fleet Command/default/game/.  Note that the live sync function of the mod currently does not work due to a system call not supported by wine, but other features of the mod work as expected.  Remember that future STFC updates may break compatibility with the patch, so remove it if you have trouble after an update. \r\n\r\n\u2022 Dialog for saving battle log exports may crash game if you try to change the folder.  By default, the files are saved to the .../drive_c/Games/Star Trek Fleet Command/Star Trek Fleet Command/default/game/prime_Data folder under the game installation directory.",
  "name": "Star Trek Fleet Command",
  "year": 2018,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "star-trek-fleet-command-windows",
  "installer_slug": "star-trek-fleet-command-windows",
  "script": {
    "files": [
      {
        "install_file": "https://installer.launcher.xsolla.com/xlauncher-builds/launcher_builds/12715/7082/prod/STFC_installer.exe"
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "$GAMEDIR/drive_c/STFC/launcher.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Creating Wine environment...",
          "name": "create_prefix"
        }
      },
      {
        "task": {
          "description": "Setting Wine browser...",
          "key": "Browsers",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\WineBrowser",
          "value": "firefox"
        }
      },
      {
        "task": {
          "args": "/S /D=C:\\\\STFC\\\\",
          "blocking": true,
          "description": "Running installer...",
          "executable": "install_file",
          "name": "wineexec"
        }
      }
    ],
    "wine": {
      "overrides": {
        "version.dll": "n,b"
      },
      "version": "wine-ge-8-26-x86_64"
    }
  }
}
Back to game