Installer realms-of-arkania-2-star-trai-gog-german

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/arkania.conf
installer:
- write_file:
    content: '#!/bin/bash

      src=$1

      dst=$2

      find "$src" -maxdepth 1  -type d \( -iname data -o -iname drivers -o -iname
      music -o -iname temp  \) -exec cp {} -r "$dst" \;

      find "$src/__support/save" -maxdepth 1  -type d \( -iname games \) -exec cp
      {} -r "$dst" \;


      find "$src" -maxdepth 1  -type f \( -iname "*.bsp" -o -iname "*.aif" -o -iname
      "*.exe" -o -iname "*.cfg" -o -iname "*.bat"  \) -exec cp {} "$dst" \;'
    file: $CACHE/selectcopy.sh
- chmodx: $CACHE/selectcopy.sh
- extract:
    dst: $CACHE
    file: $inno
- execute:
    args: -d "$CACHE" "$game"
    file: $CACHE/innoextract
- execute:
    args: $GAMEDIR/arkania
    file: mkdir
- copy:
    dst: $GAMEDIR
    src: $CACHE/Cluebook.pdf
- copy:
    dst: $GAMEDIR
    src: $CACHE/manual.pdf
- copy:
    dst: $GAMEDIR
    src: $CACHE/passwords.pdf
- copy:
    dst: $GAMEDIR
    src: $CACHE/gamea.gog
- copy:
    dst: $GAMEDIR
    src: $CACHE/gamea.ins
- copy:
    dst: $GAMEDIR
    src: $CACHE/gameb.gog
- copy:
    dst: $GAMEDIR
    src: $CACHE/gameb.ins
- copy:
    dst: $GAMEDIR
    src: $CACHE/PATCH_02.DAT
- execute:
    args: $CACHE $GAMEDIR/arkania
    file: $CACHE/selectcopy.sh
- write_file:
    content: '[sdl]

      sensitivity=30

      fullresolution=desktop

      windowresolution=original

      fullscreen=true

      output=opengl

      capture_mouse = onstart middlerelease

      [render]

      aspect=true

      scaler=normal2x

      [autoexec]

      mount C "$GAMEDIR" -t dir

      C:

      cd arkania

      imgmount D "../gamea.ins" "../gameb.ins" -t iso

      cls

      ECHO OFF

      goto launcher

      :launcher

      cls

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

      ECHO     Das Schwarze Auge - Sternenschweif

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

      ECHO   1) Spiel starten

      ECHO   2) Einstellungen

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

      ECHO   3) Beenden

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


      choice /c123 /s Welches Programm soll gestartet werden? [1-3]: /n

      if errorlevel 3 goto exit

      if errorlevel 2 goto setup

      if errorlevel 1 goto game


      :game

      cls

      schweif

      goto exit


      :setup

      cls

      sound

      goto launcher



      :exit

      exit'
    file: $GAMEDIR/arkania.conf
description: 'Installer for the German version: "Nordlandtrilogie: Sternenschweif"'
game_slug: realms-of-arkania-2-star-trail-classic
gogslug: ''
humblestoreid: ''
installer_slug: realms-of-arkania-2-star-trai-gog-german
name: Realms of Arkania 2 - Star Trail Classic
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/arkania.conf
  installer:
  - write_file:
      content: '#!/bin/bash

        src=$1

        dst=$2

        find "$src" -maxdepth 1  -type d \( -iname data -o -iname drivers -o -iname
        music -o -iname temp  \) -exec cp {} -r "$dst" \;

        find "$src/__support/save" -maxdepth 1  -type d \( -iname games \) -exec cp
        {} -r "$dst" \;


        find "$src" -maxdepth 1  -type f \( -iname "*.bsp" -o -iname "*.aif" -o -iname
        "*.exe" -o -iname "*.cfg" -o -iname "*.bat"  \) -exec cp {} "$dst" \;'
      file: $CACHE/selectcopy.sh
  - chmodx: $CACHE/selectcopy.sh
  - extract:
      dst: $CACHE
      file: $inno
  - execute:
      args: -d "$CACHE" "$game"
      file: $CACHE/innoextract
  - execute:
      args: $GAMEDIR/arkania
      file: mkdir
  - copy:
      dst: $GAMEDIR
      src: $CACHE/Cluebook.pdf
  - copy:
      dst: $GAMEDIR
      src: $CACHE/manual.pdf
  - copy:
      dst: $GAMEDIR
      src: $CACHE/passwords.pdf
  - copy:
      dst: $GAMEDIR
      src: $CACHE/gamea.gog
  - copy:
      dst: $GAMEDIR
      src: $CACHE/gamea.ins
  - copy:
      dst: $GAMEDIR
      src: $CACHE/gameb.gog
  - copy:
      dst: $GAMEDIR
      src: $CACHE/gameb.ins
  - copy:
      dst: $GAMEDIR
      src: $CACHE/PATCH_02.DAT
  - execute:
      args: $CACHE $GAMEDIR/arkania
      file: $CACHE/selectcopy.sh
  - write_file:
      content: '[sdl]

        sensitivity=30

        fullresolution=desktop

        windowresolution=original

        fullscreen=true

        output=opengl

        capture_mouse = onstart middlerelease

        [render]

        aspect=true

        scaler=normal2x

        [autoexec]

        mount C "$GAMEDIR" -t dir

        C:

        cd arkania

        imgmount D "../gamea.ins" "../gameb.ins" -t iso

        cls

        ECHO OFF

        goto launcher

        :launcher

        cls

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

        ECHO     Das Schwarze Auge - Sternenschweif

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

        ECHO   1) Spiel starten

        ECHO   2) Einstellungen

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

        ECHO   3) Beenden

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


        choice /c123 /s Welches Programm soll gestartet werden? [1-3]: /n

        if errorlevel 3 goto exit

        if errorlevel 2 goto setup

        if errorlevel 1 goto game


        :game

        cls

        schweif

        goto exit


        :setup

        cls

        sound

        goto launcher



        :exit

        exit'
      file: $GAMEDIR/arkania.conf
slug: realms-of-arkania-2-star-trai-gog-german
steamid: 270750
version: GOG (German)
year: 2014
{
  "game_slug": "realms-of-arkania-2-star-trail-classic",
  "version": "GOG (German)",
  "description": "Installer for the German version: \"Nordlandtrilogie: Sternenschweif\"",
  "notes": "",
  "name": "Realms of Arkania 2 - Star Trail Classic",
  "year": 2014,
  "steamid": 270750,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "realms-of-arkania-2-star-trai-gog-german",
  "installer_slug": "realms-of-arkania-2-star-trai-gog-german",
  "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/arkania.conf"
    },
    "installer": [
      {
        "write_file": {
          "content": "#!/bin/bash\nsrc=$1\ndst=$2\nfind \"$src\" -maxdepth 1  -type d \\( -iname data -o -iname drivers -o -iname music -o -iname temp  \\) -exec cp {} -r \"$dst\" \\;\nfind \"$src/__support/save\" -maxdepth 1  -type d \\( -iname games \\) -exec cp {} -r \"$dst\" \\;\n\nfind \"$src\" -maxdepth 1  -type f \\( -iname \"*.bsp\" -o -iname \"*.aif\" -o -iname \"*.exe\" -o -iname \"*.cfg\" -o -iname \"*.bat\"  \\) -exec cp {} \"$dst\" \\;",
          "file": "$CACHE/selectcopy.sh"
        }
      },
      {
        "chmodx": "$CACHE/selectcopy.sh"
      },
      {
        "extract": {
          "dst": "$CACHE",
          "file": "$inno"
        }
      },
      {
        "execute": {
          "args": "-d \"$CACHE\" \"$game\"",
          "file": "$CACHE/innoextract"
        }
      },
      {
        "execute": {
          "args": "$GAMEDIR/arkania",
          "file": "mkdir"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/Cluebook.pdf"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/manual.pdf"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/passwords.pdf"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/gamea.gog"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/gamea.ins"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/gameb.gog"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/gameb.ins"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/PATCH_02.DAT"
        }
      },
      {
        "execute": {
          "args": "$CACHE $GAMEDIR/arkania",
          "file": "$CACHE/selectcopy.sh"
        }
      },
      {
        "write_file": {
          "content": "[sdl]\nsensitivity=30\nfullresolution=desktop\nwindowresolution=original\nfullscreen=true\noutput=opengl\ncapture_mouse = onstart middlerelease\n[render]\naspect=true\nscaler=normal2x\n[autoexec]\nmount C \"$GAMEDIR\" -t dir\nC:\ncd arkania\nimgmount D \"../gamea.ins\" \"../gameb.ins\" -t iso\ncls\nECHO OFF\ngoto launcher\n:launcher\ncls\nECHO  -------------------------------------------\nECHO     Das Schwarze Auge - Sternenschweif\nECHO  -------------------------------------------\nECHO   1) Spiel starten\nECHO   2) Einstellungen\nECHO  -------------------------------------------\nECHO   3) Beenden\nECHO  -------------------------------------------\n\nchoice /c123 /s Welches Programm soll gestartet werden? [1-3]: /n\nif errorlevel 3 goto exit\nif errorlevel 2 goto setup\nif errorlevel 1 goto game\n\n:game\ncls\nschweif\ngoto exit\n\n:setup\ncls\nsound\ngoto launcher\n\n\n:exit\nexit",
          "file": "$GAMEDIR/arkania.conf"
        }
      }
    ]
  }
}
Back to game