Menu

Tree [492d27] master /
 History

HTTPS access


File Date Author Commit
 .gitignore 2014-04-27 kjoppy kjoppy [492d27] Initial commit
 TODO.txt 2014-04-27 kjoppy kjoppy [492d27] Initial commit
 cards.py 2014-04-27 kjoppy kjoppy [492d27] Initial commit
 cockatrice.py 2014-04-27 kjoppy kjoppy [492d27] Initial commit
 constants.py 2014-04-27 kjoppy kjoppy [492d27] Initial commit
 gui.py 2014-04-27 kjoppy kjoppy [492d27] Initial commit
 magicHack.py 2014-04-27 kjoppy kjoppy [492d27] Initial commit
 mtgs.py 2014-04-27 kjoppy kjoppy [492d27] Initial commit
 mws.py 2014-04-27 kjoppy kjoppy [492d27] Initial commit
 readme-frontPage.txt 2014-04-27 kjoppy kjoppy [492d27] Initial commit
 readme.txt 2014-04-27 kjoppy kjoppy [492d27] Initial commit
 setup.py 2014-04-27 kjoppy kjoppy [492d27] Initial commit
 util.py 2014-04-27 kjoppy kjoppy [492d27] Initial commit

Read Me

magicHack by Kjoppy

To install for use with python (developers or Mac/Linux users)

1. Install python 2.6
2. Install PyQt
3. Unzip into directory of your choice.
4. Invoke magicHack.py. You can probably just double click on it and your system will know to use python to run it.

To install on Windows

1. Download the zip archive.
2. Unzip to location of your choice.
3. Double click on magicHack.exe

To use

1. Export your custom cards from MSE

 a. In MSE, open your set and click File->Export and choose Magic
    Workstation format.
 b. In MSE with your set open click File->Export and choose "all
    card images"

2. Use magicHack to port your cards to Cockatrice

 a. Double click on magicHack.py. Two windows should appear. One is the
    user interface, while the other console window is for messages output
    by the program.
 b. Click on the "Custom Set" button. Browse to the file you exported
    from MSE (in MWS format!), select it, and click OK.
 c. Bind images to the cards
  i. To use images on your local file system make sure the "internet"
     box is not checked and click the Images button. Browse to the folder
     in which you exported your card renders and click OK.
 ii. To use images from a website, ensure the "internet" box is checked
     and then simply type the url of the image containing directory into
     the images box, eg. http://mysite.com
 d. Click the Cockatrice button. Browse to the directory in which your
    local Cockatrice database is stored. This will already have a guess
    which will probably be correct in Windows 7. In Windows XP this
    should probably be set to C:\Program Files\Cockatrice. In Mac/Linux
    I don't know what the default should be so just browse to wherever
    you installed Cockatrice.
 e. Click the "Set Code" button and provide a set code for your custom
    set. Set codes are usually two or three letters, like "MS" for
    "My Set".

3. Now click the "export" button. If there are any problems you should
   see an error message in the console window. If this happens just make
   a ticket on the sourceforge page (click "Tickets" and then "Create
   Ticket"). When you do this, please first make a minimal set that (ie.
   one card) that reproduces your error, and post along with the ticket:
 a. The MSE file for the set
 b. The MWS text file that MSE generated
 c. The image file for the card
 d. What country your operating system thinks it's in. Yes, this matters.
   If you do those things I will probably be able to fix the bug :)

---You can also use the python modules directly for extra functionality.---