The double sided counters are 15 counters wide by 14 counters deep and occupy the top section of the jpg file. The single sided counters are 15 counters wide by 2 counters deep and occupy the bottom section of the jpg file. The game box file opens fine with just my new map and dice.
When I add the front and back jpeg files with the amended code, I get this error message.
Error of type NullReferenceException: Object reference not set to an instance of an object.
The code I have placed in the xml file file for the counters is this:-
Code: Select all
<?xml version="1.0" encoding="windows-1252" ?>
<game-box version="1.0"
name="Wavre (Deluxe)"
description="La Bataille de Wavre."
copyright="Steve Lampon with the kind permission of Clash of Arms"
startup-scenario="wavreTest.zts"
icon="icon.bmp">
<dice-hand type="D6">
<dice color="0000ff" pips="ffffff" />
<dice color="a00000" pips="ffffff" />
</dice-hand>
<map name="Carte" image-file="Carte.jpg" resolution="300 dpi" />
<map name="Activation" image-file="Activation.png" resolution="300 dpi" />
<counter-sheet name="Wavre units and markers"
front-image-file="wavre-counters-front.jpg" front-resolution="300 dpi"
back-image-file="wavre-counters-back.jpg" back-resolution="300 dpi">
<counter-section type="TwoSided" rows="14" columns="15"
front-left="0" front-top="0" front-right="750" front-bottom="700"
back-left="0" back-top="0" back-right="750" back-bottom="700" />
<counter-section type="FrontSideOnly" rows="2" columns="15"
front-left="0" front-top="700" front-right="750" front-bottom="800" />
</counter-sheet>
</game-box>
Thanks
Steve