I installed Sun Tzu because I realised that could be a great tool to make self published web games. I decided to make my own game from a scratch. I prepared it the way that is described in support. After launching a test game box (only with board and part of counters), info appeared:
"Error of type XmlException: Syntax for an XML
declaration is invalid. Line 1, Position 7."
My game box:
Code: Select all
<?xml encoding="windows-1252" ?>
<game-box
name="Staadt"
description="Game of medieval urban economy"
copyright="Old Skull, Wojciech Bularz"
startup-scenario="Opole.zts">
<map name="Opole" image-file="Staad plansza Zun Tzu.jpg" resolution="150 dpi" />
<counter-sheet name="Latyfundia"
front-image-file="Staad Zun Tzu latyfundia awers.jpg" front-resolution="150 dpi"
back-image-file="Staad Zun Tzu latyfundia rewers.jpg" back-resolution="150 dpi">
<counter-section rows="7" columns="4"
front-left="1" front-top="1" front-right="1799" front-bottom="5249"
back-left="1" back-top="1" back-right="1799" back-bottom="5249" />
</counter-sheet>
</game-box>
and my .zts file
Code: Select all
<?xml version="1.0" encoding="Windows-1252"?>
<game
game-box="Staadt"
scenario-name="Opole"
scenario-description="--"
scenario-copyright="Wojciech Bularz, Old Skull">
<layout board="Miasto" />
<layout board="Latyfundia" />
</game>
Thank you for any help.
If I missed any information, write - this is my first game box