Magic Another Game Engine
Find a file
2020-05-03 13:02:45 -07:00
Mage Fix typos in Glittering Lion abilities rules 2020-05-03 13:02:45 -07:00
Mage.Client add import support for mtgjson deck files 2020-04-29 20:29:15 +02:00
Mage.Common Prepare new hotfix release 2020-04-19 01:50:00 +04:00
Mage.Plugins Prepare new release 2020-01-09 08:55:26 +04:00
Mage.Server Fixed missing MTGA Cube 2020 April in configs (related to #6396); 2020-04-19 00:00:07 +04:00
Mage.Server.Console Logs cleanup (removed database logs) 2020-01-27 06:01:56 +04:00
Mage.Server.Plugins updated Oathbreaker ban list 2020-04-24 20:29:37 -04:00
Mage.Sets Fix typos in Glittering Lion abilities rules 2020-05-03 13:02:45 -07:00
Mage.Tests added more Ashling the Pilgrim tests 2020-04-28 19:09:05 -04:00
Mage.Verify removed verify skips 2020-04-23 17:33:12 -04:00
repository/com/googlecode/jspf/jspf-core Added local repository to pom 2012-07-25 20:22:18 +03:00
Utils updated IKO and C20 spoiler and text 2020-04-27 22:38:46 -04:00
.gitignore Added Visual Studio Code (vscode) and .factorypath maven files to .gitignore. Also .idea pattern now restricted to folder type. (#6410) 2020-04-13 18:52:13 -04:00
.travis.yml temporarily disabling sonarcloud support 2019-01-05 13:01:35 -05:00
clean_dbs.sh make clean_dbs.sh executable 2015-11-08 22:32:42 -08:00
LICENSE.txt add current MIT license to root 2018-06-02 17:48:28 +02:00
pom.xml Prepare new release 2020-01-09 08:55:26 +04:00
readme.md include performance tweak guide for Linux 2020-01-10 06:05:35 -03:00
RemoveHeaders.java remove all MIT copyright notices from files 2018-06-02 17:59:49 +02:00
sonar-project.properties added sonarcloud support (hopefully it works) 2019-01-05 11:29:35 -05:00

XMage — Magic, Another Game Engine

Join the chat at https://gitter.im/magefree/mage Build Status

XMage allows you to play Magic against one or more online players or computer opponents. It includes full rules enforcement for over 19.200 unique cards (over 37.400 counting all cards from different editions, you can find event custom sets like Star Wars). All regular sets have nearly all the cards implemented. A more detailed information which cards are implemented can be found here.

It's support single matches and tournaments with dozens game modes like duel, multiplayer, standard, modern, commander, pauper, oathbreaker, freeform and much more.

There are public servers where you can play XMage against other players. You can also host your own server to play against the AI and/or your friends.

XMage community:

Servers status:

Features

  • Multiplatform app: Windows, Linux, MacOS;
  • Deck editor (support multiple deck formats and deck sources);
  • Two player duel or a multiplayer free-for-all game with up to 10 players;
  • Computer AI opponents;
  • Players rating system (Glicko);
  • Supports special formats like Commander (up to 10 players), Oathbreaker, Cube, Tiny Leaders, Super Standard, Historic Standard and more;
  • Single matches or tournaments supported (elimination or swiss type handling), which can be played with up to 16 players:
    • Booster (also Cube) draft tournaments (4-16)
    • Sealed (also from Cube) tournaments (2-16)

Issues / bugs

Before you create a new issue, take a look at the List of things already fixed but not yet released to avoid creating uneccessary new issues. Also there is always a bug thread in the Official XMage forum which we check regularly.

Installation

  • Download latest XMage launcher file and put it to any folder like D:\games\xmage;
  • You need to have Java version 8 or later to run it;
  • If you can't run it then create run-LAUNCHER.cmd text file in launcher folder and put that line to it and save as ANSI format:
    • java -Djava.net.preferIPv4Stack=true -jar XMageLauncher-0.3.8.jar

Look here for more detailed instructions. Here you can find a log of the latest changes.

Performance tweaks

If you have a good GPU, it's very likely you'll be able increase performance by a lot through extra Java flags.

XMage runs on JRE 8, so this link should give you the available flags.

How to enable the extra flags

  1. Launch XMage
  2. In the menu bar from the launcher, click on "Settings", which will open up the Settings Window
  3. Go to the "Java" tab
  4. You can pass extra flags by editing the "Client java options" text field

Linux guide

Enable OpenGL

Link

-Dsun.java2d.opengl=true

Caveat: There's a bug with the file chooser when OpenGL is enabled (you use the file chooser when you, for instance, try to load a deck from disk). The suggested workaround will make the game crash, so it's not an option.

Workaround: When using i3, you're able to work around the bug by toggling the "floating" capabilities of the window and forcing it to re-render.

Enable XRender

Link

-Dsun.java2d.xrender=true

Bigger upfront heap size

SO explanation

This is not guaranteed to yield improvements, but it depends on your use-case. If you have a lot of RAM to spare, you might as well increase the initial heap size for good measure.

-Xms1G -Xmx2G

Developer

If you are interested in developing XMage, here are some useful resources: