Package Details: xmage 1.4.58V1-0

Git Clone URL: https://aur.archlinux.org/xmage.git (read-only, click to copy)
Package Base: xmage
Description: Java-based program for playing Magic:The Gathering, including client and server
Upstream URL: http://xmage.today
Keywords: gathering magic mtg tgc
Licenses: MIT
Submitter: aidonius
Maintainer: aidonius
Last Packager: aidonius
Votes: 6
Popularity: 0.002625
First Submitted: 2018-10-04 23:59 (UTC)
Last Updated: 2025-10-07 12:05 (UTC)

Latest Comments

1 2 3 Next › Last »

aidonius commented on 2026-03-13 22:42 (UTC)

@tribestorm the package is currently at its most recent release as per https://github.com/magefree/mage/releases

tribesstorm commented on 2026-03-11 23:23 (UTC)

How do I update?

Rx2TF commented on 2026-01-29 10:39 (UTC)

installing mage-server systemd unit file to /usr/lib/systemd/system...
install: cannot stat '../mage-server.service': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
 -> error making: xmage-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
xmage - exit status 4

tribesstorm commented on 2025-11-09 21:51 (UTC)

Any idea how to get fonts to look better?

tunczyk commented on 2025-08-04 13:18 (UTC)

Is it possible for the launcher script to pick the correct Java environment automatically if more than one is installed? Currently I have runtimes for OpenJDK24 and OpenJDK8 installed on my system, and in order to play XMage I have to archlinux-java to switch environments before running XMage, which is rather inconvenient.

aidonius commented on 2025-04-30 14:30 (UTC) (edited on 2025-04-30 14:31 (UTC) by aidonius)

@zwastik You should be able to download openjfx using a browser. If you have trouble with that or can't get openjfx to compile, xmage includes a secondary pkgbuild that uses a different java that doesn't require openjfx.

zwastik commented on 2025-04-30 13:26 (UTC)

curl: (22) The requested URL returned error: 403
==> ERROR: Failure while downloading https://hg.openjdk.java.net/openjfx/8u-dev/rt/archive/8u202-ga.tar.bz2
    Aborting...
 -> error making: java8-openjfx-exit status 1
==> Making package: xmage 1.4.57V2-0 (mié 30 abr 2025 06:56:21)
==> Checking runtime dependencies...
==> Missing dependencies:
  -> java8-openjfx
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
 -> error making: xmage-exit status 8

candy_pebbles commented on 2021-02-19 13:46 (UTC) (edited on 2021-02-19 14:12 (UTC) by candy_pebbles)

I got some errors with java and this update with (newly added?) detox, and I noticed I'm not the only one, so I'm going to share how I got it working. If making the package results in:

...
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting xmage_1.4.48V1.zip with bsdtar
==> Sources are ready.
==> Making package: xmage 1.4.48V1-0 (Fri 19 Feb 2021 02:29:29 PM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> Starting package()...
==> ERROR: A failure occurred in package().
Aborting...
error making: xmage

Then edit the PKGBUILD file as tnto pointed out and comment out lines such as:

detox -r -v ./* &> /dev/null

found around the 33rd line, depending on the PKG you are building. Then pacman -U the made pkg. If you launch mage-client and you get an error such as:

Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-15- 
openjdk/lib/libawt_xawt.so
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2411)
at java.base/java.lang.Runtime.load0(Runtime.java:747)
at java.base/java.lang.System.load(System.java:1857)
at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:383)
at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:227)
at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:169)
at java.base/jdk.internal.loader.NativeLibraries.findFromPaths(NativeLibraries.java:310)
at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:280)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2416)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:809)
at java.base/java.lang.System.loadLibrary(System.java:1893)
at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:1380)
at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:1378)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:312)
at java.desktop/java.awt.Toolkit.loadLibraries(Toolkit.java:1377)
at java.desktop/java.awt.Toolkit.<clinit>(Toolkit.java:1410)
at java.desktop/java.awt.Component.<clinit>(Component.java:622)

The simply follow what arachnid92 earlier in this thread. If you then get the error:

Unable to access jarfile /usr/share/xmage/mage-client/lib/mage-client-1.4.48.jar

Check if you have jre8-openjdk and java8-openjfx installed, if the error persists, remove the package with pacman -R, and delete the cloned xmage folder. Then start over again, but with few changes.

git clone https://aur.archlinux.org/xmage.git
cd xmage
rm -rf PKGBUILD
sudo nano PKGBUILD-jre-8u201-x86_64 (and comment out said detox line, here on line 37)
sudo mv PKGBUILD-jre-8u201-x86_64 PKGBUILD
makepkg
sudo pacman -U xmage-1.4.48V1-0-x86_64.pkg.tar.zst

It's not a guaranteed solution (it worked for me), but it's worth a try if you're having this problem, I guess, it even says it in the README.txt. Also, does anyone know how to fix the ugly font scaling?