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)
by ahkren » 19 Jan 2016, 03:24
Rerendered the token font, here's what I have now.
@satsuki Curious. Are OGW_M.png, OGW_R.png, and OGW_U.png in "images/rarity"? If not it's possible that I rendered them after the last version. They are attached.
@satsuki Curious. Are OGW_M.png, OGW_R.png, and OGW_U.png in "images/rarity"? If not it's possible that I rendered them after the last version. They are attached.
-
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)
by satsuki » 19 Jan 2016, 09:18
The token font render is great in this version ! Only the title underlay to autosize left ^^ (if it's possible)
I've probably done a mistake for the rarity symbol because there's present in the original release archive
By the way how do you render the french tokens ? i alway got an error message (have you modded the scripts to convert the title to capital letters if it's a token ?)
Thanks for your works, it's realy great to have a constant update of the software !
I've probably done a mistake for the rarity symbol because there's present in the original release archive
By the way how do you render the french tokens ? i alway got an error message (have you modded the scripts to convert the title to capital letters if it's a token ?)
Thanks for your works, it's realy great to have a constant update of the software !
Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/19)
by ahkren » 19 Jan 2016, 10:23
New version (9.0.11) uploaded
-
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/19)
by satsuki » 19 Jan 2016, 20:01
thanks for the update.
have some issues with tokens.
if i use card.text.token.beveling = 1 then i alway got the error symbol image not found:
Metallic Sliver [FUT]...*art not found*..
ERROR: Symbol image not found: tokenfont/ï
I don't understand why i can't generate properly the accent characters (i can't reproduce your token)
The token title are not well centered in height (card.text.token.beveling = 1 or 0)


The text zone seems also a bit too width

have some issues with tokens.
if i use card.text.token.beveling = 1 then i alway got the error symbol image not found:
Metallic Sliver [FUT]...*art not found*..
ERROR: Symbol image not found: tokenfont/ï
I don't understand why i can't generate properly the accent characters (i can't reproduce your token)
The token title are not well centered in height (card.text.token.beveling = 1 or 0)


The text zone seems also a bit too width

Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/19)
by ahkren » 19 Jan 2016, 20:12
Only thing I can think of at the moment for the symbols is that your custom translation file is encoded in ANSI or something other than UTF-8 (some programs don't default to UTF-8 encoding)
I'll look into the centering.
If you attach your custom translation file I can take a look at it.
I'll look into the centering.
If you attach your custom translation file I can take a look at it.
-
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/19)
by satsuki » 19 Jan 2016, 21:57
My database is make with notepad++ in UTF-8 encoding
If i take the release out of box (and use french language as output) and use the generateAllTokens.bat (so with your database) i got the same error "ERROR: Symbol image not found: tokenfont/ï" but the title are well centerer with card.text.token.beveling = 0 (but not with card.text.token.beveling = 1)
thanks
edit: If you need it here's my database (not fully finalised-tested yet but no generation error with generate.all.bat if i use an empty token file) http://yatoshi.com/cards-french.7z
If i take the release out of box (and use french language as output) and use the generateAllTokens.bat (so with your database) i got the same error "ERROR: Symbol image not found: tokenfont/ï" but the title are well centerer with card.text.token.beveling = 0 (but not with card.text.token.beveling = 1)
thanks
edit: If you need it here's my database (not fully finalised-tested yet but no generation error with generate.all.bat if i use an empty token file) http://yatoshi.com/cards-french.7z
Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/19)
by ahkren » 20 Jan 2016, 00:51
Do you know what character it was trying to render or at least what the title of the card was that it stopped on? (I really hate that php echos all characters as ANSI)
-
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/19)
by ahkren » 20 Jan 2016, 01:01
Forgot 2 frames for MGD
put in \images\m15\mgdpromo\cards
put in \images\m15\mgdpromo\cards
-
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/19)
by satsuki » 20 Jan 2016, 07:44
In fact it's working if i use a classic card list (for exemple 1,"Metallic Sliver") but don't if i use the generate all or generate all tokens bat files (it's bugging on ALL non english symbols with the generate all scripts)
I'm generating tokens by hand in a list txt file but found a bug with some emblem (with is not translated in my file at time):
Emblem: Dack Fayden [CNS]...*art not found*..
ERROR: Symbol image not found: Img:
or the same with
Emblem: Domri Rade
Emblem: Elspeth, Knight-Errant
Emblem: Elspeth, Sun's Champion
always the same error : "ERROR: Symbol image not found: Img:" (it seems it's planewalker name's emblem witch bugs)
thanks
edit:
i've generated all the token with a card list and the only bug i found are:
planeswalkers token name, i can't generate
the Sand Warrior Token witch generated with bug:

the pre-eight token generated as height token:

instead of:

I'm generating tokens by hand in a list txt file but found a bug with some emblem (with is not translated in my file at time):
Emblem: Dack Fayden [CNS]...*art not found*..
ERROR: Symbol image not found: Img:
or the same with
Emblem: Domri Rade
Emblem: Elspeth, Knight-Errant
Emblem: Elspeth, Sun's Champion
always the same error : "ERROR: Symbol image not found: Img:" (it seems it's planewalker name's emblem witch bugs)
thanks
edit:
i've generated all the token with a card list and the only bug i found are:
planeswalkers token name, i can't generate
the Sand Warrior Token witch generated with bug:

the pre-eight token generated as height token:

instead of:

Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/19)
by ahkren » 20 Jan 2016, 09:01
I've moved the emblems to their own file "emblems.csv" for the time being
I don't have a pre-8th token frame generated yet, it's on the list to find and create
Sand Warrior should be "Gld" instead of RGW in tokens.csv
I think I figured out the problem with the capitalization
I forgot to add
I don't have a pre-8th token frame generated yet, it's on the list to find and create
Sand Warrior should be "Gld" instead of RGW in tokens.csv
I think I figured out the problem with the capitalization
I forgot to add
- Code: Select all
mb_internal_encoding("UTF-8");
mb_regex_encoding("UTF-8");
- Code: Select all
require_once 'scripts/includes/newfunctions.php';
-
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/19)
by ahkren » 20 Jan 2016, 09:28
I missed the : image when rendering the new token font.
Add
in images/symbols/tokenfont
Add
- Code: Select all
$titleCharacters = str_replace(':', 'colon', $titleCharacters);
- Code: Select all
$titleCharacters = str_replace("’", 'apostrophe', $titleCharacters);
- colon.png (3.23 KiB) Viewed 5191 times
-
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/19)
by satsuki » 20 Jan 2016, 12:39
thanks, i'll test as soon as possible (not a home for some days)
here's preheight tokens frames : http://yatoshi.com/token.7z
here's preheight tokens frames : http://yatoshi.com/token.7z
Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/19)
by ahkren » 20 Jan 2016, 21:07
Thanks for the frames. I'll get those worked in.
-
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/19)
by satsuki » 22 Jan 2016, 13:53
I've done a full "generate all.bat"
I got only one bug witch stop the card generation with garruk relentess, it's "Gld" in cards.csv instead of "G"
I'm im cards verification now ^^ (looong process because of my custom csv) but foun a bug with generated emblems, the tittle size isn't width ajusted:

thanks
I got only one bug witch stop the card generation with garruk relentess, it's "Gld" in cards.csv instead of "G"
I'm im cards verification now ^^ (looong process because of my custom csv) but foun a bug with generated emblems, the tittle size isn't width ajusted:

thanks
Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/19)
by ahkren » 22 Jan 2016, 23:07
@satsuki I'll look into the Garruk thing
I'm looking into some way to either shrink the text or make the title on 2 lines (which 8th emblems are)
I'm also looking into a different way to doing the token translations. If you could take a look at the attached file and fix any translation errors, I would appreciate it.
I'm looking into some way to either shrink the text or make the title on 2 lines (which 8th emblems are)
I'm also looking into a different way to doing the token translations. If you could take a look at the attached file and fix any translation errors, I would appreciate it.
- Attachments
-
tokens-french.rar
- (7 KiB) Downloaded 386 times
Last edited by ahkren on 23 Jan 2016, 07:11, edited 1 time in total.
-
ahkren - Programmer
- Posts: 316
- Joined: 18 Jan 2012, 20:43
- Has thanked: 50 times
- Been thanked: 201 times
Who is online
Users browsing this forum: No registered users and 1 guest