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/30)
by ahkren » 12 Feb 2016, 17:37
generatePages is unfortunately not 100% at the moment, PreM15 cards are 736x1050 at 315dpi, M15 cards are 720x1020 at 300dpi. Generate pages doesn't generate M15 cards at the right size. Until I can unify the sizes, this is going to be an ongoing issue.
-
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/30)
by shelldell » 12 Feb 2016, 17:51
No problem, I will work around it for now.
Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/30)
by ahkren » 18 Feb 2016, 21:41
Sorry for the lack of updates, free time to work on this has been stretched a bit thin in the last few weeks. Hoping to have a new release by the end of the month though.
-
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/02/26)
by ahkren » 27 Feb 2016, 00:23
New version posted, now with Emblems!
-
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/02/26)
by shelldell » 09 Mar 2016, 02:36
Thanks for the update, ahkren, the 315 dpi standardization is a big improvement and the borders are all the same size now.
However, I'm not sure if this is quite the correct approach... when I print out a sheet of generated pre-M15 cards and M15+ cards, ignore border thickness, and just look at internal area next to real cards, the pre-M15 cards are ~1.8% larger. It sounds small but it's enough of a difference that I'll still generate and print them at different settings for now.
I think the difference is that real M15+ cards have a thinner border / slightly larger interior print area compared to pre-M15 cards (I can get exact measurements with calipers if that's helpful!), while cardgen outputs them all at the same size. Take care, and thanks again.
However, I'm not sure if this is quite the correct approach... when I print out a sheet of generated pre-M15 cards and M15+ cards, ignore border thickness, and just look at internal area next to real cards, the pre-M15 cards are ~1.8% larger. It sounds small but it's enough of a difference that I'll still generate and print them at different settings for now.
I think the difference is that real M15+ cards have a thinner border / slightly larger interior print area compared to pre-M15 cards (I can get exact measurements with calipers if that's helpful!), while cardgen outputs them all at the same size. Take care, and thanks again.
Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/02/26)
by ahkren » 31 Mar 2016, 20:07
I'll have an updated version posted by early/mid next week. Will have SOI in all it's glory.
-
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/02/26)
by ahkren » 06 Apr 2016, 23:37
Ran into a could of snags, should be done in a day or 2.
-
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/04/08)
by ahkren » 08 Apr 2016, 20:06
New version 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/04/08)
by Sunset » 12 Apr 2016, 06:31
Hey, been lurking for a while here, figured it was time for me to finally post. First off, thank you so so much for taking over this project.
So, the way I've been using this is to generate versions of every set containing original cards with M15-style frames and everything. I've been using this since 9.0.08, making changes to fix small errors as I see them, and porting those to new versions as I download them. Most of these are fixes to little things like missing/wrong watermarks, land frames, other weird frames, missing cards from the database, and the like. I also made a few changes to make the M15 renderer handle certain cards from older sets better (including ZEN full-art lands and PLC timeshifted cards, which crash on the current M15 renderer, and 3-ability planeswalkers which always use the 8ED renderer even when it's supposed to be disabled). I've also made some changes to make this baby work on Linux and written .mwDeck decklists for a bunch of the newer sets that aren't in the decks folder (and modified many of the existing ones to handle alternate art better). Anyway, I figure it's time I give back to the community, so when I download 9.0.14, I'm going to document the changes I've made from vanilla as I port them to 9.0.14 and list them here.
Anyway, let me know if my changes would be welcome, and I'll post them up here.
So, the way I've been using this is to generate versions of every set containing original cards with M15-style frames and everything. I've been using this since 9.0.08, making changes to fix small errors as I see them, and porting those to new versions as I download them. Most of these are fixes to little things like missing/wrong watermarks, land frames, other weird frames, missing cards from the database, and the like. I also made a few changes to make the M15 renderer handle certain cards from older sets better (including ZEN full-art lands and PLC timeshifted cards, which crash on the current M15 renderer, and 3-ability planeswalkers which always use the 8ED renderer even when it's supposed to be disabled). I've also made some changes to make this baby work on Linux and written .mwDeck decklists for a bunch of the newer sets that aren't in the decks folder (and modified many of the existing ones to handle alternate art better). Anyway, I figure it's time I give back to the community, so when I download 9.0.14, I'm going to document the changes I've made from vanilla as I port them to 9.0.14 and list them here.
Anyway, let me know if my changes would be welcome, and I'll post them up here.
Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/04/08)
by ahkren » 12 Apr 2016, 18:27
@Sunset, changes and help are most welcome and encouraged. PM me if you want access to the beta git so we can have changes working for everyone.
-
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/04/08)
by ahkren » 13 Apr 2016, 22:36
Updated cards.csv attached, fixes the bugs that cropped up in Planeswalker text.
- Attachments
-
- cards.rar
- (1.21 MiB) Downloaded 228 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/04/08)
by ahkren » 19 Apr 2016, 23:29
@shelldell I'll look into it, see what I can find.
-
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/04/08)
by ahkren » 20 Apr 2016, 00:18
The offset I put is causing that. ImageWriter.php line 505 & 506
- Code: Select all
$offsetX = -9;
$offsetY = -11;
- Code: Select all
//$offsetX = -9;
//$offsetY = -11;
-
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 25 guests