Page 1 of 1

mox artifact in 8th render

PostPosted: 21 Dec 2018, 03:26
by nayozzz
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

Re: mox artifact in 8th render

PostPosted: 21 Dec 2018, 05:53
by nayozzz
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;