Installer an-elder-scrolls-legend-battl-gog

files:
- file1: N/A:Please select the GOG installer
- file2: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
game:
  config_file: $GAMEDIR/DOSBOX/dosbox_battlespire.conf
  main_file: $GAMEDIR/DOSBOX/dosbox_battlespire_single.conf
installer:
- extract:
    dst: $CACHE
    file: $file2
- execute:
    args: -d "$CACHE" "$file1"
    file: $CACHE/innoextract
- merge:
    dst: $GAMEDIR
    src: $CACHE
- merge:
    dst: $GAMEDIR/DOSBOX
    src: $GAMEDIR/__support/app/dosbox_battlespire.conf
- merge:
    dst: $GAMEDIR/DOSBOX
    src: $GAMEDIR/__support/app/dosbox_battlespire_client.conf
- merge:
    dst: $GAMEDIR/DOSBOX
    src: $GAMEDIR/__support/app/dosbox_battlespire_server.conf
- move:
    dst: $GAMEDIR
    src: $GAMEDIR/app/PICS
- move:
    dst: $GAMEDIR
    src: $GAMEDIR/app/SAVE0
- move:
    dst: $GAMEDIR
    src: $GAMEDIR/app/SAVE1
- move:
    dst: $GAMEDIR
    src: $GAMEDIR/app/SAVE2
- move:
    dst: $GAMEDIR
    src: $GAMEDIR/app/SAVE3
- move:
    dst: $GAMEDIR
    src: $GAMEDIR/app/SAVE4
- move:
    dst: $GAMEDIR
    src: $GAMEDIR/app/SAVE5
- move:
    dst: $GAMEDIR
    src: $GAMEDIR/app/SAVE6
- move:
    dst: $GAMEDIR
    src: $GAMEDIR/app/SAVE7
- move:
    dst: $GAMEDIR
    src: $GAMEDIR/app/SAVE8
- move:
    dst: $GAMEDIR
    src: $GAMEDIR/app/SAVE9
- write_config:
    file: $GAMEDIR/DOSBOX/dosbox_battlespire.conf
    key: aspect
    section: render
    value: true
- write_config:
    file: $GAMEDIR/DOSBOX/dosbox_battlespire.conf
    key: output
    section: sdl
    value: opengl
- write_config:
    file: $GAMEDIR/DOSBOX/dosbox_battlespire.conf
    key: fullscreen
    section: sdl
    value: false
- write_config:
    file: $GAMEDIR/DOSBOX/dosbox_battlespire.conf
    key: fullresolution
    section: sdl
    value: 1920x1080
- write_config:
    file: $GAMEDIR/DOSBOX/dosbox_battlespire.conf
    key: midiconfig
    section: midi
    value: '128:0'
- write_file:
    content: "[ipx]\n# ipx: Enable ipx over UDP/IP emulation.\nipx=false\n\n[autoexec]\n\
      \ @echo off\n cls\n mount c \"..\"\n mount c \"..\\cloud_saves\" -t overlay\n\
      \ c:\n imgmount d \"..\\game.ins\" -t iso\n goto launcher\n\n :launcher\n cls\n\
      \ ECHO  -----------------------------------------------------------\n ECHO \
      \ An Elder Scrolls Legend: Battlespire Lutris DOSBox Launcher\n ECHO  -----------------------------------------------------------\n\
      \ ECHO   1) Battlespire Game\n ECHO   2) Battlespire Settings\n ECHO   3) Battlespire\
      \ Client\n ECHO   4) Battlespire Server\n ECHO  -----------------------------------------------------------\n\
      \ ECHO   5) exit program\n ECHO  -----------------------------------------------------------\n\
      \n choice /c123456 /s Which game do you want to run? 1-5: /n\n if errorlevel\
      \ 5 goto exit\n if errorlevel 4 goto batserv\n if errorlevel 3 goto batclient\n\
      \ if errorlevel 2 goto batsettings\n if errorlevel 1 goto battle\n\n :battle\n\
      \ cls\n spire.bat\n goto exit\n\n :batsettings\n cls\n install.exe\n goto launcher\n\
      \n :batclient\n cls\n ipxnet connect 127.0.0.1\n spire.bat\n goto exit\n\n :batserv\n\
      \ cls\n ipxnet startserver\n spire.bat\n goto exit\n\n :exit\n exit"
    file: $GAMEDIR/DOSBOX/dosbox_battlespire_single.conf
description: ''
game_slug: an-elder-scrolls-legend-battlespire
gogslug: an_elder_scrolls_legend_battlespire
humblestoreid: ''
installer_slug: an-elder-scrolls-legend-battl-gog
name: 'An Elder Scrolls Legend: Battlespire'
notes: ''
runner: dosbox
script:
  files:
  - file1: N/A:Please select the GOG installer
  - file2: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
  game:
    config_file: $GAMEDIR/DOSBOX/dosbox_battlespire.conf
    main_file: $GAMEDIR/DOSBOX/dosbox_battlespire_single.conf
  installer:
  - extract:
      dst: $CACHE
      file: $file2
  - execute:
      args: -d "$CACHE" "$file1"
      file: $CACHE/innoextract
  - merge:
      dst: $GAMEDIR
      src: $CACHE
  - merge:
      dst: $GAMEDIR/DOSBOX
      src: $GAMEDIR/__support/app/dosbox_battlespire.conf
  - merge:
      dst: $GAMEDIR/DOSBOX
      src: $GAMEDIR/__support/app/dosbox_battlespire_client.conf
  - merge:
      dst: $GAMEDIR/DOSBOX
      src: $GAMEDIR/__support/app/dosbox_battlespire_server.conf
  - move:
      dst: $GAMEDIR
      src: $GAMEDIR/app/PICS
  - move:
      dst: $GAMEDIR
      src: $GAMEDIR/app/SAVE0
  - move:
      dst: $GAMEDIR
      src: $GAMEDIR/app/SAVE1
  - move:
      dst: $GAMEDIR
      src: $GAMEDIR/app/SAVE2
  - move:
      dst: $GAMEDIR
      src: $GAMEDIR/app/SAVE3
  - move:
      dst: $GAMEDIR
      src: $GAMEDIR/app/SAVE4
  - move:
      dst: $GAMEDIR
      src: $GAMEDIR/app/SAVE5
  - move:
      dst: $GAMEDIR
      src: $GAMEDIR/app/SAVE6
  - move:
      dst: $GAMEDIR
      src: $GAMEDIR/app/SAVE7
  - move:
      dst: $GAMEDIR
      src: $GAMEDIR/app/SAVE8
  - move:
      dst: $GAMEDIR
      src: $GAMEDIR/app/SAVE9
  - write_config:
      file: $GAMEDIR/DOSBOX/dosbox_battlespire.conf
      key: aspect
      section: render
      value: true
  - write_config:
      file: $GAMEDIR/DOSBOX/dosbox_battlespire.conf
      key: output
      section: sdl
      value: opengl
  - write_config:
      file: $GAMEDIR/DOSBOX/dosbox_battlespire.conf
      key: fullscreen
      section: sdl
      value: false
  - write_config:
      file: $GAMEDIR/DOSBOX/dosbox_battlespire.conf
      key: fullresolution
      section: sdl
      value: 1920x1080
  - write_config:
      file: $GAMEDIR/DOSBOX/dosbox_battlespire.conf
      key: midiconfig
      section: midi
      value: '128:0'
  - write_file:
      content: "[ipx]\n# ipx: Enable ipx over UDP/IP emulation.\nipx=false\n\n[autoexec]\n\
        \ @echo off\n cls\n mount c \"..\"\n mount c \"..\\cloud_saves\" -t overlay\n\
        \ c:\n imgmount d \"..\\game.ins\" -t iso\n goto launcher\n\n :launcher\n\
        \ cls\n ECHO  -----------------------------------------------------------\n\
        \ ECHO  An Elder Scrolls Legend: Battlespire Lutris DOSBox Launcher\n ECHO\
        \  -----------------------------------------------------------\n ECHO   1)\
        \ Battlespire Game\n ECHO   2) Battlespire Settings\n ECHO   3) Battlespire\
        \ Client\n ECHO   4) Battlespire Server\n ECHO  -----------------------------------------------------------\n\
        \ ECHO   5) exit program\n ECHO  -----------------------------------------------------------\n\
        \n choice /c123456 /s Which game do you want to run? 1-5: /n\n if errorlevel\
        \ 5 goto exit\n if errorlevel 4 goto batserv\n if errorlevel 3 goto batclient\n\
        \ if errorlevel 2 goto batsettings\n if errorlevel 1 goto battle\n\n :battle\n\
        \ cls\n spire.bat\n goto exit\n\n :batsettings\n cls\n install.exe\n goto\
        \ launcher\n\n :batclient\n cls\n ipxnet connect 127.0.0.1\n spire.bat\n goto\
        \ exit\n\n :batserv\n cls\n ipxnet startserver\n spire.bat\n goto exit\n\n\
        \ :exit\n exit"
      file: $GAMEDIR/DOSBOX/dosbox_battlespire_single.conf
slug: an-elder-scrolls-legend-battl-gog
steamid: 1812420
version: GOG
year: 1997
{
  "game_slug": "an-elder-scrolls-legend-battlespire",
  "version": "GOG",
  "description": "",
  "notes": "",
  "name": "An Elder Scrolls Legend: Battlespire",
  "year": 1997,
  "steamid": 1812420,
  "gogslug": "an_elder_scrolls_legend_battlespire",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "an-elder-scrolls-legend-battl-gog",
  "installer_slug": "an-elder-scrolls-legend-battl-gog",
  "script": {
    "files": [
      {
        "file1": "N/A:Please select the GOG installer"
      },
      {
        "file2": "https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
      }
    ],
    "game": {
      "config_file": "$GAMEDIR/DOSBOX/dosbox_battlespire.conf",
      "main_file": "$GAMEDIR/DOSBOX/dosbox_battlespire_single.conf"
    },
    "installer": [
      {
        "extract": {
          "dst": "$CACHE",
          "file": "$file2"
        }
      },
      {
        "execute": {
          "args": "-d \"$CACHE\" \"$file1\"",
          "file": "$CACHE/innoextract"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR",
          "src": "$CACHE"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/DOSBOX",
          "src": "$GAMEDIR/__support/app/dosbox_battlespire.conf"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/DOSBOX",
          "src": "$GAMEDIR/__support/app/dosbox_battlespire_client.conf"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/DOSBOX",
          "src": "$GAMEDIR/__support/app/dosbox_battlespire_server.conf"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$GAMEDIR/app/PICS"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$GAMEDIR/app/SAVE0"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$GAMEDIR/app/SAVE1"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$GAMEDIR/app/SAVE2"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$GAMEDIR/app/SAVE3"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$GAMEDIR/app/SAVE4"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$GAMEDIR/app/SAVE5"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$GAMEDIR/app/SAVE6"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$GAMEDIR/app/SAVE7"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$GAMEDIR/app/SAVE8"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$GAMEDIR/app/SAVE9"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/DOSBOX/dosbox_battlespire.conf",
          "key": "aspect",
          "section": "render",
          "value": true
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/DOSBOX/dosbox_battlespire.conf",
          "key": "output",
          "section": "sdl",
          "value": "opengl"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/DOSBOX/dosbox_battlespire.conf",
          "key": "fullscreen",
          "section": "sdl",
          "value": false
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/DOSBOX/dosbox_battlespire.conf",
          "key": "fullresolution",
          "section": "sdl",
          "value": "1920x1080"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/DOSBOX/dosbox_battlespire.conf",
          "key": "midiconfig",
          "section": "midi",
          "value": "128:0"
        }
      },
      {
        "write_file": {
          "content": "[ipx]\n# ipx: Enable ipx over UDP/IP emulation.\nipx=false\n\n[autoexec]\n @echo off\n cls\n mount c \"..\"\n mount c \"..\\cloud_saves\" -t overlay\n c:\n imgmount d \"..\\game.ins\" -t iso\n goto launcher\n\n :launcher\n cls\n ECHO  -----------------------------------------------------------\n ECHO  An Elder Scrolls Legend: Battlespire Lutris DOSBox Launcher\n ECHO  -----------------------------------------------------------\n ECHO   1) Battlespire Game\n ECHO   2) Battlespire Settings\n ECHO   3) Battlespire Client\n ECHO   4) Battlespire Server\n ECHO  -----------------------------------------------------------\n ECHO   5) exit program\n ECHO  -----------------------------------------------------------\n\n choice /c123456 /s Which game do you want to run? 1-5: /n\n if errorlevel 5 goto exit\n if errorlevel 4 goto batserv\n if errorlevel 3 goto batclient\n if errorlevel 2 goto batsettings\n if errorlevel 1 goto battle\n\n :battle\n cls\n spire.bat\n goto exit\n\n :batsettings\n cls\n install.exe\n goto launcher\n\n :batclient\n cls\n ipxnet connect 127.0.0.1\n spire.bat\n goto exit\n\n :batserv\n cls\n ipxnet startserver\n spire.bat\n goto exit\n\n :exit\n exit",
          "file": "$GAMEDIR/DOSBOX/dosbox_battlespire_single.conf"
        }
      }
    ]
  }
}
Back to game