Forge Beta: 07-29-2011 ver 1.1.1
by mtgrares
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
22 posts
• Page 2 of 2 • 1, 2
Re: Forge Beta: 07-29-2011 ver 1.1.1
by Sloth » 31 Jul 2011, 15:12
There is no maintained list of cards, but you can look directly into the cardsfolder or the deck editor.gos wrote:Is there a possibility of getting a full list of all implemented cards with each release? I maintain a list myself, and use the new cards list for each release to add to it, but there is a mismatch at this point.
I'm comparing this list with a list of decks from the various columns on http://www.wizards.com to see which ones are forgeable...
Maybe the Python scripts can produce a list of cards as a side product?
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Forge Beta: 07-29-2011 ver 1.1.1
by Braids » 31 Jul 2011, 15:13
if you're running a unix os or cygwin, you can run the following commands:gos wrote:Is there a possibility of getting a full list of all implemented cards with each release? I maintain a list myself, and use the new cards list for each release to add to it, but there is a mismatch at this point.
I'm comparing this list with a list of decks from the various columns on http://www.wizards.com to see which ones are forgeable...
cd forge-home
cd res/cardsfolder
find . -name '*.txt' -print0 | xargs -0 grep '^Name:' | sed -e 's/^[^:]*:Name: *//g'
it takes a while to run.
"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something. 

-
Braids - Programmer
- Posts: 556
- Joined: 22 Jun 2011, 00:39
- Location: Unknown. Hobby: Driving myself and others to constructive madness.
- Has thanked: 1 time
- Been thanked: 1 time
Re: Forge Beta: 07-29-2011 ver 1.1.1
by friarsol » 31 Jul 2011, 15:13
gos,
If you have python installed you can use this script. Just drop it in your /res/ folder and run from there. I'm outputting as one Name per line but you should be able to tweak as necessary.
If you have python installed you can use this script. Just drop it in your /res/ folder and run from there. I'm outputting as one Name per line but you should be able to tweak as necessary.
- Code: Select all
#!/usr/bin/env python
import os,fnmatch
#get master card list and print to file fullCardList.log
folder = "cardsfolder"
err = open('fullCardList.log','w')
for root, dirnames, filenames in os.walk(folder):
for fileName in fnmatch.filter(filenames, '*.txt'):
if fileName.startswith('.'):
continue
# parse cardsfolder for Card
file = open(os.path.join(root, fileName))
line = file.readline().strip()
# Handle name
name = line.replace('Name:','')
err.write(name + '\n')
file.close()
err.close()
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Forge Beta: 07-29-2011 ver 1.1.1
by Chris H. » 31 Jul 2011, 15:27
`gos wrote:Is there a possibility of getting a full list of all implemented cards with each release? I maintain a list myself, and use the new cards list for each release to add to it, but there is a mismatch at this point.
I'm comparing this list with a list of decks from the various columns on http://www.wizards.com to see which ones are forgeable...
Go to the constructed mode deck editor. Highlight the first line. Scroll to the bottom and shift (?) click on the last entry. In essence you want to select each and every card. Do a copy to place all of this data onto your clipboard.
Paste the contents into a spreadsheet program set up to have enough rows for the number of cards included in forge. Select the column of card names and do a copy and you will have the data that you are looking for.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Forge Beta: 07-29-2011 ver 1.1.1
by gos » 31 Jul 2011, 16:18
Perfect. That'll do it for meChris H. wrote:`gos wrote:Is there a possibility of getting a full list of all implemented cards with each release? I maintain a list myself, and use the new cards list for each release to add to it, but there is a mismatch at this point.
I'm comparing this list with a list of decks from the various columns on http://www.wizards.com to see which ones are forgeable...
Go to the constructed mode deck editor. Highlight the first line. Scroll to the bottom and shift (?) click on the last entry. In essence you want to select each and every card. Do a copy to place all of this data onto your clipboard.
Paste the contents into a spreadsheet program set up to have enough rows for the number of cards included in forge. Select the column of card names and do a copy and you will have the data that you are looking for.

- gos
- Posts: 4369
- Joined: 03 Mar 2011, 15:21
- Location: Reykjavík, Iceland
- Has thanked: 231 times
- Been thanked: 232 times
Re: Forge Beta: 07-29-2011 ver 1.1.1
by Corwin72 » 15 Aug 2011, 12:39
Will there be a new beta soon?
-
Corwin72 - Posts: 793
- Joined: 15 Sep 2009, 13:26
- Location: Grayson, Ga
- Has thanked: 25 times
- Been thanked: 9 times
Re: Forge Beta: 07-29-2011 ver 1.1.1
by Chris H. » 15 Aug 2011, 13:17
`Corwin72 wrote:Will there be a new beta soon?
Hope to be ready of done on Friday.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
22 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: Google [Bot] and 47 guests