_cards.dat is the database representing the cards of each set directory. This file can be created/edited with a standard text editor, and allows you to add your own cards to Wagic.
As long as they are simple, adding your cards does not require any special knowledge, in particular it doesn't require you to know anything about programming at all.
If you try to add your own cards but they don't work the way you expect them, it is generally not your fault, but the parsing engine that is very limited.
The instructions can be found at http://wololo.net/wagic/create-your-own-cards/ , but honestly the best way to code a card is to find another card that already does something similar, and try to mimic it.
Let's use this thread to discuss issues adding cards in _cards.dat.
_cards.dat
Re: _cards.dat
One important thing to note: you can get inspiration from the "official" sets, the ones that are included with WTH in the release.
If a card that seems doable to you is in the "todo.dat" rather than the "_card.dat" for one of these sets, this is usually a good sign that something is not doable for this card at the moment...
also, if a card that has special effects has no "auto" line in its _cards.dat description, this card is hardcoded and probably impossible to mimic (unless the effects of the card you are trying to do are the exact same effects as the one you are trying to copy, in that case you can use the alias keyword)
If a card that seems doable to you is in the "todo.dat" rather than the "_card.dat" for one of these sets, this is usually a good sign that something is not doable for this card at the moment...
also, if a card that has special effects has no "auto" line in its _cards.dat description, this card is hardcoded and probably impossible to mimic (unless the effects of the card you are trying to do are the exact same effects as the one you are trying to copy, in that case you can use the alias keyword)
Re: _cards.dat
This would explain things like the Hypnotic Spector/Mind Twist effects working properly but not hymn to Torach. I wasn't aware some cards were hardcoded ;Pwololo wrote:also, if a card that has special effects has no "auto" line in its _cards.dat description, this card is hardcoded and probably impossible to mimic (unless the effects of the card you are trying to do are the exact same effects as the one you are trying to copy, in that case you can use the alias keyword)
Re: _cards.dat
gen question guys about this todo.dat i downloaded this ODY set and it has todo.dat it has inside the cards that is not inside the card.dat what am i supposed to do with the todo.dat do i have to incorporate the codes from todo.dat to the card.dat file??please help...im a noob at this.
thanks so much in advance guys.
thanks so much in advance guys.
Re: _cards.dat
Odyssey is already included in Wagic 0.8.1, you don't need to redownload it.
The todo.dat file is used for card creators to keep track of what cards remain to be added to the game. Usually, when a card is in todo.dat, it mean this card cannot be added to Wagic for the time being.
Again, I am not sure why you would need to download the ODY set while it is already in the default release
The todo.dat file is used for card creators to keep track of what cards remain to be added to the game. Usually, when a card is in todo.dat, it mean this card cannot be added to Wagic for the time being.
Again, I am not sure why you would need to download the ODY set while it is already in the default release
Re: _cards.dat
thanks for answering my question.i just thought that there's going to be an update on the cards that are available for that set thats why i DL the ODY set from the forum..hehehe...the one's included in the version is good as it is..the one i DL is not updated.
thanks again for the help.
thanks again for the help.
Re: _cards.dat
I'm not seeing any todo.dat's for the officially supported sets, yet I'm pretty sure all of them are missing a fair number of cards. Is there a master todo.dat for the officially supported sets somewhere that I'm just not seeing?
Re: _cards.dat
The "todo.dat"s are not included in the latest Wagic release. But you can view them in SVN:
Look here, click on a set name in the left window, and click on the todo.dat in the right window.
Look here, click on a set name in the left window, and click on the todo.dat in the right window.
Re: _cards.dat
Hi. I'm not a programmer and I don't really know computers, but I'd like to help out. To my mind, I'm specifically looking to add some cards here and there based on what I've been seeing in the SVN (how the cards are worded). For the following cards I'm planning to add, I just need help on which cards I should reference for the logic ---
1. Darksteel Colossus -- am I right in assuming I should use the "Beacon" Cards for the "shuffle into library" effect?
2. Venser, Shaper Servant -- this is effectively just a "bounce" card, right?
3. Sower of Temptation -- can I use the "Confiscate" or "Control Magic" wording? Or the "Eternal Witness" wording with the target area as "battlefield".
4. Psychatog and Wild Mongrel -- these are just "pump" effects right? Can I use the "Vampire Hounds" wording?
5. Thoughtseize and Duress -- ???
6. Mana Leak, Force Spike, Spell Snare -- ???
7. Angel of Despair -- same as Sower, but with destroy effect?
8. Arcbound Ravager -- same as Nantuko Husk, but with permanent counters?
9. Goblin Piledriver and Goblin Ringleader --- ???
10. Urza lands --- ???
11. Wildfire and Plow Under -- ??? Can I use the wording of "Fallow Earth" on this? How do I spread it to two lands?
12. Careful Study -- Combining card draw wording and discard?
13. Man-lands (Blinkmoth Nexus, Mutavault, Treetop Village) -- Can I just adjust the "Living Plane" wording?
14. RAV Dual lands (Stomping Ground, Overgrown Tomb, Breeding Pool, etc...) -- Can I use the wordings on "Tropical Island, Taiga, Savannah, etc..."
Thanks in advance for the help.
1. Darksteel Colossus -- am I right in assuming I should use the "Beacon" Cards for the "shuffle into library" effect?
2. Venser, Shaper Servant -- this is effectively just a "bounce" card, right?
3. Sower of Temptation -- can I use the "Confiscate" or "Control Magic" wording? Or the "Eternal Witness" wording with the target area as "battlefield".
4. Psychatog and Wild Mongrel -- these are just "pump" effects right? Can I use the "Vampire Hounds" wording?
5. Thoughtseize and Duress -- ???
6. Mana Leak, Force Spike, Spell Snare -- ???
7. Angel of Despair -- same as Sower, but with destroy effect?
8. Arcbound Ravager -- same as Nantuko Husk, but with permanent counters?
9. Goblin Piledriver and Goblin Ringleader --- ???
10. Urza lands --- ???
11. Wildfire and Plow Under -- ??? Can I use the wording of "Fallow Earth" on this? How do I spread it to two lands?
12. Careful Study -- Combining card draw wording and discard?
13. Man-lands (Blinkmoth Nexus, Mutavault, Treetop Village) -- Can I just adjust the "Living Plane" wording?
14. RAV Dual lands (Stomping Ground, Overgrown Tomb, Breeding Pool, etc...) -- Can I use the wordings on "Tropical Island, Taiga, Savannah, etc..."
Thanks in advance for the help.
Re: _cards.dat
Just a hint, don't assume that all people know the exact effects of all 10,000 cards. You'll probably get more and better answers if you quote both cards' rules texts, and the Wagic card code of the card you want to reference. This way people who have experience with card code can spot problems or solutions. Right now, most people would need to do extensive searching on the Gatherer and in Wagic's _cards.dat files just to determine *if* they can actually help you. Describing any problems you expect more precisely than with "???" might also help. It never hurts to make it easy for others to help you.dvdira wrote:For the following cards I'm planning to add, I just need help on which cards I should reference for the logic