Package Details: xu4-svn r3095-1

Git Clone URL: (read-only, click to copy)
Package Base: xu4-svn
Description: Remake of the computer game Ultima IV
Upstream URL:
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.

pkgdesc='Remake of the computer game Ultima IV'
arch=('i686' 'x86_64')


prepare() {
    # Ultima IV assets
    cp "" "${_pkgname}-${_pkgver}/" 
    cp "" "${_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 "$pkgdir"/usr/bin/
    install -D -m 644 "$pkgdir"/usr/bin/

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().
:: Unable to build xu4-svn - makepkg exited with code: 4

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):

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 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

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