Installer ultima-iii-exodus-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 "*.ULT" -o -name "*.DAT" -o -name "*.IMG" -o -name
      "*.IBM" -o -name "*.BIN" -o -name "*.COM" -o -name "Ultima_3_manual.pdf" \)
      -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

      ultima.com

      exit'
    file: $GAMEDIR/Ultima.conf
description: null
game_slug: ultima-iii-exodus
gogslug: ultima_1_2_3
humblestoreid: ''
installer_slug: ultima-iii-exodus-gog
name: 'Ultima III: Exodus'
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 "*.ULT" -o -name "*.DAT" -o -name "*.IMG" -o
        -name "*.IBM" -o -name "*.BIN" -o -name "*.COM" -o -name "Ultima_3_manual.pdf"
        \) -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

        ultima.com

        exit'
      file: $GAMEDIR/Ultima.conf
slug: ultima-iii-exodus-gog
steamid: null
version: GOG
year: 1983
{
  "game_slug": "ultima-iii-exodus",
  "version": "GOG",
  "description": null,
  "notes": "",
  "name": "Ultima III: Exodus",
  "year": 1983,
  "steamid": null,
  "gogslug": "ultima_1_2_3",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "ultima-iii-exodus-gog",
  "installer_slug": "ultima-iii-exodus-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 \"*.ULT\" -o -name \"*.DAT\" -o -name \"*.IMG\" -o -name \"*.IBM\" -o -name \"*.BIN\" -o -name \"*.COM\" -o -name \"Ultima_3_manual.pdf\" \\) -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\nultima.com\nexit",
          "file": "$GAMEDIR/Ultima.conf"
        }
      }
    ]
  }
}
Back to game