Package Details: xu4-svn r3095-1

Git Clone URL: https://aur.archlinux.org/xu4-svn.git (read-only, click to copy)
Package Base: xu4-svn
Description: Remake of the computer game Ultima IV
Upstream URL: http://xu4.sourceforge.net/
Keywords: game mmo mmorpg rpg ultima
Licenses: GPL2
Conflicts: xu4
Provides: xu4
Submitter: jonathon
Maintainer: Mr.Smith1974
Last Packager: Mr.Smith1974
Votes: 1
Popularity: 0.003213
First Submitted: 2017-10-25 15:57 (UTC)
Last Updated: 2023-07-22 05:59 (UTC)

Latest Comments

alan1world commented on 2022-11-14 15:11 (UTC)

I've had a go at creating a PKGBUILD for the latest version. It's based on your original + the install file they provide.

It seems to run but then crashes out with xu4: error: Unable to obtain OpenGL resource (gui.png)

# Maintainer: Jonathon Fernyhough <jonathon_at_manjaro_dot_org>

# Upstream project has a 1.0beta3 release but it's very old. 0.9 is used here
# to denote pre-1.0 status.

pkgname=xu4-svn
_pkgname=xu4
pkgver=1.1
_pkgver=1.1
pkgrel=1
pkgdesc='Remake of the computer game Ultima IV'
arch=('i686' 'x86_64')
url='http://xu4.sourceforge.net/'
license=('gpl2')
depends=('allegro')
provides=("${pkgname%-svn}")
conflicts=("${pkgname%-svn}")

source=("https://kumisystems.dl.sourceforge.net/project/${_pkgname}/${_pkgname}/${_pkgver}/${_pkgname}-${_pkgver}-linux.tar.gz"
        'http://ultima.thatfleminggent.com/ultima4.zip'
        'https://sourceforge.net/projects/xu4/files/Ultima%204%20VGA%20Upgrade/1.3/u4upgrad.zip')
sha256sums=('f2966e23ffaad08bbf84a1f9933234f1b509e7d9cfb4637953b7b1807aa02f80'
            '94aa748cfa1d0e7aa2e518abebb994f3c18acf7edb78c3bd37cd0a4404e6ba74'
            '400ac37311f3be74c1b2d7836561b2ead2b146f5162586865b0f4881225cca58')
noextract=('ultima4.zip'
           'u4upgrad.zip')

prepare() {
    # Ultima IV assets
    cp "ultima4.zip" "${_pkgname}-${_pkgver}/" 
    cp "u4upgrad.zip" "${_pkgname}-${_pkgver}/"
}

package()  {
    cd "$srcdir"/"${_pkgname}-${_pkgver}/"
    install -D -m 755 xu4 "$pkgdir"/usr/bin/xu4
    install -D -m 644 Ultima-IV.mod "$pkgdir"/usr/share/xu4/Ultima-IV.mod
    install -D -m 644 desktop/xu4.png "$pkgdir"/usr/share/icons/hicolor/48x48/apps/xu4.png
    install -D -m 644 desktop/xu4.desktop "$pkgdir"/usr/share/applications/xu4.desktop
    install -D -m 644 ultima4.zip "$pkgdir"/usr/bin/ultima4.zip
    install -D -m 644 u4upgrad.zip "$pkgdir"/usr/bin/u4upgrad.zip
}

alan1world commented on 2022-11-14 12:01 (UTC)

Unable to build:

/tmp/xu4-svn/src/xu4/u4/src/screen_sdl.cpp: In function ‘void screenRefreshThreadInit()’:
/tmp/xu4-svn/src/xu4/u4/src/screen_sdl.cpp:260:29: error: format not a string literal and no format arguments [-Werror=format-security]
  260 |                 errorWarning(SDL_GetError());
      |                 ~~~~~~~~~~~~^~~~~~~~~~~~~~~~
cc1plus: some warnings being treated as errors
make[2]: *** [src/CMakeFiles/u4.dir/build.make:1182: src/CMakeFiles/u4.dir/screen_sdl.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:99: src/CMakeFiles/u4.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
:: Unable to build xu4-svn - makepkg exited with code: 4

Also:
New release July 2022.
Version 1.1

alan1world commented on 2021-05-27 00:54 (UTC) (edited on 2021-05-27 00:55 (UTC) by alan1world)

FYI Ultima IV is now listed as supported (some Ultima games are not):

https://wiki.scummvm.org/index.php?title=Ultima_IV:_Quest_of_the_Avatar

https://wiki.scummvm.org/index.php?title=Ultima

jonathon commented on 2021-04-22 19:07 (UTC)

This doesn't appear to be officially released as part of ScummVM so I'll leave this here for now. Once it is officially released I'll request deletion of this package.

t3hyoshi commented on 2021-03-23 10:58 (UTC)

xu4 development has shifted over to ScummVM. Flagged out of date as such.

jonathon commented on 2020-05-22 09:09 (UTC) (edited on 2020-05-22 09:21 (UTC) by jonathon)

Download is working for me (or it's working again)? I'm not sure how using archive.org will play with the permission to distribute...

alan1world commented on 2020-05-22 03:20 (UTC)

Download location has gone again.

But is available on archive.org:

https://web.archive.org/web/20191030075444/http://ultima.thatfleminggent.com/ultima4.zip

alan1world commented on 2020-02-27 00:07 (UTC)

https://www.thatfleminggent.com/ultima/ultima4.zip/ no longer available