Wagic Data Miner

All add-on programm and tools for wagic
Niegen
Posts: 200
Joined: Sun Jul 12, 2009 9:46 am

Wagic Data Miner

Post by Niegen »

I needed a tool to manage my collection and decks, and I started building one.

Here is a screenshot:

Image

It is now able to edit your collection.

Comments are welcome.

Download (Requires Dotnet Framework 2.0)

Place the .exe in the RES folder for better functionnality. Or browse to the Res folder with Menu>Select Working Directory.
The parser tab will report any problem with your installed sets. [W] are warnings (the card should still be fully usable), [E] are errors (you might experience problems with that card).
The Sets, Cards & Images allows you to browse the currently installed sets for cards.
The Collection tabs allows you to edit your collection.
Edit your collection, then save it with Menu>Save Collection. Warning, no backup is made currently.
  1. Load Installed Sets Done
  2. Parse Cards Done
  3. Report Errors & Warning Done, except auto= lines
  4. Check for card id collision Done
  5. Browse cards Done
  6. Preview card from Gatherer Done
  7. Load collection Done
  8. Manage collection Done
  9. Save collection Done
  10. Collection filters
  11. Collection tools (get 1x,2x,3x, 4x of each filtered cards and the like) Partially Done, can set every card to 4x but basic lands
  12. Audit card Image packs (report how many cards are missing for each set)
  13. Fetch missing Images from gatherer
  14. Crop/Resize Images from gatherer
  15. Zip Images (store)
Last edited by Niegen on Wed Nov 25, 2009 3:29 pm, edited 4 times in total.
abrasax
Posts: 976
Joined: Wed Oct 15, 2008 7:46 am
Location: Switzerland

Re: Wagic Data Miner

Post by abrasax »

Well,

The parser log is great to test set.. I already spotted a lot of mistake (e.g type=Legendary Creature).... also at least I know now where the "coulour" line were coming from... as the VC++ debugger does not tell you which set it comes from (and I was lazy to search).

Thanks for this tool, greatly appreciated. Hope it will evolve more.... could even be a kind of gatherer for wagic a certain point of time (let's dream...)...

Grü

Abra
We need your Help !!!
New to wagic ? Be sure to check the following :

Bug report: Bug reporting
Help us: Add cards & Compiling.
Customize: Themes FAQ, All images thread, Abra's Mediafire folder
wololo
Site Admin
Posts: 3728
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

Re: Wagic Data Miner

Post by wololo »

I don't think abilities need to be lowercase.
Not even subtypes.
I'd actually prefer to have correctly uppercased texts for easier readability.
For example:
Reach,Islandwalk
rather than
reach,islandwalk

The only rule with upercase afaik is that types (not subtypes) need to have their first letter uppercase
Niegen
Posts: 200
Joined: Sun Jul 12, 2009 9:46 am

Re: Wagic Data Miner

Post by Niegen »

I tried to build the parser as strict as possible, and thought lower case was standard for abilities. However, lines starting with [W] are simply warnings.
I intend to have the tool be able to save the fixed _cards.dat, hence the inactive save all button.
wololo
Site Admin
Posts: 3728
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

Re: Wagic Data Miner

Post by wololo »

I realize I forgot to say this looks very promising, by the way!
leungclj
Posts: 347
Joined: Sat Nov 01, 2008 3:21 pm
Location: Hong Kong

Re: Wagic Data Miner

Post by leungclj »

good job, no need for human spotting now (unless coded something not what the card described)! awesome, 3 thumbs up!
????????????????????????????????????????????????????
Niegen
Posts: 200
Joined: Sun Jul 12, 2009 9:46 am

Re: Wagic Data Miner

Post by Niegen »

Improved the card viewer, now displays all 3 graphics (original fetched from gatherer, cropped version, thumb version, zipped or not).

What's next:
  1. Check for card id collision
  2. Load collection
  3. Manage collection
  4. Save collection
  5. Collection filters
  6. Collection tools (get 1x,2x,3x, 4x of each filtered cards and the like)
  7. Audit card Image packs (report how many cards are missing for each set)
  8. Fetch missing Images from gatherer
  9. Crop/Resize Images from gatherer
  10. Zip Images (store)
Hopefully, this will eliminate the need to distribute image packs with _cards.dat files...

Edit:
Points 1-4 done, need a few bugfixes, will update later tonight.
Niegen
Posts: 200
Joined: Sun Jul 12, 2009 9:46 am

Re: Wagic Data Miner

Post by Niegen »

*bump*

There, updated!
stoker421
Posts: 6
Joined: Sun Nov 01, 2009 11:25 am

Re: Wagic Data Miner

Post by stoker421 »

this is a sweet program keep up the good work makes life a million time easyer so the parser is up to date and every thing it spits out about my card is right?
Niegen
Posts: 200
Joined: Sun Jul 12, 2009 9:46 am

Re: Wagic Data Miner

Post by Niegen »

The parser is quite basic,it checks for consistency, typos, and the like, but it won't parse auto lines. (It will only check that the line starts correctly, ie "auto=").

But for example, if you spelled a keyword wrong anywhere but in the auto-line, you will get a message stating so.
It also checks for card id collision, making sure that no 2 cards share the same id.

I confess that since I implemented the "save collection" feature, I did not put any more work in it, but that's more because I have been very busy than anything else. I'll get there.
Locked