Installer star-trek-starfleet-command-gog-hd-patch

files:
- installer: N/A:Please select the GOG Windows Installer
- patch: N/A:Select the SFC1 HD patch.zip
game:
  exe: $GAMEDIR/drive_c/GOG Games/Star Trek - Starfleet Command/Launch Star Trek -
    Starfleet Command.lnk
  gogid: 1429172763
  prefix: $GAMEDIR
  working_dir: $GAMEDIR/drive_c/GOG Games/Star Trek - Starfleet Command/
installer:
- task:
    executable: installer
    name: wineexec
- extract:
    dst: $CACHE
    file: patch
    name: Extracting SFC1 HD patch.zip
- merge:
    dst: $GAMEDIR/drive_c/GOG Games/Star Trek - Starfleet Command/
    src: $CACHE
- input_menu:
    description: 'Choose the Resolution:'
    id: RES
    options:
    - ? 'Width=640

        Height=480'
      : 640x480
    - ? 'Width=800

        Height=600'
      : 800x600
    - ? 'Width=1280

        Height=720'
      : 1280x720
    - ? 'Width=1360

        Height=768'
      : 1360x768
    - ? 'Width=1366

        Height=768'
      : 1366x768
    - ? 'Width=1600

        Height=900'
      : 1600x900
    - ? 'Width=1920

        Height=1080'
      : 1920x1080
    preselect: 'Width=1920

      Height=1080'
- execute:
    command: perl -i -p0e 's/Width=1280.*Height=720/$INPUT_RES/smg'  "$GAMEDIR/drive_c/GOG
      Games/Star Trek - Starfleet Command/sfc.ini"
    description: Setting Resolution
wine:
  dgvoodoo2: true
description: 'Star Trek: Starfleet Command - Gold Edition + HD Patch'
game_slug: star-trek-starfleet-command
gogslug: star_trek_starfleet_command_gold_edition
humblestoreid: ''
installer_slug: star-trek-starfleet-command-gog-hd-patch
name: 'Star Trek: Starfleet Command'
notes: "# Star Trek: Starfleet Command - Gold Edition\r\n\r\nThis script installs\
  \ **Star Trek: Starfleet Command - Gold Edition** and the \r\nSFC 1 HD patch through\
  \ Wine.\r\n\r\n- Expects the GOG Windows version of \r\n[**Star Trek: Starfleet\
  \ Command - Gold Edition**](https://www.gog.com/en/game/star_trek_starfleet_command_gold_edition)\r\
  \n- Expects a zipped archive of the \r\n[Hot and Spicy SFC 1 HD patch](https://hotandspicyforums.com/sfc-1-hd-patch-t24716.html)\r\
  \n- Please report issues to the lutris_installer repo: \r\nhttps://github.com/jrobio/lutris_installers\r\
  \n\r\n## Wine Install Notes\r\n\r\n- `Exit` the GOG Installer after completing installation\r\
  \n- Installer will prompt user for desired resolution from supported options, \r\
  \nincluding:\r\n    - `640x480`\r\n    - `800x600`\r\n    - `1280x720`\r\n    -\
  \ `1360x768`\r\n    - `1366x768`\r\n    - `1600x900`\r\n    - `1920x1080`\r\n- The\
  \ installer Requires `perl`, but most linux distributions should have this \r\n\
  as a default package."
runner: wine
script:
  files:
  - installer: N/A:Please select the GOG Windows Installer
  - patch: N/A:Select the SFC1 HD patch.zip
  game:
    exe: $GAMEDIR/drive_c/GOG Games/Star Trek - Starfleet Command/Launch Star Trek
      - Starfleet Command.lnk
    gogid: 1429172763
    prefix: $GAMEDIR
    working_dir: $GAMEDIR/drive_c/GOG Games/Star Trek - Starfleet Command/
  installer:
  - task:
      executable: installer
      name: wineexec
  - extract:
      dst: $CACHE
      file: patch
      name: Extracting SFC1 HD patch.zip
  - merge:
      dst: $GAMEDIR/drive_c/GOG Games/Star Trek - Starfleet Command/
      src: $CACHE
  - input_menu:
      description: 'Choose the Resolution:'
      id: RES
      options:
      - ? 'Width=640

          Height=480'
        : 640x480
      - ? 'Width=800

          Height=600'
        : 800x600
      - ? 'Width=1280

          Height=720'
        : 1280x720
      - ? 'Width=1360

          Height=768'
        : 1360x768
      - ? 'Width=1366

          Height=768'
        : 1366x768
      - ? 'Width=1600

          Height=900'
        : 1600x900
      - ? 'Width=1920

          Height=1080'
        : 1920x1080
      preselect: 'Width=1920

        Height=1080'
  - execute:
      command: perl -i -p0e 's/Width=1280.*Height=720/$INPUT_RES/smg'  "$GAMEDIR/drive_c/GOG
        Games/Star Trek - Starfleet Command/sfc.ini"
      description: Setting Resolution
  wine:
    dgvoodoo2: true
slug: star-trek-starfleet-command-gog-hd-patch
steamid: 364820
version: GOG - HD Patch
year: 1999
{
  "game_slug": "star-trek-starfleet-command",
  "version": "GOG - HD Patch",
  "description": "Star Trek: Starfleet Command - Gold Edition + HD Patch",
  "notes": "# Star Trek: Starfleet Command - Gold Edition\r\n\r\nThis script installs **Star Trek: Starfleet Command - Gold Edition** and the \r\nSFC 1 HD patch through Wine.\r\n\r\n- Expects the GOG Windows version of \r\n[**Star Trek: Starfleet Command - Gold Edition**](https://www.gog.com/en/game/star_trek_starfleet_command_gold_edition)\r\n- Expects a zipped archive of the \r\n[Hot and Spicy SFC 1 HD patch](https://hotandspicyforums.com/sfc-1-hd-patch-t24716.html)\r\n- Please report issues to the lutris_installer repo: \r\nhttps://github.com/jrobio/lutris_installers\r\n\r\n## Wine Install Notes\r\n\r\n- `Exit` the GOG Installer after completing installation\r\n- Installer will prompt user for desired resolution from supported options, \r\nincluding:\r\n    - `640x480`\r\n    - `800x600`\r\n    - `1280x720`\r\n    - `1360x768`\r\n    - `1366x768`\r\n    - `1600x900`\r\n    - `1920x1080`\r\n- The installer Requires `perl`, but most linux distributions should have this \r\nas a default package.",
  "name": "Star Trek: Starfleet Command",
  "year": 1999,
  "steamid": 364820,
  "gogslug": "star_trek_starfleet_command_gold_edition",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "star-trek-starfleet-command-gog-hd-patch",
  "installer_slug": "star-trek-starfleet-command-gog-hd-patch",
  "script": {
    "files": [
      {
        "installer": "N/A:Please select the GOG Windows Installer"
      },
      {
        "patch": "N/A:Select the SFC1 HD patch.zip"
      }
    ],
    "game": {
      "exe": "$GAMEDIR/drive_c/GOG Games/Star Trek - Starfleet Command/Launch Star Trek - Starfleet Command.lnk",
      "gogid": 1429172763,
      "prefix": "$GAMEDIR",
      "working_dir": "$GAMEDIR/drive_c/GOG Games/Star Trek - Starfleet Command/"
    },
    "installer": [
      {
        "task": {
          "executable": "installer",
          "name": "wineexec"
        }
      },
      {
        "extract": {
          "dst": "$CACHE",
          "file": "patch",
          "name": "Extracting SFC1 HD patch.zip"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Star Trek - Starfleet Command/",
          "src": "$CACHE"
        }
      },
      {
        "input_menu": {
          "description": "Choose the Resolution:",
          "id": "RES",
          "options": [
            {
              "Width=640\nHeight=480": "640x480"
            },
            {
              "Width=800\nHeight=600": "800x600"
            },
            {
              "Width=1280\nHeight=720": "1280x720"
            },
            {
              "Width=1360\nHeight=768": "1360x768"
            },
            {
              "Width=1366\nHeight=768": "1366x768"
            },
            {
              "Width=1600\nHeight=900": "1600x900"
            },
            {
              "Width=1920\nHeight=1080": "1920x1080"
            }
          ],
          "preselect": "Width=1920\nHeight=1080"
        }
      },
      {
        "execute": {
          "command": "perl -i -p0e 's/Width=1280.*Height=720/$INPUT_RES/smg'  \"$GAMEDIR/drive_c/GOG Games/Star Trek - Starfleet Command/sfc.ini\"",
          "description": "Setting Resolution"
        }
      }
    ],
    "wine": {
      "dgvoodoo2": true
    }
  }
}
Back to game