Difference between revisions of "Ideas/MTG:Library"

From Makers Local 256
Jump to: navigation, search
(New page: CD Box. acquired an old 6 cd changer. gutted it. ordered all the components, checked sizes to ensure they all fit in the case. need to investigate making a frame similar to the one used ...)
 
m (Hfuller moved page MTG:Library to Ideas/MTG:Library: cleanup)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
CD Box.
+
==Thoughts==
 +
Input:
 +
either text of XML
 +
if text, will consist of many lines. each line will be formatted like so:
 +
<card name> <number of cards>
  
acquired an old 6 cd changer.
+
if xml, will be more like
gutted it.
+
<cards>
ordered all the components, checked sizes to ensure they all fit in the case.
+
    <card name="card name" number=10 />
 +
</cards>
  
need to investigate making a frame similar to the one used in [[Loot]]. otherwise I have no idea how I shall mount all the components in the thing.
+
it will parse this input file, and combine the numbers for any duplicate entry of card name and output a new corrected file.
  
get an infrared receiver and remote hooked up and running.
+
once the input file is done being processed, it will access the gatherer, the online magic card database. it will look up all information for the card name, and store it in a new file. probably xml for now
  
now the really hard part. build the hardware to make all the buttons on the front work like they would have if it were a real cd changer.
+
<card name="card name" count=10 sets="1,2" type="" colors="" power=""
will have to design hardware, and probably write drivers for it. possibly write drivers that call windows api methods? or look up how all those media keyboards get access to the common stuff to make the volume, play/pause and whatnot work for everything.
+
  toughness="" cost="" oracle="" legality="">
 +
    <deck name=0 count=2 sideboard=0 />
 +
    <set number=0 name="" flavor="" rule="" picture="" artist="" rarity=0 />
 +
    <ruling date=""> </ruling>
 +
</card>
  
this is a project for dad, so windows will probably sadly be the OS it ends up running. that doesn't mean it has to be the only OS tested though...
+
it must acquire all this information from the gatherer, for each set the card existed in, and acquire at least the picture from the latest set. examples of information:
 +
 
 +
[http://ww2.wizards.com/gatherer/CardDetails.aspx?id=270 Serra Angel]
 +
 
 +
[http://ww2.wizards.com/gatherer/CardDetails.aspx?name=aluren Aluren]
 +
 
 +
the deck name and count are indicators of personal decks this card exists in, and how many are in that deck.
 +
 
 +
 
 +
==Requirements==
 +
this must be able to allow the user to edit their own personal decks, create new decks, and generate listing of any or all decks, and sideboards.  
 +
 
 +
listings must be able to be generated for all cards as well.  
 +
 
 +
display of picture shall be optional, acquirement of picture for each(any) set shall be optional.
 +
 
 +
listings must be sortable, and searchable by any field.
 +
 
 +
entire database must be easily transportable.
 +
 
 +
must be able to generate a printed checklist for any listing.
 +
 
 +
must be able to generate a printable view for any listing.
 +
 
 +
the generated input file must be saved.
 +
 
 +
 
 +
--[[User:Chazz|Chazz]] 01:09, 28 February 2007 (CST)
 +
 
 +
[[Category:Project idea]]

Latest revision as of 18:32, 22 January 2017

Thoughts

Input: either text of XML if text, will consist of many lines. each line will be formatted like so:

<card name> <number of cards>

if xml, will be more like

<cards>
   <card name="card name" number=10 />
</cards>

it will parse this input file, and combine the numbers for any duplicate entry of card name and output a new corrected file.

once the input file is done being processed, it will access the gatherer, the online magic card database. it will look up all information for the card name, and store it in a new file. probably xml for now

<card name="card name" count=10 sets="1,2" type="" colors="" power="" 
 toughness="" cost="" oracle="" legality="">
   <deck name=0 count=2 sideboard=0 />
   <set number=0 name="" flavor="" rule="" picture="" artist="" rarity=0 />
   <ruling date=""> </ruling>
</card>

it must acquire all this information from the gatherer, for each set the card existed in, and acquire at least the picture from the latest set. examples of information:

Serra Angel

Aluren

the deck name and count are indicators of personal decks this card exists in, and how many are in that deck.


Requirements

this must be able to allow the user to edit their own personal decks, create new decks, and generate listing of any or all decks, and sideboards.

listings must be able to be generated for all cards as well.

display of picture shall be optional, acquirement of picture for each(any) set shall be optional.

listings must be sortable, and searchable by any field.

entire database must be easily transportable.

must be able to generate a printed checklist for any listing.

must be able to generate a printable view for any listing.

the generated input file must be saved.


--Chazz 01:09, 28 February 2007 (CST)