Installer alone-in-the-dark-3-windows-gog-v1

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/alone-in-the-dark.conf
installer:
- extract:
    dst: $CACHE
    file: $inno
- execute:
    args: -I app -d "$CACHE" "$game"
    file: $CACHE/innoextract
- execute:
    args: $GAMEDIR/HDD $GAMEDIR/HDD/INDARK3 $GAMEDIR/CDD $GAMEDIR/CDD/DISC1
    file: mkdir
- copy:
    dst: $GAMEDIR/CDD/DISC1
    src: $CACHE/app/GAME.INST
- copy:
    dst: $GAMEDIR/CDD/DISC1
    src: $CACHE/app/GAME.GOG
- copy:
    dst: $GAMEDIR
    src: $CACHE/app/manual.pdf
- merge:
    dst: $GAMEDIR/HDD/INDARK3
    src: $CACHE/app/INDARK3
- write_file:
    content: '[sdl]

      sensitivity=30

      [autoexec]

      mount C "$GAMEDIR/HDD" -t dir

      imgmount D "$GAMEDIR/CDD/DISC1/GAME.INST" -t iso

      C:

      cd INDARK3

      cls

      ECHO OFF

      goto launcher

      :launcher

      cls

      ECHO  -------------------------------------------

      ECHO             Alone in the Dark 3

      ECHO  -------------------------------------------

      ECHO   1) Play Game

      ECHO   2) Setup

      ECHO  -------------------------------------------

      ECHO   3) Exit Program

      ECHO  -------------------------------------------


      choice /c123 /s Which program do you want to run? [1-3]: /n

      if errorlevel 3 goto exit

      if errorlevel 2 goto setup

      if errorlevel 1 goto game


      :game

      cls

      AITD3.EXE

      goto exit


      :setup

      cls

      install

      goto launcher



      :exit

      exit


      exit'
    file: $GAMEDIR/alone-in-the-dark.conf
description: null
game_slug: alone-in-the-dark-3
gogslug: alone_in_the_dark_the_trilogy_123
humblestoreid: ''
installer_slug: alone-in-the-dark-3-windows-gog-v1
name: Alone in the Dark 3
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/alone-in-the-dark.conf
  installer:
  - extract:
      dst: $CACHE
      file: $inno
  - execute:
      args: -I app -d "$CACHE" "$game"
      file: $CACHE/innoextract
  - execute:
      args: $GAMEDIR/HDD $GAMEDIR/HDD/INDARK3 $GAMEDIR/CDD $GAMEDIR/CDD/DISC1
      file: mkdir
  - copy:
      dst: $GAMEDIR/CDD/DISC1
      src: $CACHE/app/GAME.INST
  - copy:
      dst: $GAMEDIR/CDD/DISC1
      src: $CACHE/app/GAME.GOG
  - copy:
      dst: $GAMEDIR
      src: $CACHE/app/manual.pdf
  - merge:
      dst: $GAMEDIR/HDD/INDARK3
      src: $CACHE/app/INDARK3
  - write_file:
      content: '[sdl]

        sensitivity=30

        [autoexec]

        mount C "$GAMEDIR/HDD" -t dir

        imgmount D "$GAMEDIR/CDD/DISC1/GAME.INST" -t iso

        C:

        cd INDARK3

        cls

        ECHO OFF

        goto launcher

        :launcher

        cls

        ECHO  -------------------------------------------

        ECHO             Alone in the Dark 3

        ECHO  -------------------------------------------

        ECHO   1) Play Game

        ECHO   2) Setup

        ECHO  -------------------------------------------

        ECHO   3) Exit Program

        ECHO  -------------------------------------------


        choice /c123 /s Which program do you want to run? [1-3]: /n

        if errorlevel 3 goto exit

        if errorlevel 2 goto setup

        if errorlevel 1 goto game


        :game

        cls

        AITD3.EXE

        goto exit


        :setup

        cls

        install

        goto launcher



        :exit

        exit


        exit'
      file: $GAMEDIR/alone-in-the-dark.conf
slug: alone-in-the-dark-3-windows-gog-v1
steamid: null
version: Windows GOG v1
year: 1994
{
  "game_slug": "alone-in-the-dark-3",
  "version": "Windows GOG v1",
  "description": null,
  "notes": "",
  "name": "Alone in the Dark 3",
  "year": 1994,
  "steamid": null,
  "gogslug": "alone_in_the_dark_the_trilogy_123",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "alone-in-the-dark-3-windows-gog-v1",
  "installer_slug": "alone-in-the-dark-3-windows-gog-v1",
  "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/alone-in-the-dark.conf"
    },
    "installer": [
      {
        "extract": {
          "dst": "$CACHE",
          "file": "$inno"
        }
      },
      {
        "execute": {
          "args": "-I app -d \"$CACHE\" \"$game\"",
          "file": "$CACHE/innoextract"
        }
      },
      {
        "execute": {
          "args": "$GAMEDIR/HDD $GAMEDIR/HDD/INDARK3 $GAMEDIR/CDD $GAMEDIR/CDD/DISC1",
          "file": "mkdir"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/CDD/DISC1",
          "src": "$CACHE/app/GAME.INST"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/CDD/DISC1",
          "src": "$CACHE/app/GAME.GOG"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/app/manual.pdf"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/HDD/INDARK3",
          "src": "$CACHE/app/INDARK3"
        }
      },
      {
        "write_file": {
          "content": "[sdl]\nsensitivity=30\n[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nimgmount D \"$GAMEDIR/CDD/DISC1/GAME.INST\" -t iso\nC:\ncd INDARK3\ncls\nECHO OFF\ngoto launcher\n:launcher\ncls\nECHO  -------------------------------------------\nECHO             Alone in the Dark 3\nECHO  -------------------------------------------\nECHO   1) Play Game\nECHO   2) Setup\nECHO  -------------------------------------------\nECHO   3) Exit Program\nECHO  -------------------------------------------\n\nchoice /c123 /s Which program do you want to run? [1-3]: /n\nif errorlevel 3 goto exit\nif errorlevel 2 goto setup\nif errorlevel 1 goto game\n\n:game\ncls\nAITD3.EXE\ngoto exit\n\n:setup\ncls\ninstall\ngoto launcher\n\n\n:exit\nexit\n\nexit",
          "file": "$GAMEDIR/alone-in-the-dark.conf"
        }
      }
    ]
  }
}
Back to game