It is currently 23 Mar 2019, 08:21
   
Text Size

mox artifact in 8th render

by Nate and Snacko

Moderators: Snacko, CCGHQ Admins

mox artifact in 8th render

Postby nayozzz » 21 Dec 2018, 03:26

hi there, i used the setting of pre 8th render to false

all cards of LEB are rendered correctly, except the mox cards

the casting cost symbol 0 is fine, but on the left side is a black void...
i tried to switch the numbers 2 and 0 on the png files, and now the same problem presents on the mox cards only

the casting cost is fine, but using the 8th ed render on the LEB mox cards create a black spot next to the casting cost...

is there anyone to a solution to this bug ? same for 15th edition render... the pre8th edition render instead has no bug on the LEB mox cards

pre 8th render LEB
Image

8th render LEB
Image

no idea how to avoid the black spot on top right of card... looking for help :)

edit:

USG claw of gix, same problem artifact casting cost 0

Image

USG another artifact, this time with casting cost different from 0, and no problem

Image

edit2:

it isn't the .png symbol file who is broken, when the parser feeds a casting cost 0 to the card generator, it generates the black spot...
here i edited the card.csv and as casting cost 3 problem is fixed
while swapping 2.png with 0.png but leaving card info in card.csv intact creates the black spot

Image

edit3:
i found an improper fix: program wants to use images\symbol\shadowhalf.png for 0 casting cost, while shadow.png should be used
my solution was to copy the original shadowhalf.png somewhere safe, then clone shadow.png and rename the copy shadowhalf.png
nayozzz
 
Posts: 24
Joined: 25 Mar 2018, 19:32
Has thanked: 0 time
Been thanked: 3 times

Re: mox artifact in 8th render

Postby nayozzz » 21 Dec 2018, 05:53

found fix:

.\scripts\classes\renderers\Renderer.php

line 774, comment it

make: case (preg_match('/Half[WR]/', $symbol) ? true : false): $extention = 'half'; break;
into: //case (preg_match('/Half[WR]/', $symbol) ? true : false): $extention = 'half'; break;
nayozzz
 
Posts: 24
Joined: 25 Mar 2018, 19:32
Has thanked: 0 time
Been thanked: 3 times


Return to HQ Card Generator

Who is online

Users browsing this forum: No registered users and 0 guests


Who is online

In total there are 0 users online :: 0 registered, 0 hidden and 0 guests (based on users active over the past 10 minutes)
Most users ever online was 279 on 11 Jul 2013, 22:03

Users browsing this forum: No registered users and 0 guests

Login Form