This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Magic: The Gathering collection

Tags: None
(comma "," separated)
tomaszg
Registered Member
Posts
1
Karma
0

Magic: The Gathering collection

Tue Mar 11, 2014 4:51 pm
Hi,

In free time I hacked a Magic: The Gathering collection together with a simple data source grabbing information from http://gatherer.wizards.com. It is rather ugly regexp job since the Gatherer doesn't support (as far as I know it) any web-api. So, it is sure to break in the future when they change the layout of their webpage (or even refactor their html).

Right now it supports searching the online database by card name, artist name and "multiverse id". It grabs all data I could think of (including card image) and stores it in collection. It should be expansions-aware. If you can't find a card by name, you can try to locate it on-line and add to collection using its Gatherer id (multiverse id).
You can also make decks using Tellico's loan feature.

Sample screenshot of a demo collection: http://tomaszg.pl/tellico-mtg/screenshot.jpg

Files:

http://tomaszg.pl/tellico-mtg/mtg-empty.tc <- empty collection "template"
http://tomaszg.pl/tellico-mtg/mtg <- datasource

You should rename datasource file to "mtg.pl" and add new datasource for "Custom Collection" configuring it like this:

Image

I didn't know how (or even if it's possible) to make arbitrary labels for search fields, so "arxiv id" denotes "multiverse id"
robbystephenson
KDE Developer
Posts
384
Karma
1
OS

Re: Magic: The Gathering collection

Wed Feb 11, 2015 10:45 pm
Nice!
User avatar
kde-tomaszg
Registered Member
Posts
1
Karma
0
OS

Re: Magic: The Gathering collection

Mon Sep 19, 2016 8:59 pm
I've put my current version of scripts on github: https://github.com/tomaszg7/tellico_stuff
There was a lot of changes in the mean time, like support for two-sided cards, melding cards and so on. I don't claim it is complete but it works for me. There is also a bunch of poorly documented helper scripts that print some stats and list missing cards.

I also added support to "Dice Masters" collectible game: http://wizkids.com/dicemasters/ However it requires an extra SQLite database file since I couldn't find reliable online source. I got the file from Android app "Transition zone" but due to licensing issues I don't think I can upload it. If anyone would be interested, I can try to contact author of the app and ask for permission.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]