当前位置: 首页 > 软件库 > 游戏/娱乐 > >

mage

Magic Another Game Engine
授权协议 MIT License
开发语言 Objective-C
所属分类 游戏/娱乐
软件类型 开源软件
地区 不详
投 递 者 端木乐语
操作系统 OS X
开源组织
适用人群 未知
 软件概览

XMage — Magic, Another Game Engine

Coverage

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 more than 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.

Local server supports a special test mode fortesting 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.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.

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 setto the desired location, for example -Dxmage.config.path=config/otherconfig.xml. The option can be set from theXMageLauncher 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 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:

  •   1. /**      * Retrieve config value for store by path      *      * @param string $path      * @param mixed $store      * @return mixed      */     public static function getStoreConfig($path, $stor

  • Fatal error: Mage_Core_Model_Session_Abstract::getMessages() [<a href='function.Mage-Core-Model-Session-Abstract-getMessages'>function.Mage-Core-Model-Session-Abstract-getMessages</a>]: The script tri

  • Mage_Core_Block_Abstract   /**  * Base Content Block class  *  * For block generation you must define Data source class, data source class method,  * parameters array and block template  *  * @categor

  • import numpy as np from math import * import sys import os import glob import argparse import cv2 as cv import keras import random from matplotlib import pyplot as plt def o

  • When I tried to export or import any profile, then I got a fatal error: Fatal error: Call to undefined method Mage_Adminhtml_Block_Abstract::getexceptions() in ……./app/code/core/Mage/Adminhtml/Block/S

  • 在Mage类中使用$_registry存储生成的对象,这样生成的对象在全局都可以访问。Mage::register函数有两种格式: public static function register($key, $value, $graceful = false) 注册一个新的变量 public static function registry($key) 通过$key获取已有变量 public st

  • Warning: require_once(lib/Mage/Autoload/Simple.php)... Fatal error: require_once() [function.require]: Failed opening required 'lib... 以上这两个错误看起来有点莫名其妙,直接解释是找不到对应的类,就算是刚刚开始安装的也可能出现这样的错误。实际上,有的空间解压或这上传

  • Magento 2 基础目录路径介绍 MAGE_DIRS 您能够指定使用的自定义基目录路径和基本URLURLs. 设置 MAGE_DIRS Magento/Framework/App/Filesystem/DirectoryList.php中指定一个关联数组,其中键是常量,值是目录或URL路径的绝对路径。 你可以用以下任何一种方式设置 MAGE_DIRS : 设置引导参数 使用自定义入口代码:

  • Fatal error: Cannot override final method Mage_Core_Model_Abstract::clearInstance() in app/code/core/Mage/Catalog/Model/Product.php on line 39 Mangeto报上面错误,很可能是apc配置问题。 找到apc.ini这个配置文件: find / -name a

  • QImage Mat2QImage(const Mat& mat) { // 8-bits unsigned, NO. OF CHANNELS=1 if(mat.type()==CV_8UC1) { cout<<"1"<<endl; // Set the color table (used to translate colour indexe

  • 转自:http://blog.csdn.net/zyh821351004/article/details/46646735 cv::Mat --> QImage --> QPixmap  图片的转换。 主要注意点是:cv::Mat --> QImage     :这两者内存管理机制不一样 QImage Widget::Mat2QImage(cv::Mat const& src) {

  • 这两天在工作中碰到一个问题,当登录会员账号的时候,提示Item (Mage_catalog_Model_Product) with the same id “###” already exist. 首先这是个异常,肯定是操作产品的过程中数据库有重复值。 我们找到抛出异常的代码段 文件:/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.

  • update MAGE a set a.ACE= (select a from text b where a.AC = b.AC) ERROR at line 2: ORA-01407: cannot update (“TEXT”.“MAGE”.“ACE”) to NULL 根据报错信息,ACE列并没有赋值为空,text表的a列完全是有值的,为什么会报赋了空值呢 原因就在于mage的表结构上,看一

  • 该文件为magento官方叫 ’Main Mage hub class’,翻译为中文叫’主要枢纽类’。重要性不言而喻。它是入口文件与系统其它服务交互的必经之地。 我们一行行分析代码。 首先定义了系统的DS、PS、BP。定义DS、PS是为了兼容WINDOW 和LINUX系统对目录分隔符和路径分隔符的不同表示方法。BP定义了系统的绝对路径。 接着获得inlcude_path,如果有编译开启了则把编译的

相关阅读

相关文章

相关问答

相关文档