It is currently 29 Apr 2024, 01:04
   
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/30)

Postby 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.
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/30)

Postby shelldell » 12 Feb 2016, 17:51

No problem, I will work around it for now.
shelldell
 
Posts: 8
Joined: 18 May 2015, 04:13
Has thanked: 11 times
Been thanked: 0 time

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

Postby 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.
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/02/26)

Postby ahkren » 27 Feb 2016, 00:23

New version posted, now with Emblems!
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/02/26)

Postby 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.
shelldell
 
Posts: 8
Joined: 18 May 2015, 04:13
Has thanked: 11 times
Been thanked: 0 time

Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/02/26)

Postby 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.
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/02/26)

Postby ahkren » 06 Apr 2016, 23:37

Ran into a could of snags, should be done in a day or 2.
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/04/08)

Postby ahkren » 08 Apr 2016, 20:06

New version uploaded.
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/04/08)

Postby 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.
Sunset
 
Posts: 1
Joined: 12 Apr 2016, 06:17
Has thanked: 1 time
Been thanked: 2 times

Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/04/08)

Postby 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.
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/04/08)

Postby 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
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/04/08)

Postby shelldell » 19 Apr 2016, 13:17

As always, thank you for the updates. The sizing of the pre vs post M15 cards looks great.

One bug report for 9.0.14: I'm getting an odd extra edge poking out on some M15 cards. Borders currently set to 5, no gap between cards.
page7.jpg
page4.jpg
shelldell
 
Posts: 8
Joined: 18 May 2015, 04:13
Has thanked: 11 times
Been thanked: 0 time

Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/04/08)

Postby ahkren » 19 Apr 2016, 23:29

@shelldell I'll look into it, see what I can find.
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/04/08)

Postby 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;
comment them out and they will move back to center but retain the same size.
Code: Select all
//$offsetX = -9;
//$offsetY = -11;
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/04/08)

Postby shelldell » 20 Apr 2016, 12:31

I don't see that at line 505/506 in 9.0.14:
ImageWriter1.png


But I did see those parameters at lines 440/441:
ImageWriter2.png


After commenting out those offset params on line 440/441 the output pages looked like this:
page4.jpg
page7.jpg
shelldell
 
Posts: 8
Joined: 18 May 2015, 04:13
Has thanked: 11 times
Been thanked: 0 time

PreviousNext

Return to HQ Card Generator

Who is online

Users browsing this forum: No registered users and 25 guests


Who is online

In total there are 25 users online :: 0 registered, 0 hidden and 25 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 25 guests

Login Form