Installer ultima-ii-the-revenge-of-the-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/Ultima.conf
installer:
- extract:
    dst: $CACHE
    file: $inno
- execute:
    args: -d "$CACHE" "$game"
    file: $CACHE/innoextract
- write_file:
    content: '#!/bin/bash

      src=$1

      dst=$2

      find "$src" -type f \( -name "mapg*" -o -name "MAPG*" -o -name "MAPX*" -o -name
      "mong*" -o -name "MON*" -o -name "MONSTERS" -o -name "PIC*" -o -name "TLK*"
      -o -name "PLAYER" -o -name "Ultima_2_manual.pdf" -o -name "ULTIMAII.EXE" \)
      -exec cp {} "$dst" \;'
    file: $CACHE/selectcopy.sh
- chmodx: $CACHE/selectcopy.sh
- execute:
    args: $GAMEDIR/HDD $GAMEDIR/HDD/ultima
    file: mkdir
- execute:
    args: $CACHE $GAMEDIR/HDD/ultima
    file: $CACHE/selectcopy.sh
- write_file:
    content: '[sdl]

      sensitivity=20

      fullresolution=desktop

      windowresolution=original

      fullscreen=true

      output=opengl

      [cpu]

      core=simple

      cputype=386_slow

      cycles=500

      cycleup=100

      cycledown=100

      [render]

      aspect=true

      scaler=normal2x


      [autoexec]

      mount C "$GAMEDIR/HDD" -t dir

      C:

      cd ultima

      ultimaII.exe

      exit'
    file: $GAMEDIR/Ultima.conf
description: null
game_slug: ultima-ii-the-revenge-of-the-enchantress
gogslug: ''
humblestoreid: ''
installer_slug: ultima-ii-the-revenge-of-the-gog
name: 'Ultima II: The Revenge of the Enchantress...'
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/Ultima.conf
  installer:
  - extract:
      dst: $CACHE
      file: $inno
  - execute:
      args: -d "$CACHE" "$game"
      file: $CACHE/innoextract
  - write_file:
      content: '#!/bin/bash

        src=$1

        dst=$2

        find "$src" -type f \( -name "mapg*" -o -name "MAPG*" -o -name "MAPX*" -o
        -name "mong*" -o -name "MON*" -o -name "MONSTERS" -o -name "PIC*" -o -name
        "TLK*" -o -name "PLAYER" -o -name "Ultima_2_manual.pdf" -o -name "ULTIMAII.EXE"
        \) -exec cp {} "$dst" \;'
      file: $CACHE/selectcopy.sh
  - chmodx: $CACHE/selectcopy.sh
  - execute:
      args: $GAMEDIR/HDD $GAMEDIR/HDD/ultima
      file: mkdir
  - execute:
      args: $CACHE $GAMEDIR/HDD/ultima
      file: $CACHE/selectcopy.sh
  - write_file:
      content: '[sdl]

        sensitivity=20

        fullresolution=desktop

        windowresolution=original

        fullscreen=true

        output=opengl

        [cpu]

        core=simple

        cputype=386_slow

        cycles=500

        cycleup=100

        cycledown=100

        [render]

        aspect=true

        scaler=normal2x


        [autoexec]

        mount C "$GAMEDIR/HDD" -t dir

        C:

        cd ultima

        ultimaII.exe

        exit'
      file: $GAMEDIR/Ultima.conf
slug: ultima-ii-the-revenge-of-the-gog
steamid: null
version: GOG
year: 1982
{
  "game_slug": "ultima-ii-the-revenge-of-the-enchantress",
  "version": "GOG",
  "description": null,
  "notes": "",
  "name": "Ultima II: The Revenge of the Enchantress...",
  "year": 1982,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "ultima-ii-the-revenge-of-the-gog",
  "installer_slug": "ultima-ii-the-revenge-of-the-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/Ultima.conf"
    },
    "installer": [
      {
        "extract": {
          "dst": "$CACHE",
          "file": "$inno"
        }
      },
      {
        "execute": {
          "args": "-d \"$CACHE\" \"$game\"",
          "file": "$CACHE/innoextract"
        }
      },
      {
        "write_file": {
          "content": "#!/bin/bash\nsrc=$1\ndst=$2\nfind \"$src\" -type f \\( -name \"mapg*\" -o -name \"MAPG*\" -o -name \"MAPX*\" -o -name \"mong*\" -o -name \"MON*\" -o -name \"MONSTERS\" -o -name \"PIC*\" -o -name \"TLK*\" -o -name \"PLAYER\" -o -name \"Ultima_2_manual.pdf\" -o -name \"ULTIMAII.EXE\" \\) -exec cp {} \"$dst\" \\;",
          "file": "$CACHE/selectcopy.sh"
        }
      },
      {
        "chmodx": "$CACHE/selectcopy.sh"
      },
      {
        "execute": {
          "args": "$GAMEDIR/HDD $GAMEDIR/HDD/ultima",
          "file": "mkdir"
        }
      },
      {
        "execute": {
          "args": "$CACHE $GAMEDIR/HDD/ultima",
          "file": "$CACHE/selectcopy.sh"
        }
      },
      {
        "write_file": {
          "content": "[sdl]\nsensitivity=20\nfullresolution=desktop\nwindowresolution=original\nfullscreen=true\noutput=opengl\n[cpu]\ncore=simple\ncputype=386_slow\ncycles=500\ncycleup=100\ncycledown=100\n[render]\naspect=true\nscaler=normal2x\n\n[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nC:\ncd ultima\nultimaII.exe\nexit",
          "file": "$GAMEDIR/Ultima.conf"
        }
      }
    ]
  }
}
Back to game