Magic Another Game Engine
Find a file
2020-08-28 15:47:12 +02:00
.github Update dependabot.yml 2020-07-07 10:54:47 +02:00
Mage * Angel of Jubilation - Fixed possible Null Pointer Exception in Player.canPayLifeCost method (fixed #7019). 2020-08-28 09:26:38 +02:00
Mage.Client Added charset check and hint in startup logs (related to #7020) 2020-08-28 08:34:01 +04:00
Mage.Common Prepare new release 2020-08-23 01:52:55 +04:00
Mage.Plugins Prepare new release 2020-08-23 01:52:55 +04:00
Mage.Server Added charset check and hint in startup logs (related to #7020) 2020-08-28 08:34:01 +04:00
Mage.Server.Console Prepare new release 2020-08-23 01:52:55 +04:00
Mage.Server.Plugins Prepare new release 2020-08-23 01:52:55 +04:00
Mage.Sets * Vesuvan Shapeshifter - Fixed that creature with hexproof could not be selected to copy. 2020-08-28 15:47:12 +02:00
Mage.Tests * Nim Deathmantle - Fixed that creature was not returned to battlefield (fixes #7018). 2020-08-28 13:46:21 +02:00
Mage.Verify Fixed wrong card numbers in SLD 2020-08-27 15:52:32 +04:00
repository/com/googlecode/jspf/jspf-core Added local repository to pom 2012-07-25 20:22:18 +03:00
Utils [ZNR] Implemented Nahiri, Heir of the Ancients 2020-08-27 12:07:43 -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 removed unused git options 2020-07-22 04:15:09 -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-08-23 01:52:55 +04:00
readme.md Updated readme file (more resources, removed outdated links) 2020-08-28 09:01:00 +04: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 20 000 unique cards and ~50.000 reprints from different editions. You can also find custom sets like Star Wars. All regular sets have nearly all implemented cards.

It's support single matches and tournaments with dozens game modes like duel, multiplayer, standard, modern, commander, pauper, oathbreaker, historic, 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 and resources:

Servers status:

Beta server with un-released or under development features:

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)

Bug report / feature request

The best way to report bug or feature request is github's issues page. There are another way to report bugs too:

Installation / running

Look here for more detailed instructions.

Wiki page contains detail information about private or public server setup.

Troubleshooting / FAQ

Github issues page contain popular problems and fixes:

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 tweaks

Enable OpenGL

More info about OpenGL:

  • -Dsun.java2d.opengl=true

Possible problems:

  • 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

More info about XRender:

  • -Dsun.java2d.xrender=true

Increase memory usage

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. More details about memory settings:

  • -Xms1G -Xmx2G

Developer

Full project documentation and instructions for developers can be found in wiki pages.

First steps for Xmage's developers: