Error: "Data at the root level is invalid..."

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

Moderators: Ichibrothers, Cambronne, Chobham_1980

broadsword
Posts: 7
Joined: 12 Nov 2011, 03:15
Location: Bay Area, California, USA

Error: "Data at the root level is invalid..."

Post by broadsword »

After creating my gamebox, I launched ZunTzu and selected the .ztb file to add to my library. ZunTzu gave me the error message:

Error: Data at the root level is invalid. Line 1, position 1..

Can't see what I did wrong. Please help!
broadsword
Posts: 7
Joined: 12 Nov 2011, 03:15
Location: Bay Area, California, USA

Here are the game box and scenario files

Post by broadsword »

Here is my game box file:
--------------

Code: Select all

<?xml version="1.0" encoding="windows-1252" ?>
<game-box

name="PGBN - Scenario 3&#58; Operation Epsom, The First Day"

description="26 June 1944&#58; Gen. Bernard Law Montgomery's plans for Operation Epsom centered on the observation by Allied intelligence that the opposing SS formations held a very long front for their numbers. Montgomery hoped to drive through the thinly-held line manned by elements of the 12th SS Panzer Divison and across the Odon River beyond. As the sun slowly rose, the sons of Scotland formed up in the fields and made ready to move forward. Maps&#58; Use Maps 1 and 3. Game length&#58; 26 turns. First turn&#58; 0745. Other&#58; Units may not set up in or enter hexes numbered 24XX on either map. Two sets of PGBN counters are required to play this scenario."
copyright="2004 Avalanche Press"

startup-scenario="scen3_epsom_day_one.zts">

<dice-hand type="D6">
<dice count="2" color="ffffff" pips="000000" />
</dice-hand>
<dice-hand type="D6">
<dice color="ffffff" pips="000000" />
<dice color="ffffff" pips="000000" />
</dice-hand>

<dice-hand type="D6">
<dice count="1" color="ffffff" pips="000000" />
</dice-hand>
<dice-hand type="D6">
<dice color="ffffff" pips="000000" />
</dice-hand>

<map name="BN3" image-file="BN3_stitched_150dpi.jpg" resolution="150 dpi" />
<map name="BN1" image-file="BN1_stitched_150dpi.jpg" resolution="150 dpi" />

<counter-sheet name="PGBN Countersheet 1 Set 1"
front-image-file="PGBN_countersheet_1_final_set1_front.jpg" front-resolution="150 dpi"
back-image-file="PGBN_countersheet_1_final_set1_back.jpg" back-resolution="150 dpi">

<counter-section rows="2" columns="8"
front-left="74" front-top="54" front-right="1634" front-bottom="447"
back-left="1600" back-top="63" back-right="3149" back-bottom="454" />

&#91;...&#93;
-----------
Here is my scenario file:
---------

Code: Select all

<?xml version="1.0" encoding="Windows-1252"?>
<game
game-box="PGBN - Scenario 3&#58; Operation Epsom, The First Day"
scenario-name="scen3_epsom_day_one"
scenario-description="Epsom, 26 June 1944"
scenario-copyright="2004 Avalanche Press">
<layout board="BN3" />
<layout board="BN1" />
<layout board="PGBN Countersheet 1 Set 1" />
<layout board="PGBN Countersheet 1 Set 2" />
<layout board="PGBN Countersheet 2 Set 1" />
<layout board="PGBN Countersheet 2 Set 2" />
<layout board="PGBN Countersheet 3 Set 1" />
<layout board="PGBN Countersheet 3 Set 2" />
<layout board="PGBN Countersheet 4 Set 1" />
<layout board="PGBN Countersheet 4 Set 2" />
<layout board="PGBN Countersheet 5 Set 1" />
<layout board="PGBN Countersheet 5 Set 2" />
</game>
User avatar
Jerome
Site Admin
Posts: 965
Joined: 22 Jun 2006, 21:31
Location: France
Contact:

Re: Error: "Data at the root level is invalid..."

Post by Jerome »

broadsword wrote:Error: Data at the root level is invalid. Line 1, position 1..
Hi broadsword!
You probably saved your file as "Rich Text" using WordPad. Make sure you indicate "plain text", or use Notepad instead.
Jerome, ZunTzu developer.
broadsword
Posts: 7
Joined: 12 Nov 2011, 03:15
Location: Bay Area, California, USA

Saving in xml doesn't solve the problem

Post by broadsword »

Thank you, Jerome.

But even after I make sure to save the gamebox and scenario files in xml (doing "save as" all files and manually adding .xml as the file extension) and repacking/renaming the zip files, I still get the same error when trying to load the .gtb file into ZunTzu.

I'm complelely lost, after putting a lot of time into making this gamebox. Everything appears to be correct, so I don't know how to address this problem.

I made my xml files by cutting and pasting the text from your support tutorial. That wouldn't cause a problem, would it?
User avatar
Bill Barrett
231
Posts: 343
Joined: 25 May 2008, 13:25

Post by Bill Barrett »

Hi Broadsword,

If you post a link to your gamebox (or email it to me), I'll take a look at it...

Regards, Bill.
User avatar
Bill Barrett
231
Posts: 343
Joined: 25 May 2008, 13:25

Post by Bill Barrett »

Hi Broadsword,

I've had a look at it and the simple answer seems to be that your scenario (.zts) file is corrupt/unreadable.

Regards, Bill.
broadsword
Posts: 7
Joined: 12 Nov 2011, 03:15
Location: Bay Area, California, USA

Post by broadsword »

Bill Barrett wrote:Hi Broadsword,

I've had a look at it and the simple answer seems to be that your scenario (.zts) file is corrupt/unreadable.

Regards, Bill.
Thanks Bill, I changed the name of the game box in the scenario file to match the name of the game box in the .gtb file.

But... even after I checked, tweaked, and re-compressed the .zts file, I still get the same Line 1 error. ZunTzu also fails to locate my countersheets and images.

I'm stumped!
User avatar
Bill Barrett
231
Posts: 343
Joined: 25 May 2008, 13:25

Post by Bill Barrett »

No, your scenario file is gobbledygook when loaded into Windows Notepad - you need to get it into a clean text format. You also need to make sure that all references to counter sheets/images are EXACTLY the same in both the game-box.xml file and the scenarios (.zts) - even down to capitalization.

Regards, Bill.
broadsword
Posts: 7
Joined: 12 Nov 2011, 03:15
Location: Bay Area, California, USA

Another game box - but same error

Post by broadsword »

I must be a glutton for punishment...
Made a Zun Tzu game box for a game that has no digitized version yet, so I can play this monster without having to set it up physically.

I used Microsoft's XML Notepad this time, so I could write the files in real XML and not plain text. I tested my game-box and dummy scenario files by opening them in Internet Explorer, and I've finally gotten them to where they trigger no errors and look perfect to my eye.

Now there's only one error I get on attempting to add this game box to my library: The same dreaded "root level, line 1, position 1"

Here's my game-box.xml file:

Code: Select all

<?xml version="1.0" encoding="Windows-1252" ?> 
- <game-box name="DeathRideSalerno16Pz" description="Base game in the Death Ride Salerno series" copyright="Grognard Simulations Inc" startup-scenario="base.zts">
- <dice-hand type="D10">
  <dice count="1" color="FFFFFF" pips="000000" /> 
  </dice-hand>
- <dice-hand type="D6">
  <dice count="1" color="FFFFFF" pips="000000" /> 
  </dice-hand>
  <map name="Hexmap" image-file="map.jpg" resolution="150 dpi" /> 
  <map name="Casualty Track" image-file="casualty track.jpg" resolution="150 dpi" /> 
  <map name="Turn Record Track" image-file="turn record track.jpg" resolution="150 dpi" /> 
  <map name="Replacement and Patrol Track" image-file="replacement and patrol track.jpg" resolution="150 dpi" /> 
  <map name="Air Unit Tracks" image-file="air unit tracks.jpg" resolution="150 dpi" /> 
  <map name="German OB Chart" image-file="GE OB chart.jpg" resolution="150 dpi" /> 
  <map name="German Task Org Chart" image-file="GE task org chart.jpg" resolution="150 dpi" /> 
  <map name="US 45 Div OB Chart" image-file="US 45 Div OB chart.jpg" resolution="150 dpi" /> 
  <map name="US 45 Div Task Org Chart" image-file="US 45 Div task org chart.jpg" resolution="150 dpi" /> 
  <map name="US VI Corps OB Chart" image-file="US VI Corps OB chart.jpg" resolution="150 dpi" /> 
  <map name="Naval Ships Track" image-file="naval ships track.jpg" resolution="150 dpi" /> 
- <counter-sheet name="GE counters 1" front-image-file="GE counters 1 front.jpg" front-resolution="300 dpi" back-image-file="GE counters 1 back.jpg" back-resolution="300 dpi">
  <counter-section rows="2" columns="9" front-left="121" front-top="174" front-right="1497" front-bottom="498" back-left="114" back-top="198" back-right="1490" back-bottom="513" /> 
  <counter-section rows="2" columns="9" front-left="121" front-top="773" front-right="1498" front-bottom="1101" back-left="114" back-top="799" back-right="1492" back-bottom="1122" /> 
  <counter-section rows="2" columns="9" front-left="121" front-top="173" front-right="1497" front-bottom="500" back-left="118" back-top="1394" back-right="1492" back-bottom="1720" /> 
  <counter-section rows="2" columns="9" front-left="122" front-top="1981" front-right="1499" front-bottom="2303" back-left="120" back-top="2000" back-right="1491" back-bottom="2321" /> 
  </counter-sheet>
- <counter-sheet name="GE counters 2" front-image-file="GE counters 2 front.jpg" front-resolution="300 dpi" back-image-file="GE counters 2 back.jpg" back-resolution="300 dpi">
  <counter-section rows="2" columns="9" front-left="121" front-top="174" front-right="1497" front-bottom="498" back-left="114" back-top="198" back-right="1490" back-bottom="513" /> 
  <counter-section rows="2" columns="9" front-left="121" front-top="773" front-right="1498" front-bottom="1101" back-left="114" back-top="799" back-right="1492" back-bottom="1122" /> 
  <counter-section rows="2" columns="9" front-left="121" front-top="173" front-right="1497" front-bottom="500" back-left="118" back-top="1394" back-right="1492" back-bottom="1720" /> 
  <counter-section rows="2" columns="9" front-left="122" front-top="1981" front-right="1499" front-bottom="2303" back-left="120" back-top="2000" back-right="1491" back-bottom="2321" /> 
  </counter-sheet>
- <counter-sheet name="GE Counters 3" front-image-file="GE counters 3 front.jpg" front-resolution="300 dpi" back-image-file="GE counters 3 back.jpg" back-resolution="300 dpi">
  <counter-section rows="2" columns="9" front-left="121" front-top="174" front-right="1497" front-bottom="498" back-left="114" back-top="198" back-right="1490" back-bottom="513" /> 
  <counter-section rows="2" columns="9" front-left="121" front-top="773" front-right="1498" front-bottom="1101" back-left="114" back-top="799" back-right="1492" back-bottom="1122" /> 
  <counter-section rows="2" columns="9" front-left="121" front-top="173" front-right="1497" front-bottom="500" back-left="118" back-top="1394" back-right="1492" back-bottom="1720" /> 
  <counter-section rows="2" columns="9" front-left="122" front-top="1981" front-right="1499" front-bottom="2303" back-left="120" back-top="2000" back-right="1491" back-bottom="2321" /> 
  </counter-sheet>
- <counter-sheet name="GE Counters 4" front-image-file="GE counters 4 front.jpg" front-resolution="300 dpi" back-image-file="GE counters 4 back.jpg" back-resolution="300 dpi">
  <counter-section rows="2" columns="9" front-left="121" front-top="174" front-right="1497" front-bottom="498" back-left="114" back-top="198" back-right="1490" back-bottom="513" /> 
  <counter-section rows="2" columns="9" front-left="121" front-top="773" front-right="1498" front-bottom="1101" back-left="114" back-top="799" back-right="1492" back-bottom="1122" /> 
  <counter-section rows="2" columns="9" front-left="121" front-top="173" front-right="1497" front-bottom="500" back-left="118" back-top="1394" back-right="1492" back-bottom="1720" /> 
  <counter-section rows="2" columns="9" front-left="122" front-top="1981" front-right="1499" front-bottom="2303" back-left="120" back-top="2000" back-right="1491" back-bottom="2321" /> 
  </counter-sheet>
- <counter-sheet name="GE markers 1" front-image-file="GE markers 1 front.jpg" front-resolution="300 dpi" back-image-file="GE markers 1 back.jpg" back-resolution="300 dpi">
  <counter-section rows="2" columns="9" front-left="121" front-top="174" front-right="1497" front-bottom="498" back-left="114" back-top="198" back-right="1490" back-bottom="513" /> 
  <counter-section rows="2" columns="9" front-left="121" front-top="773" front-right="1498" front-bottom="1101" back-left="114" back-top="799" back-right="1492" back-bottom="1122" /> 
  <counter-section rows="2" columns="9" front-left="121" front-top="173" front-right="1497" front-bottom="500" back-left="118" back-top="1394" back-right="1492" back-bottom="1720" /> 
  <counter-section rows="2" columns="9" front-left="122" front-top="1981" front-right="1499" front-bottom="2303" back-left="120" back-top="2000" back-right="1491" back-bottom="2321" /> 
  </counter-sheet>
- <counter-sheet name="GE markers 2" front-image-file="GE markers 2 front.jpg" front-resolution="300 dpi" back-image-file="GE markers 2 back.jpg" back-resolution="300 dpi">
  <counter-section rows="2" columns="9" front-left="121" front-top="174" front-right="1497" front-bottom="498" back-left="114" back-top="198" back-right="1490" back-bottom="513" /> 
  <counter-section rows="2" columns="9" front-left="121" front-top="773" front-right="1498" front-bottom="1101" back-left="114" back-top="799" back-right="1492" back-bottom="1122" /> 
  <counter-section rows="2" columns="9" front-left="121" front-top="173" front-right="1497" front-bottom="500" back-left="118" back-top="1394" back-right="1492" back-bottom="1720" /> 
  <counter-section rows="2" columns="9" front-left="122" front-top="1981" front-right="1499" front-bottom="2303" back-left="120" back-top="2000" back-right="1491" back-bottom="2321" /> 
  </counter-sheet>
- <counter-sheet name="GE markers 3" front-image-file="GE markers 3 front.jpg" front-resolution="300 dpi" back-image-file="GE markers 3 back.jpg" back-resolution="300 dpi">
  <counter-section rows="2" columns="9" front-left="121" front-top="174" front-right="1497" front-bottom="498" back-left="114" back-top="198" back-right="1490" back-bottom="513" /> 
  <counter-section rows="2" columns="9" front-left="121" front-top="773" front-right="1498" front-bottom="1101" back-left="114" back-top="799" back-right="1492" back-bottom="1122" /> 
  <counter-section rows="2" columns="9" front-left="121" front-top="173" front-right="1497" front-bottom="500" back-left="118" back-top="1394" back-right="1492" back-bottom="1720" /> 
  <counter-section rows="2" columns="9" front-left="122" front-top="1981" front-right="1499" front-bottom="2303" back-left="120" back-top="2000" back-right="1491" back-bottom="2321" /> 
  </counter-sheet>
- <counter-sheet name="US counters 1" front-image-file="US counters 1 front.jpg" front-resolution="300 dpi" back-image-file="US counters 1 back.jpg" back-resolution="300 dpi">
  <counter-section rows="2" columns="9" front-left="121" front-top="174" front-right="1497" front-bottom="498" back-left="114" back-top="198" back-right="1490" back-bottom="513" /> 
  <counter-section rows="2" columns="9" front-left="121" front-top="773" front-right="1498" front-bottom="1101" back-left="114" back-top="799" back-right="1492" back-bottom="1122" /> 
  <counter-section rows="2" columns="9" front-left="121" front-top="173" front-right="1497" front-bottom="500" back-left="118" back-top="1394" back-right="1492" back-bottom="1720" /> 
  <counter-section rows="2" columns="9" front-left="122" front-top="1981" front-right="1499" front-bottom="2303" back-left="120" back-top="2000" back-right="1491" back-bottom="2321" /> 
  </counter-sheet>
- <counter-sheet name="US counters 2" front-image-file="US counters 2 front.jpg" front-resolution="300 dpi" back-image-file="US counters 2 back.jpg" back-resolution="300 dpi">
  <counter-section rows="2" columns="9" front-left="121" front-top="174" front-right="1497" front-bottom="498" back-left="114" back-top="198" back-right="1490" back-bottom="513" /> 
  <counter-section rows="2" columns="9" front-left="121" front-top="773" front-right="1498" front-bottom="1101" back-left="114" back-top="799" back-right="1492" back-bottom="1122" /> 
  <counter-section rows="2" columns="9" front-left="121" front-top="173" front-right="1497" front-bottom="500" back-left="118" back-top="1394" back-right="1492" back-bottom="1720" /> 
  <counter-section rows="2" columns="9" front-left="122" front-top="1981" front-right="1499" front-bottom="2303" back-left="120" back-top="2000" back-right="1491" back-bottom="2321" /> 
  </counter-sheet>
- <counter-sheet name="US counters 3" front-image-file="US counters 3 front.jpg" front-resolution="300 dpi" back-image-file="US counters 3 back.jpg" back-resolution="300 dpi">
  <counter-section rows="2" columns="9" front-left="121" front-top="174" front-right="1497" front-bottom="498" back-left="114" back-top="198" back-right="1490" back-bottom="513" /> 
  <counter-section rows="2" columns="9" front-left="121" front-top="773" front-right="1498" front-bottom="1101" back-left="114" back-top="799" back-right="1492" back-bottom="1122" /> 
  <counter-section rows="2" columns="9" front-left="121" front-top="173" front-right="1497" front-bottom="500" back-left="118" back-top="1394" back-right="1492" back-bottom="1720" /> 
  <counter-section rows="2" columns="9" front-left="122" front-top="1981" front-right="1499" front-bottom="2303" back-left="120" back-top="2000" back-right="1491" back-bottom="2321" /> 
  </counter-sheet>
- <counter-sheet name="US counters 4" front-image-file="US counters 4 front.jpg" front-resolution="300 dpi" back-image-file="US counters 4 back.jpg" back-resolution="300 dpi">
  <counter-section rows="2" columns="9" front-left="121" front-top="174" front-right="1497" front-bottom="498" back-left="114" back-top="198" back-right="1490" back-bottom="513" /> 
  <counter-section rows="2" columns="9" front-left="121" front-top="773" front-right="1498" front-bottom="1101" back-left="114" back-top="799" back-right="1492" back-bottom="1122" /> 
  <counter-section rows="2" columns="9" front-left="121" front-top="173" front-right="1497" front-bottom="500" back-left="118" back-top="1394" back-right="1492" back-bottom="1720" /> 
  <counter-section rows="2" columns="9" front-left="122" front-top="1981" front-right="1499" front-bottom="2303" back-left="120" back-top="2000" back-right="1491" back-bottom="2321" /> 
  </counter-sheet>
- <counter-sheet name="US counters 5" front-image-file="US counters 5 front.jpg" front-resolution="300 dpi" back-image-file="US counters 5 back.jpg" back-resolution="300 dpi">
  <counter-section rows="2" columns="9" front-left="121" front-top="174" front-right="1497" front-bottom="498" back-left="114" back-top="198" back-right="1490" back-bottom="513" /> 
  <counter-section rows="2" columns="9" front-left="121" front-top="773" front-right="1498" front-bottom="1101" back-left="114" back-top="799" back-right="1492" back-bottom="1122" /> 
  <counter-section rows="2" columns="9" front-left="121" front-top="173" front-right="1497" front-bottom="500" back-left="118" back-top="1394" back-right="1492" back-bottom="1720" /> 
  <counter-section rows="2" columns="9" front-left="122" front-top="1981" front-right="1499" front-bottom="2303" back-left="120" back-top="2000" back-right="1491" back-bottom="2321" /> 
  </counter-sheet>
- <counter-sheet name="US markers 1" front-image-file="US markers 1 front.jpg" front-resolution="300 dpi" back-image-file="US markers 1 back.jpg" back-resolution="300 dpi">
  <counter-section rows="2" columns="9" front-left="121" front-top="174" front-right="1497" front-bottom="498" back-left="114" back-top="198" back-right="1490" back-bottom="513" /> 
  <counter-section rows="2" columns="9" front-left="121" front-top="773" front-right="1498" front-bottom="1101" back-left="114" back-top="799" back-right="1492" back-bottom="1122" /> 
  <counter-section rows="2" columns="9" front-left="121" front-top="173" front-right="1497" front-bottom="500" back-left="118" back-top="1394" back-right="1492" back-bottom="1720" /> 
  <counter-section rows="2" columns="9" front-left="122" front-top="1981" front-right="1499" front-bottom="2303" back-left="120" back-top="2000" back-right="1491" back-bottom="2321" /> 
  </counter-sheet>
- <counter-sheet name="US markers 2" front-image-file="US markers 2 front.jpg" front-resolution="300 dpi" back-image-file="US markers 2 back.jpg" back-resolution="300 dpi">
  <counter-section rows="2" columns="9" front-left="121" front-top="174" front-right="1497" front-bottom="498" back-left="114" back-top="198" back-right="1490" back-bottom="513" /> 
  <counter-section rows="2" columns="9" front-left="121" front-top="773" front-right="1498" front-bottom="1101" back-left="114" back-top="799" back-right="1492" back-bottom="1122" /> 
  <counter-section rows="2" columns="9" front-left="121" front-top="173" front-right="1497" front-bottom="500" back-left="118" back-top="1394" back-right="1492" back-bottom="1720" /> 
  <counter-section rows="2" columns="9" front-left="122" front-top="1981" front-right="1499" front-bottom="2303" back-left="120" back-top="2000" back-right="1491" back-bottom="2321" /> 
  </counter-sheet>
  </game-box>
Here's my dummy scenario file (which I created as an xml file, zipped, and then renamed with the zts extension and placed with all the other files for my game box before zipping the whole thing and naming the game box "DeathRideSalerno16Pz" the same way as it's named in the files:

Code: Select all

<?xml version="1.0" encoding="Windows-1252" ?> 
- <game game-box="DeathRideSalerno16Pz" scenario-name="base" scenario-description="Simple dummy scenario" scenario-copyright="Grognard Simulations Inc">
  <layout board="Hexmap" /> 
  <layout board="Casualty Track" /> 
  <layout board="Turn Record Track" /> 
  <layout board="Replacement and Patrol Track" /> 
  <layout board="Air Unit Tracks" /> 
  <layout board="German OB Chart" /> 
  <layout board="German Task Org Chart" /> 
  <layout board="US 45 Div OB Chart" /> 
  <layout board="US 45 Div Task Org Chart" /> 
  <layout board="US VI Corps OB Chart" /> 
  <layout board="Naval Ships Track" /> 
  <layout board="GE counters 1" /> 
  <layout board="GE counters 2" /> 
  <layout board="GE Counters 3" /> 
  <layout board="GE Counters 4" /> 
  <layout board="GE markers 1" /> 
  <layout board="GE markers 2" /> 
  <layout board="GE markers 3" /> 
  <layout board="US counters 1" /> 
  <layout board="US counters 2" /> 
  <layout board="US counters 3" /> 
  <layout board="US counters 4" /> 
  <layout board="US counters 5" /> 
  <layout board="US markers 1" /> 
  <layout board="US markers 2" /> 
  </game>
Can anyone advise, or take a look at my files? I feel I'm soooo close to having a working new game box now.
User avatar
Bill Barrett
231
Posts: 343
Joined: 25 May 2008, 13:25

Post by Bill Barrett »

Delete all those dashes "- " at the beginning of text lines in both files...

Regards, Bill.
broadsword
Posts: 7
Joined: 12 Nov 2011, 03:15
Location: Bay Area, California, USA

Post by broadsword »

Bill Barrett wrote:Delete all those dashes "- " at the beginning of text lines in both files...

Regards, Bill.
Thanks Bill, but those dashes aren't really there in the files. IE adds them when the files are opened online to test them -- I think they indicate elements or levels or something. Even working game-box.xml files have then when viewed that way. My post is a cut-and-paste from the IE screen.

Do you want to see a cut and paste from Notepad?
User avatar
Jerome
Site Admin
Posts: 965
Joined: 22 Jun 2006, 21:31
Location: France
Contact:

Re: Another game box - but same error

Post by Jerome »

broadsword wrote:...which I created as an xml file, zipped, and then renamed with the zts extension...
Do not zip the xml file. Just rename the xml to zts.
Jerome, ZunTzu developer.
broadsword
Posts: 7
Joined: 12 Nov 2011, 03:15
Location: Bay Area, California, USA

Re: Another game box - but same error

Post by broadsword »

Jerome wrote:
broadsword wrote:...which I created as an xml file, zipped, and then renamed with the zts extension...
Do not zip the xml file. Just rename the xml to zts.
EUREKA! Merci Jerome.

The game box works perfectly now -- all I have to do is figure out why Section 3 on all my counter sheets is failing to work. I used the same x,y numbers for all sheets, and that works fine. But something in the setting I used on the first counter sheet (GE Counters 1) must be wrong for the third section. Those are the settings I copied to all the other counter sheets, and so all those sheets have non-functioning third sections.

Any ideas?
User avatar
Jerome
Site Admin
Posts: 965
Joined: 22 Jun 2006, 21:31
Location: France
Contact:

Re: Another game box - but same error

Post by Jerome »

broadsword wrote:Any ideas?
Yes. I think you used the same front coordinates for the 1st and 3rd sections. It is the same as declaring the first section twice.
Jerome, ZunTzu developer.
jmolinero2002
Posts: 3
Joined: 05 Apr 2019, 04:58

Post by jmolinero2002 »

Hi,
I have already made some gameboxes that work fine. I am working on a new zuntzu gamebox and I am getting this error message when trying to open it:

XML exception, Data at the Root level are invalid, line 1 position 1

I checked the game-box.xml and scenario files and were fine. Actually, both files are clones taken from a gamebox that works fine.
I did a test. I took a working zuntzu gamebox, uncompressed it, compressed it again to a .zip file (including all the images), renamed it to .ztg, and the newly compressed gamebox did not open and showed the same error.

A few weeks ago, I updated the winRar application to 5.70 64bits. So, I unistalled it and installed again the previous 4.11 version of winRar, but this did not solve the problem. It seems that compression changes the files and cannot be read by ZUNTZU.

Any idea to solve this problem is welcome
Jon
Post Reply