HQ Card generator 8.x
by Nate and Snacko
Moderators: Snacko, CCGHQ Admins
Re: HQ Card generator 8.x
by telengard » 28 Feb 2011, 15:17
I followed the directions (readme.txt) in the misc/import directory:Snacko wrote:Ah I got it now why it wasn't working because the script expects that fields are comma separated and multiline and commas are encapsulated in quotation marks.
example:How did you get it that way ?
- Code: Select all
"Name";"Edition";"Version";"ID";"Color";"Cost";"Type";"Text";"Power";"Toughness";"Flavor";"Rarity";"Artist";"Number";"Mana";"MtgEncID";"Internal";"TypeIndex";"P/T"
"""Ach! Hans, Run!""";"UNH";"";"";"Gld";"2RRGG";"Enchantment";"At the beginning of your upkeep, you may say ôAch! Hans, run! Itĺs the . . .ö and name a creature card. If you do, search your library for the named card, put it into play, then shuffle your library. That creature has haste. Remove it from the game at end of turn.";"";"";"";"R";"Quinton Hoover";"116";"6";"";"<T2:B><EX:B><T15:B><T1:B>";"5";""
"_____";"UNH";"";"";"U";"1U";"Creature - Shapeshifter";"%1: This cardĺs name becomes the name of your choice. Play this ability anywhere, anytime.";"1";"1";"{1}: This cardĺs flavor text becomes the flavor text of your choice. (This ability doesnĺt work because itĺs flavor text, not rules text (but neither does this reminder text, so you figure it out).)";"U";"Ron Spears";"23";"2";"";"<T2:1><EX:1><T15:1><T1:1>";"3";"1/1"
"1996 World Champion";"WLD";"";"";"Gld";"WUBRG";"Legendary Creature";"Cannot be the targets of spells or effects.
World Champion has power and toughness equal to the life totals of target opponent.
%0: Discard your hand to search your library for 1996 World Champion and reveal it to all players. Shuffle your library and put 1996 World Champion on top of it. Use this ability only at the beginning of your upkeep, and only if 1996 World Champion is in your library.";"*";"*";"It takes great sacrifice to make it to the top.";"";"Christopher Rush";"";"5";"";"<T2:1><EX:1><T15:1><T1:1>";"3";"*/*"
Download GoblinHero's latest masterbase...
Rename Master.mwBase to: Master.cds
Run cdsExplorer.bat (not cdsExplorer.exe), click new, click open and choose the Master.cds.
Right click a cell, select all, right click a cell, save selection as, save as CSV.
Run mws2cards.bat with the CSV.
~telengard
Author of Dreamblade:
viewtopic.php?f=51&t=1215
viewtopic.php?f=51&t=1215
-

telengard - DEVELOPER
- Posts: 383
- Joined: 23 May 2009, 23:04
- Has thanked: 5 times
- Been thanked: 30 times
Re: HQ Card generator 8.x
by BaconCatBug » 28 Feb 2011, 15:44
-

BaconCatBug - Apprentice
- Posts: 253
- Joined: 17 Dec 2010, 12:13
- Has thanked: 6 times
- Been thanked: 41 times
Re: HQ Card generator 8.x
by TheGreyHavens » 12 Mar 2011, 02:22
Hi telengard,
Updated cards.csv based on goblin heroes masterbase (up to MBS) packed with working split/flip cards render scripts are available in this thread: http://www.slightlymagic.net/forum/viewtopic.php?f=30&t=4009&start=15
Have fun!
Updated cards.csv based on goblin heroes masterbase (up to MBS) packed with working split/flip cards render scripts are available in this thread: http://www.slightlymagic.net/forum/viewtopic.php?f=30&t=4009&start=15
Have fun!
- TheGreyHavens
- Posts: 8
- Joined: 14 Mar 2009, 15:30
- Has thanked: 0 time
- Been thanked: 0 time
Re: HQ Card generator 8.x
by telengard » 13 Mar 2011, 04:32
Awesome, thanks! Trying it out right now.TheGreyHavens wrote:Hi telengard,
Updated cards.csv based on goblin heroes masterbase (up to MBS) packed with working split/flip cards render scripts are available in this thread: http://www.slightlymagic.net/forum/viewtopic.php?f=30&t=4009&start=15
Have fun!
~telengard
Author of Dreamblade:
viewtopic.php?f=51&t=1215
viewtopic.php?f=51&t=1215
-

telengard - DEVELOPER
- Posts: 383
- Joined: 23 May 2009, 23:04
- Has thanked: 5 times
- Been thanked: 30 times
Re: HQ Card generator 8.x
by Snacko » 25 May 2011, 14:31
Update to NPH
http://www.mediafire.com/file/1uqsb6u8t ... CardGen.7z
changes:
http://www.mediafire.com/file/1uqsb6u8t ... CardGen.7z
changes:
- import works with newest GH base
- updated English card text to NPH
- proper memory management (memory usage should be flat)
- phyrexia symbols and overlays (thanks to Gwar)
Re: HQ Card generator 8.x
by BaconCatBug » 25 May 2011, 17:33
Awesome work as always snacko. You are a really cool guy who doesn't afraid of anything!
[s]Edit: Stopgap NPH Expansion symbols all up in this grill![/s]
Edit 2: Also Karn
Edit 3: High Quality NPH Symbols up!
[s]Edit: Stopgap NPH Expansion symbols all up in this grill![/s]
Edit 2: Also Karn
Edit 3: High Quality NPH Symbols up!
- Attachments
-
New Phyrexia Symbols.zip- (137.13 KiB) Downloaded 556 times
-

BaconCatBug - Apprentice
- Posts: 253
- Joined: 17 Dec 2010, 12:13
- Has thanked: 6 times
- Been thanked: 41 times
Re: HQ Card generator 8.x
by HarryPitfall » 28 May 2011, 15:54
NPH update miss "Mirran WhiteRed" symbol, used in "Jor Kadeen, the Prevailer" card.
- HarryPitfall
- AI Programmer
- Posts: 175
- Joined: 31 May 2008, 00:14
- Has thanked: 1 time
- Been thanked: 3 times
Re: HQ Card generator 8.x
by Dohko85 » 05 Jul 2011, 22:33
Hi, I have problem with windows 7, file .bat is . sh???? Why??? How run? Thanks
- Dohko85
- Posts: 2
- Joined: 22 Apr 2010, 22:01
- Has thanked: 0 time
- Been thanked: 0 time
Re: HQ Card generator 8.x
by BaconCatBug » 06 Jul 2011, 01:32
You shouldn't have .sh at all.
.sh is a Bash Shell script, it's used almost exclusively on Unix style operating systems (including Linux and MacOS).
Windows 7 should just use the regular .bat files.
.sh is a Bash Shell script, it's used almost exclusively on Unix style operating systems (including Linux and MacOS).
Windows 7 should just use the regular .bat files.
-

BaconCatBug - Apprentice
- Posts: 253
- Joined: 17 Dec 2010, 12:13
- Has thanked: 6 times
- Been thanked: 41 times
Re: HQ Card generator 8.x
by BaconCatBug » 09 Jul 2011, 16:29
Hey snacko, sorry for the double post, but I was wondering if there was any way to fix the ending quote bug.
For example look at the 8th edition "Balance of Power" card: http://magiccards.info/scans/en/8e/62.jpg specifically the word Grave in the flavour text. As you can see, the ending double quote is slightly to the left, over the full stop. However, the proxygen doesn't do this.
Example of what I mean:

For example look at the 8th edition "Balance of Power" card: http://magiccards.info/scans/en/8e/62.jpg specifically the word Grave in the flavour text. As you can see, the ending double quote is slightly to the left, over the full stop. However, the proxygen doesn't do this.
Example of what I mean:

-

BaconCatBug - Apprentice
- Posts: 253
- Joined: 17 Dec 2010, 12:13
- Has thanked: 6 times
- Been thanked: 41 times
Re: HQ Card generator 8.x
by Snacko » 10 Jul 2011, 10:11
Different condensed font used.
All the spacing between characters is done by the TTF library which uses the font hints. You would need a condensed version of the font for it to look exactly like that. This means editing the font if you want it to look like that (check the space between v and e too).
All the spacing between characters is done by the TTF library which uses the font hints. You would need a condensed version of the font for it to look exactly like that. This means editing the font if you want it to look like that (check the space between v and e too).
Re: HQ Card generator 8.x
by BaconCatBug » 10 Jul 2011, 16:54
I see, so I just need to hack at the font.Snacko wrote:Different condensed font used.
All the spacing between characters is done by the TTF library which uses the font hints. You would need a condensed version of the font for it to look exactly like that. This means editing the font if you want it to look like that (check the space between v and e too).
Perfect!
-

BaconCatBug - Apprentice
- Posts: 253
- Joined: 17 Dec 2010, 12:13
- Has thanked: 6 times
- Been thanked: 41 times
Re: HQ Card generator 8.x
by Elefantsau » 20 Jul 2011, 14:55
Hey, i got a problem with the HQ generator.
whenever i want to create a proxy page via "generatePages.bat" by dropping my newly created decklist into the .bat window i get an error.
"Line 1: Card not found: Turntimber Ranger
Line 2: Card not found: Tuktuk Scrapper
..."
and so on... The generator doenst find any of my cards
At the end of there comes the "ERROR: Unable to parse decklist: C:/xxx/xxx/xxx/xxx.csv"
What have i done wrong?
Thanks for your help!
PS: Sorry for my bad english... im not native english speaking
whenever i want to create a proxy page via "generatePages.bat" by dropping my newly created decklist into the .bat window i get an error.
"Line 1: Card not found: Turntimber Ranger
Line 2: Card not found: Tuktuk Scrapper
..."
and so on... The generator doenst find any of my cards
At the end of there comes the "ERROR: Unable to parse decklist: C:/xxx/xxx/xxx/xxx.csv"
What have i done wrong?
Thanks for your help!
PS: Sorry for my bad english... im not native english speaking
- Elefantsau
- Posts: 16
- Joined: 20 Jul 2011, 14:46
- Has thanked: 0 time
- Been thanked: 0 time
Re: HQ Card generator 8.x
by BaconCatBug » 20 Jul 2011, 20:04
Most likely the Set code is incorrect or the file is malformed.
What are you using to make the decklist?
What are you using to make the decklist?
-

BaconCatBug - Apprentice
- Posts: 253
- Joined: 17 Dec 2010, 12:13
- Has thanked: 6 times
- Been thanked: 41 times
Who is online
Users browsing this forum: No registered users and 1 guest