It is currently 23 Jun 2025, 19:51
   
Text Size

HQ Cardgen M15/8th/Pre8th/Tokens/Emblem (Updated 2018/01/29)

by Nate and Snacko

Moderators: Snacko, CCGHQ Admins

Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/13)

Postby GrovyleXShinyCelebi » 16 Jan 2016, 13:42

Also does anyone know how much disc space does generateAll consume after it's done? Just wanna make sure it doesn't take like 200GB.
User avatar
GrovyleXShinyCelebi
 
Posts: 294
Joined: 12 Jun 2013, 18:23
Has thanked: 14 times
Been thanked: 37 times

Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/13)

Postby ahkren » 16 Jan 2016, 17:20

generateAll looks to be around 17GB on disk
User avatar
ahkren
Programmer
 
Posts: 316
Joined: 18 Jan 2012, 20:43
Has thanked: 50 times
Been thanked: 201 times

Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/13)

Postby satsuki » 16 Jan 2016, 17:53

@GrovyleXShinyCelebi
27.1go in png format ^^ but i miss some crop/art files so maybe about 30/32go

@ahkren
I'm going to generate all again (i've finished most of my flavor file ^^)
Have you some news about le futuresight cards and non englsih tokens ?
Thanks


edit : by the way it seems than multicolor symbols are bigger than mono color one
am i doing something bad ?
Image

edit 2 : i've done a custom flavor.csv file but have a difficulty, if a card is more than one edition i need to put one line for each extension of the card, it's realy looooong process.
So is there any way to make an option like "if there is no flavor in choosen laguage for this card in this extension, then if a flavor exist in another extension then use it ^^"
satsuki
 
Posts: 107
Joined: 07 Oct 2012, 08:44
Has thanked: 1 time
Been thanked: 14 times

Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/13)

Postby ahkren » 17 Jan 2016, 05:30

In theory, non-English tokens should work with the last version. I've do have a fix that seems to work for futureshifted artist & copyright line. Doing a bit more testing on it, but it seems to be functioning.

As for the larger dual mana symbol, if you look at the original cards (or scans) the dual mana symbol is larger than the normal ones.
User avatar
ahkren
Programmer
 
Posts: 316
Joined: 18 Jan 2012, 20:43
Has thanked: 50 times
Been thanked: 201 times

Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/13)

Postby satsuki » 17 Jan 2016, 07:14

ok for the dual mana.
i've tried the token with the lastest version but have bugs on the non english symbols.

have you an idea for the flavor texts ?
i've tryed card.flavor.random = 1 but got alway the same resul, if a flavor doesn't exist for a specific extension in french, it's using english flavor and not a random french flavor from the same card name.
for exemple :
hop (i haven't the hop flavor in my flavor-french.csv)
Image
cmd (i have the cmd flavor in my flavor-french.csv)
Image

i thought that the option card.flavor.random = 1 would have used the cmd flovor as tere is no flovor for the cmd card.

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

Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/13)

Postby TheRealMaN » 17 Jan 2016, 08:52

Is there any way to change the image quality (size or dpi) of generated pages like you can set the size of a single card in the config.txt? Now it generates a page with 3x3 cards with size 2501px X 3443px 72 dpi?
TheRealMaN
 
Posts: 10
Joined: 23 Oct 2013, 05:07
Has thanked: 76 times
Been thanked: 0 time

Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/13)

Postby satsuki » 17 Jan 2016, 10:25

With more testing he function "card.flavor.random = 1" works but it's choosing in the english flavor and the french flavor, i think it's a bug in the function, it must choose in the french flavor only (and display englsih flavor only if the card as no french flavor at all in any extension)

I realy miss that function
Thanks


Ok i found the bug.
Don't know why but the following line in carddb.php was disabled:
if (!$config['output.english.flavor.text']) $card->flavor = @$row[4];
Is there any bug if i reactivate it ?

seem to works but if there's not french flavor it doesn't output english flavor ^^'
satsuki
 
Posts: 107
Joined: 07 Oct 2012, 08:44
Has thanked: 1 time
Been thanked: 14 times

Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/13)

Postby ahkren » 17 Jan 2016, 19:19

@TheRealMan no, there is no way to directly change the DPI in php. Pre8th and 8th frames render at the size of 315dpi and M15 frames render at the size of 300dpi. You'll need an image program to open the file and change the dpi.

@satsuki card.flavor.random checks after the language files have overwritten the english versions, so without a flavor text for a particular set, there is nothing to overwrite and the english version remains within the random selection.
The CardDB.php line 322 "//if (!$config['output.english.flavor.text']) $card->flavor = @$row[4];" is deprecated from when the flavor text was in the main language file and not a separate file. Since there will be nothing in $row[4] for that function to read, it will blank the flavor field if there is no language flavor. Not the best way of going about it.
I'm still looking into a function that will do it, but it's not a small request and will take some time.
User avatar
ahkren
Programmer
 
Posts: 316
Joined: 18 Jan 2012, 20:43
Has thanked: 50 times
Been thanked: 201 times

Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/13)

Postby satsuki » 17 Jan 2016, 20:00

ok no problem take your time ^^ (with this and unglued land and futuresight ... you have some works and i understand it can't be easy)

by the way i can't make token with non english symbols in them, it make the soft crash, any idea ? (you say it should works with 0.9.10)

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

Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/13)

Postby ahkren » 17 Jan 2016, 20:19

I thought I got all the symbols with the last update. What characters are you having problems with?
User avatar
ahkren
Programmer
 
Posts: 316
Joined: 18 Jan 2012, 20:43
Has thanked: 50 times
Been thanked: 201 times

Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/13)

Postby ahkren » 17 Jan 2016, 20:46

This is an album of the characters that I have rendered for 8th tokens. https://imgur.com/a/KDd6R
User avatar
ahkren
Programmer
 
Posts: 316
Joined: 18 Jan 2012, 20:43
Has thanked: 50 times
Been thanked: 201 times

Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/13)

Postby satsuki » 17 Jan 2016, 22:26

for exemple:
Spark Elemental [FUT]...*art not found*..
ERROR: Symbol image not found: ImgAcuteEL├®MENTALspaceD┬ÇÖ├®TINCELLES

in french it's:
Elémental d'étincelles,Créature : elémental,"Piétinement, célérité

So i think it's the "é" witch missing (in your album no lowercase accent aren't done ?)
satsuki
 
Posts: 107
Joined: 07 Oct 2012, 08:44
Has thanked: 1 time
Been thanked: 14 times

Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/13)

Postby ahkren » 18 Jan 2016, 00:20

All token text is in capital letters.

Here's what I have come up with. Need to come up with a way to shrink the title into the space available.
Spark Elemental Token.full.jpg


Second attempt, with scaled text.
Spark Elemental Token.full.jpg
User avatar
ahkren
Programmer
 
Posts: 316
Joined: 18 Jan 2012, 20:43
Has thanked: 50 times
Been thanked: 201 times

Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/13)

Postby satsuki » 18 Jan 2016, 08:32

So if all token title are in capital letters the generator miss a function like "if it is a token then convert the title in captital letters" because the "generate all.bat" doesn't seems to do it now so it's crashing (or am i doing something wrong ?).

your second attempt is almost perfect, only the accents characters are way to small, and the title underlay doesn't seems to adapt itself to the title width (but don't kown it you can do it) , here's a sample of a real token:
Image

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

Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/13)

Postby satsuki » 18 Jan 2016, 21:31

By the way i generated ogw card (englsih at this time) and the sybols other than common are not displayed
satsuki
 
Posts: 107
Joined: 07 Oct 2012, 08:44
Has thanked: 1 time
Been thanked: 14 times

PreviousNext

Return to HQ Card Generator

Who is online

Users browsing this forum: No registered users and 4 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 4 users online :: 0 registered, 0 hidden and 4 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 4 guests

Login Form