Installer star-trek-pinball-cuebin

files:
- stpin: N/A:Select file Star-Trek-Pinball_DOS_EN.zip
- manual: https://gaming.trekcore.com/startrekpinball/downloads/manual.pdf
game:
  main_file: stpin.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: $GAMEDIR/iso
    file: stpin
    format: zip
    name: Extracting Star Trek Pinball archive into /iso.
- write-file:
    content: '[sdl]

      fullscreen=true

      fulldouble=true

      fullresolution=desktop

      output=opengl

      [autoexec]

      mount c $GAMEDIR/game

      mount i $GAMEDIR/iso

      i:

      imgmount d StarT-P.cue -t iso

      d:

      install

      exit'
    file: $CACHE/stpin-setup.conf
- task:
    config_file: $CACHE/stpin-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 StarT-P.cue -t iso

      mount c $GAMEDIR/game

      c:

      cd intrplay

      cd stpin

      stpin

      exit'
    file: $GAMEDIR/stpin.conf
description: This script installs Star Trek Pinball for DOSBox. Default MIDI Music
  and Digital Audio drivers are recommended.
game_slug: star-trek-pinball
gogslug: ''
humblestoreid: ''
installer_slug: star-trek-pinball-cuebin
name: Star Trek Pinball
notes: "- This script expects a zipped archive containing StarT-P.cue/bin pair\r\n\
  - Please report issues to the lutris_installer repo: https://github.com/jrobio/lutris_installers"
runner: dosbox
script:
  files:
  - stpin: N/A:Select file Star-Trek-Pinball_DOS_EN.zip
  - manual: https://gaming.trekcore.com/startrekpinball/downloads/manual.pdf
  game:
    main_file: stpin.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: $GAMEDIR/iso
      file: stpin
      format: zip
      name: Extracting Star Trek Pinball archive into /iso.
  - write-file:
      content: '[sdl]

        fullscreen=true

        fulldouble=true

        fullresolution=desktop

        output=opengl

        [autoexec]

        mount c $GAMEDIR/game

        mount i $GAMEDIR/iso

        i:

        imgmount d StarT-P.cue -t iso

        d:

        install

        exit'
      file: $CACHE/stpin-setup.conf
  - task:
      config_file: $CACHE/stpin-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 StarT-P.cue -t iso

        mount c $GAMEDIR/game

        c:

        cd intrplay

        cd stpin

        stpin

        exit'
      file: $GAMEDIR/stpin.conf
slug: star-trek-pinball-cuebin
steamid: null
version: CUE/BIN
year: 1998
{
  "game_slug": "star-trek-pinball",
  "version": "CUE/BIN",
  "description": "This script installs Star Trek Pinball for DOSBox. Default MIDI Music and Digital Audio drivers are recommended.",
  "notes": "- This script expects a zipped archive containing StarT-P.cue/bin pair\r\n- Please report issues to the lutris_installer repo: https://github.com/jrobio/lutris_installers",
  "name": "Star Trek Pinball",
  "year": 1998,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "star-trek-pinball-cuebin",
  "installer_slug": "star-trek-pinball-cuebin",
  "script": {
    "files": [
      {
        "stpin": "N/A:Select file Star-Trek-Pinball_DOS_EN.zip"
      },
      {
        "manual": "https://gaming.trekcore.com/startrekpinball/downloads/manual.pdf"
      }
    ],
    "game": {
      "main_file": "stpin.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": "$GAMEDIR/iso",
          "file": "stpin",
          "format": "zip",
          "name": "Extracting Star Trek Pinball archive into /iso."
        }
      },
      {
        "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 StarT-P.cue -t iso\nd:\ninstall\nexit",
          "file": "$CACHE/stpin-setup.conf"
        }
      },
      {
        "task": {
          "config_file": "$CACHE/stpin-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 StarT-P.cue -t iso\nmount c $GAMEDIR/game\nc:\ncd intrplay\ncd stpin\nstpin\nexit",
          "file": "$GAMEDIR/stpin.conf"
        }
      }
    ]
  }
}
Back to game