It is currently 16 Jun 2019, 08:34
   
Text Size

HQ Card generator 8.x

by Nate and Snacko

Moderators: Snacko, CCGHQ Admins

Re: HQ Card generator 8.x

Postby skibulk » 22 Apr 2012, 14:55

The frames have been uploaded on MTG Salvation. See Gwar's thread for flip cards.
User avatar
skibulk
HQ Team Member
 
Posts: 991
Joined: 19 Jul 2010, 20:34
Location: Northeast USA
Has thanked: 379 times
Been thanked: 302 times

Re: HQ Card generator 8.x

Postby Nate » 04 Jun 2012, 02:29

Thanks for keeping this one alive too, Snacko! :) <3
Nate
DEVELOPER
 
Posts: 29
Joined: 26 Aug 2008, 19:13
Has thanked: 0 time
Been thanked: 1 time

Re: HQ Card generator 8.x

Postby deurk » 08 Sep 2012, 09:56

Hi,

Is this software up to date or should I use Proxygen based on it?

Thanks :)
deurk
 
Posts: 103
Joined: 01 Aug 2010, 06:23
Has thanked: 14 times
Been thanked: 8 times

Re: HQ Card generator 8.x

Postby Snacko » 11 Oct 2012, 15:58

Test packages updated up to RTR with new features and bugfixes:
most notable new renderes:
* transform cards normal and planeswalker
* miracle cards
* leveler cards
* eldrazi cards
* 4 ability planeswalkers
most notable features:
* center short single line legal text
* new font options glow (used for levelers) and alignRight (used for p/t on day cards)

installation notes:
download source https://github.com/Gilfar/cardgen/zipball/master
all image resources http://www.mediafire.com/download.php?rsv22h4b10s3bho
card database and minor folders
http://www.mediafire.com/download.php?od2zoo7mn4lo5hr
if you dont have php / fonts folders download these two
http://www.mediafire.com/download.php?uohzmdhmg02
http://www.mediafire.com/download.php?hqmmwzj1mhw

extract everything in the same folder
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 73 times

Re: HQ Card generator 8.x

Postby satsuki » 12 Oct 2012, 19:04

Thanks for this update, i'm going to use it to générate HQ french cards, but you doesn't include the updated french database.
Any way to extract the full french oracle database to use it in your great software easilly ?

Thanks again
satsuki
 
Posts: 107
Joined: 07 Oct 2012, 08:44
Has thanked: 1 time
Been thanked: 14 times

Re: HQ Card generator 8.x

Postby satsuki » 13 Oct 2012, 09:12

Hello.
I've extracted form a french website the french cards translation and have converted them to a csv translation file for HQ Card generator but on lots of cards i get this error message : "Error matching card data for card...."
If i look in the cards.csv, i found the same name for the original name.
So i think my csv is probably not formated correctly or have some type of corruption.

If you can help me.

thanks.

as a new user fo the forum i can't post full urls so the csv database is at yatoshi "dot" com "slash" cards-french.7z
satsuki
 
Posts: 107
Joined: 07 Oct 2012, 08:44
Has thanked: 1 time
Been thanked: 14 times

Re: HQ Card generator 8.x

Postby Snacko » 13 Oct 2012, 11:11

there is some corruption in the names

rathi Berserker -> Aerathi Berserker

need to use symbols instead of escaped sequences so:

R&amp;D's Secret Lair -> R&D's Secret Lair
&quot;Ach! Hans, Run!&quot; -> ""Ach! Hans, Run!""

wrong English name:
Indomptable Archangel -> Indomitable Archangel
Sashi, Daughter of Seshiro -> Sachi, Daughter of Seshiro
Kill Destroy -> Kill! Destroy! (and other UNG/UNH cards)

legal text error:
example: Fasting
"faim" needs to be ""faim"" as inside text to get quotes you need to double them

all the split cards nned to be changed from:
Boom // Bust -> Boom/Bust

the longest card name is truncuated in our databse so it has to match

Our Market Research Shows That Players Like Really Long Card Names So We Made This Card to Have the Absolute Longest Card Name Ever Elemental
->
Our Market Research Shows That Players Like Really Long Card Names So We Made th

All avatars need to be in the format of:
Ashnod -> Avatar: Ashnod

Planes: (dont have all planes in db atm so some may show as erros)
Truga Jungle the legal text ends in line 1 with ", you need to delete it

Tokens:
no tokens in db so these will error Dragon Welp, Beast, Elephant

Schemes:
no schemes in db yet, and there is no renderer to support them so these will error

Separators for split, flip, transform:
// -> -----
}———————{ Flip }———————{ -> -----

B.F.M. may error, I need to check and probably fix translating cards that special

Once you fix these the list of errors should go down to schemes, some planes, B.F.M..

I'll update the db to include schemes and newer planes so these errors should vanish soon.
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 73 times

Re: HQ Card generator 8.x

Postby satsuki » 13 Oct 2012, 12:37

thanks a lot, i'll looking for it as soon as i get home !
satsuki
 
Posts: 107
Joined: 07 Oct 2012, 08:44
Has thanked: 1 time
Been thanked: 14 times

Re: HQ Card generator 8.x

Postby satsuki » 13 Oct 2012, 15:12

Hello,
i tested your correction and have some errors fixed but i'm steel having lot of error i desn't understand.

for exemple:

the card database
Marsh Casualties,ZEN,B,Sorcery,,,U,{B}{B},"Kicker {3} #(You may pay an additional {3} as you cast this spell.)#
Creatures target player controls get -1/-1 until end of turn. If Marsh Casualties was kicked, those creatures get -2/-2 until end of turn instead.",,Scott Chou,101\249

my french database
Marsh Casualties,Victimes des marécages,Rituel,"Kick {3}.
Les créatures que le joueur ciblé contrôle gagnent -1/-1 jusqu'à la fin du tour. Si les Victimes des marécages ont été kickées, ces créatures gagnent -2/-2 jusqu'à la fin du tour à la place"

i don't understand there is the error, that's why i think about a struture error in my csv.

Thanks again
satsuki
 
Posts: 107
Joined: 07 Oct 2012, 08:44
Has thanked: 1 time
Been thanked: 14 times

Re: HQ Card generator 8.x

Postby Snacko » 13 Oct 2012, 15:17

This one looks correct, however they migth be corruption in the previous or nearby entries. Reupload the whole file again and I'll recheck it.
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 73 times

Re: HQ Card generator 8.x

Postby satsuki » 13 Oct 2012, 16:25

I have uploaded a micro csv file (same link as before) with just one card (the marsh casualties).

the cvs file is only:

/////////////////////////
Marsh Casualties,Victimes des marécages,Rituel,"Kick {3}
Les créatures que le joueur ciblé contrôle gagnent -1/-1 jusqu'à la fin du tour. Si les Victimes des marécages ont été kickées, ces créatures gagnent -2/-2 jusqu'à la fin du tour à la place"
////////////////////////////////////////////////

but i get always the same error, i miss something obvious, but what ?
satsuki
 
Posts: 107
Joined: 07 Oct 2012, 08:44
Has thanked: 1 time
Been thanked: 14 times

Re: HQ Card generator 8.x

Postby Snacko » 13 Oct 2012, 16:37

Do you mean
| Open
Loading french card flavor data............
Error matching card flavor for card: A Display of My Dark Power
Error matching card flavor for card: All in Good Time
Error matching card flavor for card: All Shall Smolder in My Wake
Error matching card flavor for card: Approach My Molten Realm
Error matching card flavor for card: Behold the Power of Destruction
Error matching card flavor for card: Choose Your Champion
Error matching card flavor for card: Embrace My Diabolical Vision
Error matching card flavor for card: Every Hope Shall Vanish
Error matching card flavor for card: Every Last Vestige Shall Rot
Error matching card flavor for card: Evil Comes to Fruition
Error matching card flavor for card: Feed the Machine
Error matching card flavor for card: I Delight in Your Convulsions
Error matching card flavor for card: Ignite the Cloneforge!
Error matching card flavor for card: Into the Earthen Maw
Error matching card flavor for card: Introductions Are in Order
Error matching card flavor for card: Know Naught but Fire
Error matching card flavor for card: Look Skyward and Despair
Error matching card flavor for card: May Civilization Collapse
Error matching card flavor for card: Mortal Flesh Is Weak
Error matching card flavor for card: My Genius Knows No Bounds
Error matching card flavor for card: My Wish Is Your Command
Error matching card flavor for card: Only Blood Ends Your Nightmares
Error matching card flavor for card: Realms Befitting My Majesty
Error matching card flavor for card: Roots of All Evil
Error matching card flavor for card: Rotted Ones, Lay Siege
Error matching card flavor for card: Surrender Your Thoughts
Error matching card flavor for card: The Dead Shall Serve
Error matching card flavor for card: The Iron Guardian Stirs
Error matching card flavor for card: The Pieces Are Coming Together
Error matching card flavor for card: Tooth, Claw, and Tail
Error matching card flavor for card: Which of You Burns Brightest?
Error matching card flavor for card: Your Fate Is Thrice Sealed
Error matching card flavor for card: Your Puny Minds Cannot Fathom
Error matching card flavor for card: Your Will Is Not Your Own

it just means that the English database doesn't have those schemes while the flavor french database has them
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 73 times

Re: HQ Card generator 8.x

Postby satsuki » 13 Oct 2012, 16:53

No, i mean :
"Error matching card data for card: Marsh Casualties"
I have about 2500 error like that when i try to generate all card
I don't use french flavor for now

Have you generated sucessfully the french card in the cvs i linked or do you have the same error as me ?
satsuki
 
Posts: 107
Joined: 07 Oct 2012, 08:44
Has thanked: 1 time
Been thanked: 14 times

Re: HQ Card generator 8.x

Postby satsuki » 13 Oct 2012, 17:41

I made a test with a notepad build csv

works:
black vise,test nom vf,test type vf,"test texte vf"

don't works:
marsh casualties,test nom vf,test type vf,"test texte vf"
Marsh Casualties,test nom vf,test type vf,"test texte vf"

so it seems that's only the name of the card witch bugs, but the name is exactly the same as in the cards.csv
satsuki
 
Posts: 107
Joined: 07 Oct 2012, 08:44
Has thanked: 1 time
Been thanked: 14 times

Re: HQ Card generator 8.x

Postby Snacko » 13 Oct 2012, 19:30

It works just fine here. As long as the name is the same as in cards.csv it should work.
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 73 times

PreviousNext

Return to HQ Card Generator

Who is online

Users browsing this forum: No registered users and 1 guest


Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 10 minutes)
Most users ever online was 287 on 31 Mar 2019, 04:11

Users browsing this forum: No registered users and 1 guest

Login Form