tools for generating supported card list

This commit is contained in:
techdragon.nguyen@gmail.com
2010-12-27 09:22:52 +00:00
parent 6cf5212bab
commit 814993ac1c
5 changed files with 6840 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#!/bin/bash
####################################################
# adjust the values for mtg.txt and borderline.txt
# if your "Res" directory isn't in the default place
####################################################
####################################################
# Purpose: build an HTML list of all the supported
# cards in Wagic for use in the Miki.
# http://wololo.net/.
####################################################
grep '^name=' ../../bin/Res/sets/primitives/mtg.txt ../../bin/Res/sets/primitives/borderline.txt|sed s/name=// | sed s/.*txt:// |sort -iu > supportedCards.txt
perl createHTMLList_SupportedCards.pl < supportedCards.txt