Installer star-wars-dark-forces-windows-gog

files:
- game: N/A:Select GOG installer.
- inno: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
game:
  main_file: $GAMEDIR/star_wars_dark_forces_play.conf
installer:
- extract:
    dst: $CACHE
    file: $inno
- execute:
    args: -I app -d "$CACHE" "$game"
    file: $CACHE/innoextract
- execute:
    args: $GAMEDIR/HDD
    file: mkdir
- execute:
    args: $GAMEDIR/HDD/dark
    file: mkdir
- merge:
    dst: $GAMEDIR/HDD/dark
    src: $CACHE/app
- write_file:
    content: '[sdl]

      fullscreen=false

      [autoexec]

      mount C "$GAMEDIR/HDD" -t dir

      C:

      cd dark

      setup.exe

      exit'
    file: $GAMEDIR/star_wars_dark_forces_setup.conf
- task:
    config_file: $GAMEDIR/star_wars_dark_forces_setup.conf
    name: dosexec
    working_dir: $GAMEDIR/HDD/dark
- copy:
    dst: $GAMEDIR/HDD
    src: $GAMEDIR/HDD/dark/CD.ID
- write_file:
    content: '[cpu]

      core=auto

      cycles=auto

      [sdl]

      fullscreen=true

      fulldouble = true

      output=opengl

      sensitivity=20

      [render]

      aspect=true

      scaler=hq3x

      [dosbox]

      memsize=32

      [ipx]

      ipx=false

      [autoexec]

      mount C "$GAMEDIR/HDD" -t dir

      C:

      cd dark

      cls

      dark.exe

      exit'
    file: $GAMEDIR/star_wars_dark_forces_play.conf
description: Setup window will open during install use this to configure sound card.  To
  alter dosbox settings edit file named star_wars_dark_forces_play in game folder.
game_slug: star-wars-dark-forces
gogslug: star_wars_dark_forces_remaster
humblestoreid: ''
installer_slug: star-wars-dark-forces-windows-gog
name: 'Star Wars: Dark Forces'
notes: ''
runner: dosbox
script:
  files:
  - game: N/A:Select GOG installer.
  - inno: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
  game:
    main_file: $GAMEDIR/star_wars_dark_forces_play.conf
  installer:
  - extract:
      dst: $CACHE
      file: $inno
  - execute:
      args: -I app -d "$CACHE" "$game"
      file: $CACHE/innoextract
  - execute:
      args: $GAMEDIR/HDD
      file: mkdir
  - execute:
      args: $GAMEDIR/HDD/dark
      file: mkdir
  - merge:
      dst: $GAMEDIR/HDD/dark
      src: $CACHE/app
  - write_file:
      content: '[sdl]

        fullscreen=false

        [autoexec]

        mount C "$GAMEDIR/HDD" -t dir

        C:

        cd dark

        setup.exe

        exit'
      file: $GAMEDIR/star_wars_dark_forces_setup.conf
  - task:
      config_file: $GAMEDIR/star_wars_dark_forces_setup.conf
      name: dosexec
      working_dir: $GAMEDIR/HDD/dark
  - copy:
      dst: $GAMEDIR/HDD
      src: $GAMEDIR/HDD/dark/CD.ID
  - write_file:
      content: '[cpu]

        core=auto

        cycles=auto

        [sdl]

        fullscreen=true

        fulldouble = true

        output=opengl

        sensitivity=20

        [render]

        aspect=true

        scaler=hq3x

        [dosbox]

        memsize=32

        [ipx]

        ipx=false

        [autoexec]

        mount C "$GAMEDIR/HDD" -t dir

        C:

        cd dark

        cls

        dark.exe

        exit'
      file: $GAMEDIR/star_wars_dark_forces_play.conf
slug: star-wars-dark-forces-windows-gog
steamid: 32400
version: Windows GOG
year: 1995
{
  "game_slug": "star-wars-dark-forces",
  "version": "Windows GOG",
  "description": "Setup window will open during install use this to configure sound card.  To alter dosbox settings edit file named star_wars_dark_forces_play in game folder.",
  "notes": "",
  "name": "Star Wars: Dark Forces",
  "year": 1995,
  "steamid": 32400,
  "gogslug": "star_wars_dark_forces_remaster",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "star-wars-dark-forces-windows-gog",
  "installer_slug": "star-wars-dark-forces-windows-gog",
  "script": {
    "files": [
      {
        "game": "N/A:Select GOG installer."
      },
      {
        "inno": "https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
      }
    ],
    "game": {
      "main_file": "$GAMEDIR/star_wars_dark_forces_play.conf"
    },
    "installer": [
      {
        "extract": {
          "dst": "$CACHE",
          "file": "$inno"
        }
      },
      {
        "execute": {
          "args": "-I app -d \"$CACHE\" \"$game\"",
          "file": "$CACHE/innoextract"
        }
      },
      {
        "execute": {
          "args": "$GAMEDIR/HDD",
          "file": "mkdir"
        }
      },
      {
        "execute": {
          "args": "$GAMEDIR/HDD/dark",
          "file": "mkdir"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/HDD/dark",
          "src": "$CACHE/app"
        }
      },
      {
        "write_file": {
          "content": "[sdl]\nfullscreen=false\n[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nC:\ncd dark\nsetup.exe\nexit",
          "file": "$GAMEDIR/star_wars_dark_forces_setup.conf"
        }
      },
      {
        "task": {
          "config_file": "$GAMEDIR/star_wars_dark_forces_setup.conf",
          "name": "dosexec",
          "working_dir": "$GAMEDIR/HDD/dark"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/HDD",
          "src": "$GAMEDIR/HDD/dark/CD.ID"
        }
      },
      {
        "write_file": {
          "content": "[cpu]\ncore=auto\ncycles=auto\n[sdl]\nfullscreen=true\nfulldouble = true\noutput=opengl\nsensitivity=20\n[render]\naspect=true\nscaler=hq3x\n[dosbox]\nmemsize=32\n[ipx]\nipx=false\n[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nC:\ncd dark\ncls\ndark.exe\nexit",
          "file": "$GAMEDIR/star_wars_dark_forces_play.conf"
        }
      }
    ]
  }
}
Back to game