tools for generating supported card list
This commit is contained in:
15
projects/mtg/tools/miki/getSupportedCardNames.bash
Executable file
15
projects/mtg/tools/miki/getSupportedCardNames.bash
Executable 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
|
||||
Reference in New Issue
Block a user