I only wanted the rtr cards, so I downloaded that and copied it into the cards.xml file an all of that went smoothly, but when I open cockatrice the cards just aren't there? Any ideas?
Hey I am having some trouble with the spacing. I figured out that the cards were just an update and I manually added them to my complete cards.xml. However the cards have a "tab" length of space (maybe 10 spaces) before each name. This is minor when deckbuilding but when playing with the cards they space out the entire screen and is irreversible until quitting cockatrice. Have tried redoing the manual update and restarting cockatrice to no avail. Any advice? (Am on newest cockatrice build on mac OSX. Never had any issues before this).
I have followed all the basic steps (backup old file, delete add new file, run trice)
Since when running trice RTR didn't show up, i ran oracle and loaded up the new RTR included cards file and it does not show up on oracle. at all either.
A fairly recent update changed the location of the cards.xml file. Make sure that you're editing the one in your AppData (Windows) / Library (Mac). Oracle is not meant to parse this file, and it will not be able to do so successfully.
If someone would give me a place to start editing sets (I have an .xml editor but have no idea how to edit the sets) I could potentially create updated versions of the .xml files to help Arxanis when he is not available to edit sets/provide an automated system to edit sets. So far I've got the gist of how to formulate paths to the pictures, and how the table rows work, but I have no idea how to format the card files to match the original cockatrice database without scrupulously re-editing the automated patch downloads in full.
There shouldn't be much of an issue with XML formatting, other than removing unnecessary whitespace. It should handle random indentation fine.
So I rewrote the image scraper, and it now gets its images from that gallery — but only for that gallery. As a result, cards that are not yet in that gallery (like our dracogenius friend) are not present, even if they're available in the MTGS spoiler section.
On a related note, there may be a higher incidence of errors. If anyone happens to find one, please report it.
I uninstalled and deleted all of my cockatrice files and put the cards.xml in the proper place and now I have every set except m13. Does anyone know what to do?
If you delete/rename your cards.xml, can you still access cards?
arxanas, is it possible that when you upload the files you need to make sure they are 777? I know when I used to run a website it happened some times that the permissions weren't set correctly so that I could do/see some things but other people couldn't?
They're hosted on a file-sharing site, and you wouldn't be able to download them at all if the permissions were set wrong. 777 is bad practice, anyways: there's really no reason you need to give everyone permission to it.
Check your settings: the path to your cards.xml should be available as the path to your card database. It may be somewhere in AppData/Local or something.
My next theory is that it is caused by inconsistent spacing. It appears in the original file that tags are indent using spaces; however, I have been using tabs. In addition, I've been using Mac linebreaks as opposed to Windows linebreaks. While whitespace should not be an issue, it's worth a try:
I'm at a loss here, but there are some (hopefully informative) measures one can try.
First, acquire a functioning cards.xml file. (Presumably you had one, and if not, you can redownload one with the oracle tool.) Open it with your preferred text editor and add the following entry, using the tab character:
Secondly, find a card that already exists, but belongs to only one set. Edit its name and text to something noticeable. I chose Sturmgeist:
<card>
<name>Sturmgeist Test</name>
<set picURL="http://gatherer.wizards.com/Handlers/Image.ashx?multiverseid=246950&amp;type=card" picURLHq="" picURLSt="">ISD</set>
<color>U</color>
<manacost>3UU</manacost>
<type>Creature - Spirit</type>
<pt>*/*</pt>
<tablerow>2</tablerow>
<text>Test, Flying
Sturmgeist's power and toughness are each equal to the number of cards in your hand.
Whenever Sturmgeist deals combat damage to a player, draw a card.</text>
</card>
Save the file and restart Cockatrice. Try looking for the newly created card, as well as the edited card, and report the following:
Did the card appear?
Did the card have all the specified information?
When adding the card to a deck, does it appear in the appropriate card type area? (E.g. creatures in the creature section, as opposed to uncategorized or as a token.)
If anyone else is having these or similar issues, I ask that you post or message me, so that it can be ascertained whether this is a common problem or not.
EDIT1: Works with the Cockatrice 1.4 and contains Planechase 2 now. If you are still having problems, please leave a comment.
EDIT2: In the last spoiler, some numerical mana symbols may be numbers rather than pictures. I do not plan to fix this.
EDIT3: Any mods up for a sticky?
EDIT4: I've tried adjusting a few minor things, but they may or may not help those who can't view M13 at all.
FINAL EDIT: If you are still having problems, go here and follow the instructions. Thanks to faradan for providing this link.
Every thing is working for me but some cards are just not there... Killing Wave, Thundering Bolt and I bet some people will miss some more.
Also, some card-dealer websites have all card pics available... Do you think it will take long to get a complete patch?
Killing Wave is in my patch, and Thunderbolt is a reprint anyways. For clarification, I don't believe that reprints are in my patch.
Ensure you're editing the right cards.xml file.
Yep, this is an issue with the script. I have the patch on hand and I plan to push it to the server as soon as possible.
A fairly recent update changed the location of the cards.xml file. Make sure that you're editing the one in your AppData (Windows) / Library (Mac). Oracle is not meant to parse this file, and it will not be able to do so successfully.
There shouldn't be much of an issue with XML formatting, other than removing unnecessary whitespace. It should handle random indentation fine.
The file isn't complete, it's only the RTR cards.
So I rewrote the image scraper, and it now gets its images from that gallery — but only for that gallery. As a result, cards that are not yet in that gallery (like our dracogenius friend) are not present, even if they're available in the MTGS spoiler section.
On a related note, there may be a higher incidence of errors. If anyone happens to find one, please report it.
How to install
If you can download a 8MB file and you don't mind getting all sets (this is probably you):
[download page]
By the way, is there a fundamental difference between an "architect of thought" and a "mind sculptor"? Seriously, Wizards...
Does downloading the sets.xml file make a difference, or did it work without needing it?
If you delete/rename your cards.xml, can you still access cards?
The cards are in XML (tutorial), but you can mostly add them manually by copy/pasting previous cards.
They're hosted on a file-sharing site, and you wouldn't be able to download them at all if the permissions were set wrong. 777 is bad practice, anyways: there's really no reason you need to give everyone permission to it.
Check your settings: the path to your cards.xml should be available as the path to your card database. It may be somewhere in AppData/Local or something.
http://ge.tt/3UD29yJ?c
If all else fails, you could manually enter cards, if you were so inclined, although I hope it doesn't come to that.
EDIT: There have been some downloads of the above link. Can anyone report success with it?
First, acquire a functioning cards.xml file. (Presumably you had one, and if not, you can redownload one with the oracle tool.) Open it with your preferred text editor and add the following entry, using the tab character:
Secondly, find a card that already exists, but belongs to only one set. Edit its name and text to something noticeable. I chose Sturmgeist:
Save the file and restart Cockatrice. Try looking for the newly created card, as well as the edited card, and report the following:
If anyone else is having these or similar issues, I ask that you post or message me, so that it can be ascertained whether this is a common problem or not.
1) Installed Cockatrice.
2) Downloaded cards.xml
3) Moved cards.xml into place.
...and it worked. I am unable to recreate any issues regarding tokens or failure to instantiate the new cards.
EDIT2: In the last spoiler, some numerical mana symbols may be numbers rather than pictures. I do not plan to fix this.
EDIT3: Any mods up for a sticky?
EDIT4: I've tried adjusting a few minor things, but they may or may not help those who can't view M13 at all.
FINAL EDIT: If you are still having problems, go here and follow the instructions. Thanks to faradan for providing this link.
If you're having problems, try to explain it like in a bug report.
How to install
If you can download a 15MB file and you don't mind getting all sets (this is probably you):
[download page]
Killing Wave is in my patch, and Thunderbolt is a reprint anyways. For clarification, I don't believe that reprints are in my patch.