Error of type XmlException...???
Posted: 29 Mar 2009, 05:50
I've tried to create my first game-box with a game I designed. When I try to load up in ZunTzu I get the following error message:
I've tried a whole range of changes, and could get it to work with just the map. But when I add the counters I get the same error message.
Here is my game-box.xml file (Lujo.ztg):
And here is the scenario file (startup.zts):
Code: Select all
Error of type XmlException: Data at the root level is invalid: Line 1, position 1.
Here is my game-box.xml file (Lujo.ztg):
Code: Select all
<?xml version="1.0" encoding="windows-1252"?>
<game-box version="1.0"
name="Lujo"
description="China Village"
copyright="None"
startup-scenario="startup.zts"
icon="icon.bmp">
<map name="Carte" image-file="Carte.jpg" resolution="300 dpi" />
<counter-sheet name="Resources"
front-image-file="ResourceCards.jpg" front-resolution="150 dpi">
<counter-section rows="4" columns="5"
front-left="0" front-top="0" front-right="812" front-bottom="1032" />
</counter-sheet>
</game-box>
And here is the scenario file (startup.zts):
Code: Select all
<?xml version="1.0" encoding="Windows-1252"?>
<game
game-box="Lujo"
scenario-name="Startup"
scenario-description="Basic"
scenario-copyright="None">
<layout board="Carte" />
</game>