Mask problem - ZunTzu freezes
Posted: 29 Jan 2014, 07:32
Hopefully someone can shed light on this problem I am having. I haven't seen anyone else post about a problem like this before. This is going to be a long post, so bare with me.
While testing a gamebox I was making, ZunTzu freezes while loading the graphics. No error message, or report. Just 'ZunTzu.exe has stopped working". When I add the file through the library it doesn't detect it as having any problems or errors.
Now the problem seems to come from a Mask file. If I remove the mask file code the gamebox works fine. The mask is the same exact dimensions as the countersheet. I tried remaking it, but still no luck. There is another mask file in the gamebox, made using the same methods and it works perfectly. In fact I have never come across this issue with any gamebox I have made before. Just this one file. I wouldn't bother using a mask for this if it weren't for some round counters that I would prefer to keep...well, round.
I am sure that it is probably something really simple I have overlooked. I'll post some of the xml code, though I don't believe any of it is wrong. Mostly just wondering if anyone else has had this sort of issue:
<counter-sheet name="orcs"
front-image-file="orcs.png" front-resolution="150 dpi"
front-mask-file="orcs-mask.png">
<counter-section rows="4" columns="3"
front-left="1" front-top="1" front-right="504" front-bottom="341"
supply="30"/>
<counter-section rows="3" columns="3"
front-left="545" front-top="1" front-right="803" front-bottom="506"
supply="30"/>
<counter-section rows="1" columns="1"
front-left="841" front-top="9" front-right="944" front-bottom="106"
supply="30"/>
<counter-section rows="1" columns="1"
front-left="955" front-top="8" front-right="1059" front-bottom="105"
supply="30"/>
<counter-section rows="1" columns="1"
front-left="1072" front-top="10" front-right="1172" front-bottom="104"
supply="30"/>
<counter-section rows="1" columns="1"
front-left="844" front-top="123" front-right="938" front-bottom="213"
supply="30"/>
<counter-section rows="1" columns="1"
front-left="956" front-top="124" front-right="1049" front-bottom="215"
supply="30"/>
<counter-section rows="1" columns="1"
front-left="840" front-top="256" front-right="886" front-bottom="301"
supply="30"/>
<counter-section rows="1" columns="1"
front-left="890" front-top="253" front-right="934" front-bottom="299"
supply="30"/>
<counter-section rows="1" columns="1"
front-left="937" front-top="249" front-right="990" front-bottom="303"
supply="30"/>
</counter-sheet>
I apologise now if the xml code for the counter cutting is a bit messy. Probably haven't laid out the counters in the most efficient manner.
While testing a gamebox I was making, ZunTzu freezes while loading the graphics. No error message, or report. Just 'ZunTzu.exe has stopped working". When I add the file through the library it doesn't detect it as having any problems or errors.
Now the problem seems to come from a Mask file. If I remove the mask file code the gamebox works fine. The mask is the same exact dimensions as the countersheet. I tried remaking it, but still no luck. There is another mask file in the gamebox, made using the same methods and it works perfectly. In fact I have never come across this issue with any gamebox I have made before. Just this one file. I wouldn't bother using a mask for this if it weren't for some round counters that I would prefer to keep...well, round.
I am sure that it is probably something really simple I have overlooked. I'll post some of the xml code, though I don't believe any of it is wrong. Mostly just wondering if anyone else has had this sort of issue:
<counter-sheet name="orcs"
front-image-file="orcs.png" front-resolution="150 dpi"
front-mask-file="orcs-mask.png">
<counter-section rows="4" columns="3"
front-left="1" front-top="1" front-right="504" front-bottom="341"
supply="30"/>
<counter-section rows="3" columns="3"
front-left="545" front-top="1" front-right="803" front-bottom="506"
supply="30"/>
<counter-section rows="1" columns="1"
front-left="841" front-top="9" front-right="944" front-bottom="106"
supply="30"/>
<counter-section rows="1" columns="1"
front-left="955" front-top="8" front-right="1059" front-bottom="105"
supply="30"/>
<counter-section rows="1" columns="1"
front-left="1072" front-top="10" front-right="1172" front-bottom="104"
supply="30"/>
<counter-section rows="1" columns="1"
front-left="844" front-top="123" front-right="938" front-bottom="213"
supply="30"/>
<counter-section rows="1" columns="1"
front-left="956" front-top="124" front-right="1049" front-bottom="215"
supply="30"/>
<counter-section rows="1" columns="1"
front-left="840" front-top="256" front-right="886" front-bottom="301"
supply="30"/>
<counter-section rows="1" columns="1"
front-left="890" front-top="253" front-right="934" front-bottom="299"
supply="30"/>
<counter-section rows="1" columns="1"
front-left="937" front-top="249" front-right="990" front-bottom="303"
supply="30"/>
</counter-sheet>
I apologise now if the xml code for the counter cutting is a bit messy. Probably haven't laid out the counters in the most efficient manner.