Installer star-trek-the-next-generation-nrg

files:
- sttngafu: N/A:Select file Star-Trek-The-Next-Generation---A-Final-Unity_DOS_EN_ISO-Version.zip
- manual:
    filename: manual.pdf
    url: https://www.myabandonware.com/download/g1u-star-trek-the-next-generation-a-final-unity
game:
  main_file: sttngafu.conf
installer:
- execute:
    command: mkdir -p $GAMEDIR/{game,iso,man}
    name: Creating game directory structure.
- move:
    dst: $GAMEDIR/man
    name: Moving manual to /man directory.
    src: manual
- extract:
    dst: $CACHE
    file: sttngafu
    format: zip
    name: 'Extracting Star Trek: The Next Generation - A Final Unity archive into
      $CACHE.'
- execute:
    command: nrg2iso "$CACHE/$INPUT" "$CACHE/$OUTPUT"
    name: Converting *.nrg to *.iso.
- move:
    dst: $GAMEDIR/iso
    name: Moving *.iso to $GAMEDIR/iso
    src: $CACHE/$OUTPUT
- write-file:
    content: '[sdl]

      fullscreen=true

      fulldouble=true

      fullresolution=desktop

      output=opengl

      [autoexec]

      mount c $GAMEDIR/game

      mount i $GAMEDIR/iso

      i:

      imgmount d STARTR~1.ISO -t iso

      d:

      install

      exit'
    file: $CACHE/sttngafu-setup.conf
- task:
    config_file: $CACHE/sttngafu-setup.conf
    name: dosexec
    working_dir: $GAMEDIR/game
- write_file:
    content: '[sdl]

      fullscreen=true

      fulldouble=true

      fullresolution=desktop

      output=opengl

      [autoexec]

      mount i $GAMEDIR/iso/

      i:

      imgmount d STARTR~1.ISO -t iso

      mount c $GAMEDIR/game

      c:

      cd sttng

      sttng

      exit'
    file: $GAMEDIR/sttngafu.conf
variables:
  INPUT: Star Trek The Next Generation - A Final Unity.nrg
  OUTPUT: Star Trek The Next Generation - A Final Unity.iso
description: 'This script installs Star Trek: The Next Generation - A Final Unity
  through DOSBox.'
game_slug: star-trek-the-next-generation-a-final-unity
gogslug: ''
humblestoreid: ''
installer_slug: star-trek-the-next-generation-nrg
name: 'Star Trek: The Next Generation - "A Final Unity"'
notes: "- expects a zipped *.nrg file\r\n- requires nrg2iso\r\n- Please report issues\
  \ to the lutris_installer repo: https://github.com/jrobio/lutris_installers\r\n\r\
  \nDOS install notes:\r\n- Install the optimal version of the game. \r\n- Installation\
  \ appears to hang at different percentages but it will complete. You can elect to\
  \ increase cycles here to speed up the process as long as they are returned to 3000\
  \ at the end.\r\n- Configure hardware\r\n    - Setup the sound card through autodetection\r\
  \n    - Setup video mode: Select the highest resolution and turn fullscreen on.\r\
  \n- Exit and save the configuration."
runner: dosbox
script:
  files:
  - sttngafu: N/A:Select file Star-Trek-The-Next-Generation---A-Final-Unity_DOS_EN_ISO-Version.zip
  - manual:
      filename: manual.pdf
      url: https://www.myabandonware.com/download/g1u-star-trek-the-next-generation-a-final-unity
  game:
    main_file: sttngafu.conf
  installer:
  - execute:
      command: mkdir -p $GAMEDIR/{game,iso,man}
      name: Creating game directory structure.
  - move:
      dst: $GAMEDIR/man
      name: Moving manual to /man directory.
      src: manual
  - extract:
      dst: $CACHE
      file: sttngafu
      format: zip
      name: 'Extracting Star Trek: The Next Generation - A Final Unity archive into
        $CACHE.'
  - execute:
      command: nrg2iso "$CACHE/$INPUT" "$CACHE/$OUTPUT"
      name: Converting *.nrg to *.iso.
  - move:
      dst: $GAMEDIR/iso
      name: Moving *.iso to $GAMEDIR/iso
      src: $CACHE/$OUTPUT
  - write-file:
      content: '[sdl]

        fullscreen=true

        fulldouble=true

        fullresolution=desktop

        output=opengl

        [autoexec]

        mount c $GAMEDIR/game

        mount i $GAMEDIR/iso

        i:

        imgmount d STARTR~1.ISO -t iso

        d:

        install

        exit'
      file: $CACHE/sttngafu-setup.conf
  - task:
      config_file: $CACHE/sttngafu-setup.conf
      name: dosexec
      working_dir: $GAMEDIR/game
  - write_file:
      content: '[sdl]

        fullscreen=true

        fulldouble=true

        fullresolution=desktop

        output=opengl

        [autoexec]

        mount i $GAMEDIR/iso/

        i:

        imgmount d STARTR~1.ISO -t iso

        mount c $GAMEDIR/game

        c:

        cd sttng

        sttng

        exit'
      file: $GAMEDIR/sttngafu.conf
  variables:
    INPUT: Star Trek The Next Generation - A Final Unity.nrg
    OUTPUT: Star Trek The Next Generation - A Final Unity.iso
slug: star-trek-the-next-generation-nrg
steamid: null
version: NRG
year: 1995
{
  "game_slug": "star-trek-the-next-generation-a-final-unity",
  "version": "NRG",
  "description": "This script installs Star Trek: The Next Generation - A Final Unity through DOSBox.",
  "notes": "- expects a zipped *.nrg file\r\n- requires nrg2iso\r\n- Please report issues to the lutris_installer repo: https://github.com/jrobio/lutris_installers\r\n\r\nDOS install notes:\r\n- Install the optimal version of the game. \r\n- Installation appears to hang at different percentages but it will complete. You can elect to increase cycles here to speed up the process as long as they are returned to 3000 at the end.\r\n- Configure hardware\r\n    - Setup the sound card through autodetection\r\n    - Setup video mode: Select the highest resolution and turn fullscreen on.\r\n- Exit and save the configuration.",
  "name": "Star Trek: The Next Generation - \"A Final Unity\"",
  "year": 1995,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "star-trek-the-next-generation-nrg",
  "installer_slug": "star-trek-the-next-generation-nrg",
  "script": {
    "files": [
      {
        "sttngafu": "N/A:Select file Star-Trek-The-Next-Generation---A-Final-Unity_DOS_EN_ISO-Version.zip"
      },
      {
        "manual": {
          "filename": "manual.pdf",
          "url": "https://www.myabandonware.com/download/g1u-star-trek-the-next-generation-a-final-unity"
        }
      }
    ],
    "game": {
      "main_file": "sttngafu.conf"
    },
    "installer": [
      {
        "execute": {
          "command": "mkdir -p $GAMEDIR/{game,iso,man}",
          "name": "Creating game directory structure."
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/man",
          "name": "Moving manual to /man directory.",
          "src": "manual"
        }
      },
      {
        "extract": {
          "dst": "$CACHE",
          "file": "sttngafu",
          "format": "zip",
          "name": "Extracting Star Trek: The Next Generation - A Final Unity archive into $CACHE."
        }
      },
      {
        "execute": {
          "command": "nrg2iso \"$CACHE/$INPUT\" \"$CACHE/$OUTPUT\"",
          "name": "Converting *.nrg to *.iso."
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/iso",
          "name": "Moving *.iso to $GAMEDIR/iso",
          "src": "$CACHE/$OUTPUT"
        }
      },
      {
        "write-file": {
          "content": "[sdl]\nfullscreen=true\nfulldouble=true\nfullresolution=desktop\noutput=opengl\n[autoexec]\nmount c $GAMEDIR/game\nmount i $GAMEDIR/iso\ni:\nimgmount d STARTR~1.ISO -t iso\nd:\ninstall\nexit",
          "file": "$CACHE/sttngafu-setup.conf"
        }
      },
      {
        "task": {
          "config_file": "$CACHE/sttngafu-setup.conf",
          "name": "dosexec",
          "working_dir": "$GAMEDIR/game"
        }
      },
      {
        "write_file": {
          "content": "[sdl]\nfullscreen=true\nfulldouble=true\nfullresolution=desktop\noutput=opengl\n[autoexec]\nmount i $GAMEDIR/iso/\ni:\nimgmount d STARTR~1.ISO -t iso\nmount c $GAMEDIR/game\nc:\ncd sttng\nsttng\nexit",
          "file": "$GAMEDIR/sttngafu.conf"
        }
      }
    ],
    "variables": {
      "INPUT": "Star Trek The Next Generation - A Final Unity.nrg",
      "OUTPUT": "Star Trek The Next Generation - A Final Unity.iso"
    }
  }
}
Back to game