Can not get this thing to work!

Do you need help installing or using ZunTzu? Would you like to report a bug?

Moderators: Ichibrothers, Cambronne

Post Reply
stevecq
Posts: 10
Joined: 23 Feb 2008, 19:41

Can not get this thing to work!

Post by stevecq »

After a long time away I am trying to get this thing working. Enclosed are the xml file and the zts scenario file. This is my second game box attempt.
Any help is appreciated

Code: Select all

<?xml version="1.0" encoding="Windows-1252"?>
<game-box name="Island of Death"
          description="Invasion of Malta"
          copyright="Avalanche, 2009"
          startup-scenario="Basic.zts">
  <dice-hand type="D6">
    <dice count="3" color="ffffff" pips="000000" />
  </dice-hand>
  <map name="Iodmap" image-file="Mapiod.jpg" resolution="150 dpi" />
  <map name="Turnchart" image-file="Turnc.jpg" resolution="150 dpi" />
  <map name="Combat RT" image-file="Crt.jpg" resolution="150 dpi" />
  <map name="Artillery CRT" image-file="Artcrt.jpg" resolution="150 dpi" />
  <map name="TEC" image-file="Tecs.jpg" resolution="150 dpi" />
  <map name="Planning map" image-file="Planmap.jpg" resolution="150 dpi" />
  <map name="Drop Landing Charts" image-file="Dropl.jpg" resolution="150 dpi" />
  <counter-sheet name="Sheet-1" 
                 front-image-file="Counters1.jpg" front-resolution="300 dpi"
                 back-image-file="Counters-12.jpg" back-resolution="300 dpi">
    <counter-section rows="2" columns="10" 
           front-left="34" front-top="52" front-right="1534" front-bottom="352"
           back-left="1684" back-top="60" back-right="3182" back-bottom="358" />
    <counter-section rows="2" columns="10"
           front-left="34" front-top="392" front-right="1534" front-bottom="688"
           back-left="1688" back-top="400" back-right="3182" back-bottom="692" />
    <counter-section rows="2" columns="10" 
           front-left="34" front-top="730" front-right="1534" front-bottom="1030" 
           back-left="1682" back-top="730" back-right="3178" back-bottom="1030" />
    <counter-section rows="2" columns="10" 
           front-left="34" front-top="1070" front-right="1534" front-bottom="1366"
           back-left="1680" back-top="1070" back-right="3180" back-bottom="1368" />
    <counter-section rows="2" columns="10" 
           front-left="32" front-top="1408" front-right="1532" front-bottom="1706"
           back-left="1680" back-top="1408" back-right="3180" back-bottom="1706" />
    <counter-section rows="2" columns="10" 
           front-left="30" front-top="1744" front-right="1532" front-bottom="2042"
           back-left="1680" back-top="1744" back-right="3180" back-bottom="2048" />
    <counter-section rows="2" columns="10" 
           front-left="36" front-top="2086" front-right="1530" front-bottom="2384"
           back-left="1680" back-top="2086" back-right="3180" back-bottom="2390" />
    <counter-section rows="2" columns="10"
           front-left="1682" front-top="58" front-right="3180" front-bottom="356"
           back-left="38" back-top="48" back-right="1534" back-bottom="348" />
    <counter-section rows="2" columns="10"
           front-left="1682" front-top="400" front-right="3188" front-bottom="692"
           back-left="34" back-top="388" back-right="1534" back-bottom="686" />
    <counter-section rows="2" columns="10" 
           front-left="1682" front-top="736" front-right="3184" front-bottom="1028"
           back-left="32" back-top="736" back-right="1532" back-bottom="1030" />
    <counter-section rows="2" columns="10" 
           front-left="1682" front-top="1072" front-right="3180" front-bottom="1372"
           back-left="32" back-top="1070" back-right="1534" back-bottom="1364" />
    <counter-section rows="2" columns="10" 
           front-left="1682" front-top="1410" front-right="3180" front-bottom="1708"
           back-left="28" back-top="1410" back-right="1530" back-bottom="1704" />
    <counter-section rows="2" columns="10" 
           front-left="1682" front-top="1750" front-right="3180" front-bottom="2048"
           back-left="28" back-top="1750" back-right="1530" back-bottom="2042" />
    <counter-section rows="2" columns="10"
           front-left="1682" front-top="2090" front-right="3176" front-bottom="2388" 
           back-left="30" back-top="2087" back-right="1530" back-bottom="2382" />
  </counter-sheet>
  <counter-sheet name="Sheet-2" 
                 front-image-file="Counters2.jpg" front-resolution="300 dpi" 
                 back-image-file="Counters-22.jpg" back-resolution="300 dpi">
    <counter-section rows="2" columns="10"
           front-left="57" front-top="20" front-right="1556" front-bottom="324"
           back-left="52" back-top="28" back-right="1550" back-bottom="318" />
    <counter-section rows="2" columns="10"
           front-left="56" front-top="356" front-right="1552" front-bottom="662"
           back-left="54" back-top="369" back-right="1550" back-bottom="654" />
    <counter-section rows="2" columns="10"
           front-left="52" front-top="692" front-right="1548" front-bottom="998"
           back-left="54" back-top="702" back-right="1552" back-bottom="992" />
    <counter-section rows="2" columns="10"
           front-left="50" front-top="1028" front-right="1544" front-bottom="1332"
           back-left="54" back-top="1036" back-right="1554" back-bottom="1326" />
    <counter-section rows="2" columns="10" 
           front-left="46" front-top="1365" front-right="1540" front-bottom="1670" 
           back-left="57" back-top="1370" back-right="1554" back-bottom="1670" />
  </counter-sheet>
</game-box>

Code: Select all

<?xml version="1.0" encoding="windows-1252"?>
<game
 game-box="Island of Death"
 scenario-name="Campaign"
 scenario-description="Invasion of Malta" 
 scenario-copyright="Avalanche, 2009">
  <Layout board="Iodmap" />
  <Layout board="Turnchart" />
  <Layout board="Combat RT" />
  <Layout board="Artillery CRT" />
  <Layout board="TEC" />
  <Layout board="Planning map" />
  <Layout board="Drop Landing Charts" />
 </game>
Heath
101
Posts: 56
Joined: 24 Jul 2010, 19:40
Location: USA

Post by Heath »

Try adding the gamebox to ZunTzu's library. It will do a validation on your XML and list line numbers for any errors it finds.
User avatar
Bill Barrett
231
Posts: 351
Joined: 25 May 2008, 13:25

Post by Bill Barrett »

You need Layout boards for your counter sheets (Sheet-1 and Sheet-2) in your "Basic.zts" file...

Regards, Bill.
stevecq
Posts: 10
Joined: 23 Feb 2008, 19:41

Post by stevecq »

Bill,

Thanks, I left the lines out after my last edit. But I found the problem; layout should be 'layout" not 'Layout". Very temperamental with the syntax.

Thanks,

Steve
Post Reply