Installer ultima-iv-quest-of-the-avatar-xu4

custom-name: Ultima IV - Quest of the Avatar - XU4 - Linux
files:
- ultimaiv: https://web.archive.org/web/20150802084952/http://www.ultima-universe.com/downloads/ultima4v101.zip
- patch: https://downloads.sourceforge.net/project/xu4/Ultima%204%20VGA%20Upgrade/1.3/u4upgrad.zip
game:
  args: -s 3
  exe: bin/u4
installer:
- execute:
    command: svn checkout https://svn.code.sf.net/p/xu4/code/trunk "$GAMEDIR"; cd
      "$GAMEDIR"; mkdir bin
- move:
    dst: $GAMEDIR/bin/ultima4.zip
    src: ultimaiv
- move:
    dst: $GAMEDIR/bin/u4upgrad.zip
    src: patch
- execute:
    command: cd "$GAMEDIR"/u4/src; sed -i 's|^prefix=/usr/local$|prefix=$GAMEDIR|'
      Makefile; make dist-clean; make; strip coord dumpsavegame tlkconv u4 u4dec u4enc
      u4unpackexe; make install; cd ../..; mv u4/README .; rm -rf CVSROOT u4 web
require-binaries: svn, make, strip, gcc
description: "Runs Ultima IV natively on Linux. No emulator required, thanks to the\
  \ XU4 project.\r\nWhile it can be made to work with the \"Ultima IV - Quest of the\
  \ Avatar\" GOG edition, by default it just uses the version that Origin released\
  \ for free in 1997 and makes installation a little easier.\r\nA scan of the cloth\
  \ map provided with Ultima IV can be found at: http://www.dengler.net/xedragon/hrump/u4-100.jpg\
  \ and the manual can be read at: https://archive.org/details/c64man_ultima4"
game_slug: ultima-iv-quest-of-the-avatar
gogslug: ultima_4
humblestoreid: ''
installer_slug: ultima-iv-quest-of-the-avatar-xu4
name: 'Ultima IV: Quest of the Avatar'
notes: "Adjust display scaling with the argument -s and a multiplier. U4 was originally\
  \ 320x200.\r\nRequires that both libxml2-dev and libsdl-mixer1.2-dev packages be\
  \ installed in order to build properly.\r\nIn addition to the regular enhanced music\
  \ provided by XU4, this installer also uses the Ultima IV Upgrade Patch project:\
  \ http://www.moongates.com/u4/upgrade/Upgrade.htm"
runner: linux
script:
  custom-name: Ultima IV - Quest of the Avatar - XU4 - Linux
  files:
  - ultimaiv: https://web.archive.org/web/20150802084952/http://www.ultima-universe.com/downloads/ultima4v101.zip
  - patch: https://downloads.sourceforge.net/project/xu4/Ultima%204%20VGA%20Upgrade/1.3/u4upgrad.zip
  game:
    args: -s 3
    exe: bin/u4
  installer:
  - execute:
      command: svn checkout https://svn.code.sf.net/p/xu4/code/trunk "$GAMEDIR"; cd
        "$GAMEDIR"; mkdir bin
  - move:
      dst: $GAMEDIR/bin/ultima4.zip
      src: ultimaiv
  - move:
      dst: $GAMEDIR/bin/u4upgrad.zip
      src: patch
  - execute:
      command: cd "$GAMEDIR"/u4/src; sed -i 's|^prefix=/usr/local$|prefix=$GAMEDIR|'
        Makefile; make dist-clean; make; strip coord dumpsavegame tlkconv u4 u4dec
        u4enc u4unpackexe; make install; cd ../..; mv u4/README .; rm -rf CVSROOT
        u4 web
  require-binaries: svn, make, strip, gcc
slug: ultima-iv-quest-of-the-avatar-xu4
steamid: null
version: XU4
year: 1985
{
  "game_slug": "ultima-iv-quest-of-the-avatar",
  "version": "XU4",
  "description": "Runs Ultima IV natively on Linux. No emulator required, thanks to the XU4 project.\r\nWhile it can be made to work with the \"Ultima IV - Quest of the Avatar\" GOG edition, by default it just uses the version that Origin released for free in 1997 and makes installation a little easier.\r\nA scan of the cloth map provided with Ultima IV can be found at: http://www.dengler.net/xedragon/hrump/u4-100.jpg and the manual can be read at: https://archive.org/details/c64man_ultima4",
  "notes": "Adjust display scaling with the argument -s and a multiplier. U4 was originally 320x200.\r\nRequires that both libxml2-dev and libsdl-mixer1.2-dev packages be installed in order to build properly.\r\nIn addition to the regular enhanced music provided by XU4, this installer also uses the Ultima IV Upgrade Patch project: http://www.moongates.com/u4/upgrade/Upgrade.htm",
  "name": "Ultima IV: Quest of the Avatar",
  "year": 1985,
  "steamid": null,
  "gogslug": "ultima_4",
  "humblestoreid": "",
  "runner": "linux",
  "slug": "ultima-iv-quest-of-the-avatar-xu4",
  "installer_slug": "ultima-iv-quest-of-the-avatar-xu4",
  "script": {
    "custom-name": "Ultima IV - Quest of the Avatar - XU4 - Linux",
    "files": [
      {
        "ultimaiv": "https://web.archive.org/web/20150802084952/http://www.ultima-universe.com/downloads/ultima4v101.zip"
      },
      {
        "patch": "https://downloads.sourceforge.net/project/xu4/Ultima%204%20VGA%20Upgrade/1.3/u4upgrad.zip"
      }
    ],
    "game": {
      "args": "-s 3",
      "exe": "bin/u4"
    },
    "installer": [
      {
        "execute": {
          "command": "svn checkout https://svn.code.sf.net/p/xu4/code/trunk \"$GAMEDIR\"; cd \"$GAMEDIR\"; mkdir bin"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/bin/ultima4.zip",
          "src": "ultimaiv"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/bin/u4upgrad.zip",
          "src": "patch"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR\"/u4/src; sed -i 's|^prefix=/usr/local$|prefix=$GAMEDIR|' Makefile; make dist-clean; make; strip coord dumpsavegame tlkconv u4 u4dec u4enc u4unpackexe; make install; cd ../..; mv u4/README .; rm -rf CVSROOT u4 web"
        }
      }
    ],
    "require-binaries": "svn, make, strip, gcc"
  }
}
Back to game