安装目录不要放在 Program Files 或下载文件夹,推荐如 D:\games\xmage;与 AI 对战必须自行启动 server 应用并通过 localhost 连接;内存不足导致卡顿时需在启动器 Java 选项加 -Xmx3000m 等参数,给 5GB 以上无意义
从 https://xmage.today/ 下载并按说明安装;安装 Java 8+ 后通过启动器运行,与 AI 对战需先启动 server 并连接 localhostREADME 未说明具体硬件要求;需安装 Java 8 或更高版本,支持 Windows、Linux、MacOS,可在树莓派等非标准硬件上运行(见 FAQ 链接)。
万智牌完整规则引擎,支持三万两千张卡牌,可联机或离线对战 AI 与好友
用 Java 实现的万智牌(Magic: The Gathering)开源游戏引擎,支持单人对战 AI 对手和联机对战,可自由组牌、模拟完整对局规则。
核心能力
- 服务端强制执行全部规则并隐藏信息,客户端无法作弊
- 内置约 9000 个单元测试,覆盖率约 80%
- 支持双人对决及最多 10 人的指挥官等多人对局
- 提供快速 AI 对手,可用于对局与轮抽组牌
- 支持轮抽、瑞士轮或淘汰制赛事,最多 16 人
容易踩的坑
- xmage_1.4.63V1最新正式版2026-10-31 · 2026-10-31 09:47 UTC
Improved drafts and AI, images download, animations and 268 new cards like Star Trek
New release introduces improved drafts with pick suggestions and better AI, better images download and card animations. It also contains 268 new cards from Star Trek and other sets and includes over 200 fixes in existing cards and abilities.
Thank you for supporting the project and the server! Your support makes updates like this possible.
💪 Here are some awesome stats from the previous update with the network rework:
😍 Official server, install instructions, files to download and project support 😍 https://xmage.today/
Full release notes: https://github.com/magefree/mage/wiki/Release-1.4.63#release-1463v1-2026-10-31
- xmage_1.4.62V12026-10-03 · 2026-10-03 20:56 UTC
查看更新说明
Welcome to Async World with reworked and fast network, 422 new cards, prepared and rulebreakers
One of the most important updates in recent years 💪 With the reworked network and client-server logic, XMage now works in a truly async mode. No more dependence on slow or fast connections, no more laggy opponents ruining the game. Players from every corner of the earth are welcome 🤜🤛
New release contains network rework for faster and stable games and drafts, 422 new cards from FRA and other new and old sets including 46 cards with prepared mechanics and 3 cards with rulebreakers. It also contains over 100 fixes in existing cards and abilities.
😍 Official server, install instructions, files to download and project support 😍 https://xmage.today/
Full release notes: https://github.com/magefree/mage/wiki/Release-1.4.62#release-1462v1-2026-10-03
- xmage_1.4.61V12026-08-12 · 2026-08-12 12:39 UTC
查看更新说明
Improved AI, images, and ~400 new cards from Marvel, Star Trek and Hobbit
New release contains improved AI with modal spells support, scryfall images download fix, and many hot-fixes for some newly added cards. Also it includes 377 new cards from MSH, MSC, TRK, TRC, HOB, HOC and others.
😍 Official server, install instructions and files to download: https://xmage.today/
Full release notes: https://github.com/magefree/mage/wiki/Release-1.4.61#release-1461v1-2026-08-12
- xmage_1.4.60V32026-07-11 · 2026-07-11 16:12 UTC
查看更新说明
Hot-fixes to many cards, abilities and choose dialogs
New release contains dozens of card and ability fixes, including copies, casts and dfc. It also improved GUI selection and auto-selection in some use cases, better game logs and many more.
Install instructions and files to download: https://xmage.today/
Full release notes: https://github.com/magefree/mage/wiki/Release-1.4.60#release-1460v3-2026-07-11
- xmage_1.4.60V22026-06-28 · 2026-06-28 13:25 UTC
查看更新说明
Hot-fixes and 39 new cards from Marver's sets
New release contains improved game error dialog and hot-fixes for some newly added cards. Also it includes 39 new cards from MSH and MSC.
Install instructions and files to download: https://xmage.today/
Full release notes: https://github.com/magefree/mage/wiki/Release-1.4.60#release-1460v2-2026-06-28
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
XMage — Magic, Another Game Engine
XMage is a full rules-enforcement engine for playing Magic against other players or computer AI, online or on your own server. It supports over 32 000 unique cards and more than 91 000 reprints across official sets, plus custom sets like Star Wars.
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 — including fully offline, with no internet connection required.
XMage community and resources:
- Official XMage support and feature request on github;
- Reddit XMage group;
- Reddit XMage discord channel;
- Latest news;
- Latest releases;
- Project documentation.
Official public server with released version:
Other servers and status:
- https://xmage.today/servers/ (temporarily out of service)
Features
- The most tested open-source rules enforcement engine: ~9000 unit tests, ~80% coverage;
- Cross-platform support: Windows, Linux, MacOS;
- Two-player duels or multiplayer games (Commander and others) with up to 10 players;
- Drafts, tournaments and single games with sideboarding supported;
- Smart and fast AI opponents for both games and draft/deck-building;
- Cheat-proof by design: all rules and hidden information are enforced server-side — clients never see or act on data they're not authorized to;
- Deck editor (support deck import from multiple apps and services);
- Players rating system (Glicko);
- Supports dozens of formats and game modes like Commander, 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;
Bug report / feature request
The best way to report bug or feature request is github's issues page.
Installation / running
- Download files and follow install instructions on https://xmage.today/
- You need to have Java version 8 or later to run launcher;
- Recommended folder to unpack/install:
D:\games\xmage(don't use Program Files or Download folders); - If you want to play with AI opponents then must run "server" app via the launcher and connect to it via localhost;
Wiki page contains detailed information about private or public server setup, developer onboarding and other useful things
Troubleshooting / FAQ
Github issues page contain popular problems and fixes:
- Any: program freezes on startup (white/blue/black screen);
- Any: can't download images or it stops after some time;
- Any: can't run client, could not open ...jvm.cfg;
- Any: no texts or small buttons in launcher;
- Windows: ugly cards, buttons or other GUI drawing artifacts;
- Windows: pixilated images, icons and texts;
- MacOS: can't open launcher;
- MacOS: can't run on M1/M2;
- MacOS: client freezes in GUI (on connect dialog, on new match);
- Linux: run on non-standard OS or hardware like Raspberry Pi;
- Linux: ugly GUI and drawing artifacts;
Performance tweaks
The main way to increase performance or fix micro-freezes -- increase max memory usage by special java flag:
- Run launcher -> Settings -> Java tab -> Client java options text field;
- Add or change existing flag to
-Xmx3000mor another value based on your free memory stats (recommended settings: 2000m for 1080p desktop, 3000m for 4k desktop). It's useless to give 5+ GB memory; - If you play many AI games then it's recommended to change Server java options with same value too;
Development
Full project documentation and instructions for developers can be found in wiki pages.
First steps for XMage's developers: