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

This script is for reference only and can't be directly used to install the game in the Lutris client. To install the game, download the full 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
{
  "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