iMtG Server: Gathering

Gathering Forums => Ideas and Feedback => Topic started by: adventus on July 09, 2012, 09:04:15 PM

Title: Add Tokens to Database
Post by: adventus on July 09, 2012, 09:04:15 PM
Have you considered adding tokens to the database?  That would be nice...
Title: Re: Add Tokens to Database
Post by: Hays413 on July 09, 2012, 11:47:39 PM
I'm not sure, but the easiest way for Piotr to populate the database is to draw from Wizards' Gatherer. That being said, if the Gatherer doesn't have it. iMTG will not have it.
Title: Re: Add Tokens to Database
Post by: Ember_Primrose on May 03, 2016, 08:17:04 AM
If I compile a list of links, will add the "extra cards"into iMTG 2? As well as any other expansions that aren't in the app? If yes sjust tell me which format and I'll get cracking.
Title: Re: Add Tokens to Database
Post by: Piotr on May 03, 2016, 10:16:12 AM
Expansions, yes. Do you have Mac or PC? I use iMtG Editor for Mac OS X to manipulate our database.
Title: Re: Add Tokens to Database
Post by: Ember_Primrose on May 03, 2016, 11:19:18 AM
PC, as the Mac is way too expensive in RSA. (USD Price x 14.81). Is there any other way of contributing like an example then i can code it in Notepad ++ or Visual Studio or whatever?
Title: Re: Add Tokens to Database
Post by: Piotr on May 03, 2016, 12:57:05 PM
Of course. I understand you are familiar with CSV file format?
Title: Re: Add Tokens to Database
Post by: Ember_Primrose on May 03, 2016, 01:00:17 PM
Yes, but i need a example file with the correct headers and one example row, then i am golden.
Title: Re: Add Tokens to Database
Post by: Piotr on May 03, 2016, 01:04:53 PM
Ok, do you prefer example to be JSON or CSV?
Title: Re: Add Tokens to Database
Post by: Ember_Primrose on May 03, 2016, 01:08:48 PM
CSV, just remembered I can use excel to easily manipulate the file. As I said just need an 2 row example file, for referencing column names and formats of things, due to stuff like CardName, Card Name, Name, Card etc.
Title: Re: Add Tokens to Database
Post by: Piotr on May 03, 2016, 01:37:05 PM
Sure.

http://imtgapp.com/examples/imtg_card.csv
http://imtgapp.com/examples/imtg_cardprint.csv
http://imtgapp.com/examples/imtg_cardruling.csv
http://imtgapp.com/examples/imtg_expansions.csv
http://imtgapp.com/examples/imtg_type.csv
Title: Re: Add Tokens to Database
Post by: Ember_Primrose on May 03, 2016, 01:39:24 PM
will start to working on them tomorrow, as my isp is going on and off repeatedly
Couldn't wait, in cardruliing what is the last four digit used for in the date colomn? 1970-01-01 00:00:00 +0000
Title: Re: Add Tokens to Database
Post by: Ember_Primrose on May 03, 2016, 01:57:15 PM
How do I use the id field? I am not sure what they mean, are they the legal formats? Another thing is should I add tokens and planecards etc. as a cardset. I have checked through the iMTG forums and there are a few posts pointing out gatherer filters, as for oracle text i can search the oracle of wizards. And if it is a yes what abouttokens, what should I do with card rulings etc. PS don't mind giving me programming terms as I am doing a dergree in mobile app dev.
Title: Re: Add Tokens to Database
Post by: Piotr on May 03, 2016, 02:01:19 PM
Excellent, try to make these decisions yourself please?
Title: Re: Add Tokens to Database
Post by: Ember_Primrose on May 03, 2016, 02:10:47 PM
Okay, will report tomorrow with progress.
Title: Re: Add Tokens to Database
Post by: Piotr on May 03, 2016, 02:39:56 PM
I like your attitude  8)
Title: Re: Add Tokens to Database
Post by: Ember_Primrose on May 04, 2016, 04:01:42 AM
I'm stumped with a card field. Rarity. It ranges from 0 to 5. So you would think it would only go from 0 to 3. As 0 is common, 1 is uncommon, 2 is Rare and 3 is Mythical Rare. So what is 4 & 5? I wanted to figure out myself but when I looked up a rarity 5 card on the gatherer it showed up as rare. Then I saw the user ratings on the gatherer, so is it perhaps the ratings? You just clarify this for me. Thank you.
Nevermind, felt like an idiot when realizing I could use the app itself.
Title: Re: Add Tokens to Database
Post by: Ember_Primrose on May 04, 2016, 04:05:45 AM
And what is the part field? I assume its for double sided cards and such, but I'd rather make sure than screw up.
Title: Re: Add Tokens to Database
Post by: Ember_Primrose on May 04, 2016, 04:52:52 AM
Should I create a new expansion for the plane cards as  {Akroma's Vengeance} is listed as the first card, and the plane, Academy at Tolaria West is also listed as the first card?

EDIT: I am creating new expansions for the extra stuff, it set up to be like this: "original expansion name": "whatever the extrastuff is"

i am leaving the order, code 2 & 3 fields alone as I don't know what they are. I am also making a new block for the tokens so it doesn't clutter the original blocks. Lastly I am going to send the files in a zip back as I am send an Excel Book with different sheets representing each changed file, as well as the changed csv files them selves to allow you easy viewing of the changes, as well as custom versions of the plane die icons, CHAOS and the other one.
Title: Re: Add Tokens to Database
Post by: Ember_Primrose on May 04, 2016, 01:08:13 PM
I made icons for the two sides of the planar die. It not the best but it is a start. Tried my best to keep it different yet identifiable to the original mtg ones. They are attached to this post.
Title: Re: Add Tokens to Database
Post by: Piotr on May 05, 2016, 05:52:17 AM
Quote from: André Maartens on May 04, 2016, 04:05:45 AM
And what is the part field? I assume its for double sided cards and

silly flippable cards from Kamigawa too.