Magic Another Game Engine
Find a file
ReSech f142d07440
deck: added many old and new promo sets and miss cards (#13903)
* deck: added Bitter Triumph, Fable of the Mirror-Breaker, and Slickshot Show-off to Store Championships set

* added Monstrous Rage and Trinket Mage to Wizards Play Network 2025 set

* add Year of the Snake 2025 expansion set

* add Year of the Dragon 2024 expansion set

* deck: add Dragon and Snake tokens for PL24 and PL25

* add Year of the Dragon 2024 and Year of the Snake 2025 expansion sets

* add Reflection of Kiki-Jiki to Store Championships set

* hasBasicLands true for Year of the Dragon 2024 and Year of the Snake 2025

* Update URLs and Land rarity

* add MagicFest 2024 expansion set

* add Love Your LGS 2024 expansion set

* add MKM Standard Showdown expansion set

* Set Full Art Lands to Full Art

* Add new expansion sets: MagicFest 2024, MKM Standard Showdown, and Love Your LGS 2024

* Fix Error

* Add new expansion sets: MagicFest 2023 and 30th Anniversary History Promos

* Add new expansion sets: Love Your LGS 2022 and Regional Championship Qualifiers 2022

* Add Love Your LGS 2020 set

* Add new cards to PURL

* Update MagicFest 2025 set: add new cards and reorder existing entries

* Add Magiccon Cards
2025-08-30 04:18:54 +04:00
.github dev: enable auto-labels for PRs (labeler) 2024-02-18 18:22:32 +04:00
.travis
Mage deck: added many old and new promo sets and miss cards (#13903) 2025-08-30 04:18:54 +04:00
Mage.Client deck: added many old and new promo sets and miss cards (#13903) 2025-08-30 04:18:54 +04:00
Mage.Common deck: fixed that clipboard import can choose wrong promo card (close #7666) 2025-08-10 23:59:19 +04:00
Mage.Plugins bump version 2025-04-11 17:50:12 +04:00
Mage.Reports bump version 2025-04-11 17:50:12 +04:00
Mage.Server dev: update commons-compress dependency version to 1.27.1 (#13848) 2025-07-13 07:05:09 +04:00
Mage.Server.Console bump version 2025-04-11 17:50:12 +04:00
Mage.Server.Plugins tests: disabled randomly failed AI test 2025-08-15 08:41:15 +04:00
Mage.Sets deck: added many old and new promo sets and miss cards (#13903) 2025-08-30 04:18:54 +04:00
Mage.Tests create token copy checks for copyfrom 2025-08-29 15:54:31 -05:00
Mage.Verify fix verify failure 2025-08-15 16:58:14 -04:00
repository/com/googlecode/jspf/jspf-core
Utils update gen-list-unimplemented-cards-for-set 2025-08-29 15:48:12 -05:00
.gitignore Added data collectors, AI and testing tools improves: 2025-07-05 21:44:55 +04:00
.travis.yml Added data collectors, AI and testing tools improves: 2025-07-05 21:44:55 +04:00
clean_dbs.sh
LICENSE.txt
Makefile dev: improved makefile for better build process (#13306) 2025-02-07 05:56:49 +04:00
pom.xml dev: updated some libs, removed outdated and unused s3/aws code and annotations (#13802) 2025-06-29 16:36:10 +04:00
readme.md docs: added faq for pixilated images problem, updated card stats 2024-09-13 00:55:03 +04:00
sonar-project.properties

XMage — Magic, Another Game Engine

Build Status Lines of Code Coverage Technical Debt latest release commints since latest release Join the chat at https://gitter.im/magefree/mage

XMage allows you to play Magic against one or more online players or computer opponents. It includes full rules enforcement for over 28 000 unique cards and more than 73 000 reprints from different editions. You can also find custom sets like Star Wars. All regular sets have nearly all implemented cards.

It supports single matches and tournaments with dozens of game modes like duel, multiplayer, standard, modern, commander, pauper, oathbreaker, historic, freeform, richman and much more.

Local server supports a special test mode for testing combos and other game situations with pre-defined conditions.

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.

Installation / running

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

Server options

The XMage server locates by default the configuration file from the current working directory to the relative path config/config.xml (config\config.xml in Windows). To change this location, start the server with the property xmage.config.path set to the desired location, for example -Dxmage.config.path=config/otherconfig.xml. The option can be set from the XMageLauncher in Settings > Java > Server java options.

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 to 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 can increase the initial heap size for good measure. More details about memory settings:

  • -Xmx2G

Developer

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

First steps for Xmage's developers:

Torch icons created by Freepik - Flaticon