I'm working on a polish version of Talisman called Magia i Miecz. What I did so far is created a gamebox on the basis of this http://bggames01.blogspot.com/2009/12/t ... mebox.html
I have just the main board. Later I will be working on a whole game with all the expansions published in Poland, but first I wanted to try to have just the main board. The problem is, that when I try to choose a scenario (except the empty one there is only one with the main board), but I keep getting this error:
NullReferenceException: Object reference not set to an instance of an object.
I tripled checked both game-box.xml, and basegame.zts, but I've probably missed something.
here is the content of my game-box.xml:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<game-box
name="Magia i Miecz"
description="Magia i Miecz ze wszystkimi dodatkami"
copyright="Biuro Promocji i Reklamy Fantastyki Sfera Sp. z o.o."
startup-scenario="empty.zts">
<map name="gameboard" image-file="title.jpg" />
<dice-hand type="D6">
<dice count="3" texture-file="dice.png" />
</dice-hand>
<dice-hand type="D6">
<dice count="3" texture-file="dice.png" />
</dice-hand>
<terrain-sheet name="board-Talisman"
front-image-file="talisman-board.jpg">
<terrain-section rows="1" columns="1"
front-left="0" front-top="0" front-right="6530" front-bottom="4796" />
</terrain-sheet>
<counter-sheet name="Characters"
front-image-file="characters.jpg" front-mask-file="characters-mask.png" front-resolution="300 dpi">
<card-section rows="7" columns="4" face-left="0" face-top="0" face-right="3879" face-bottom="5456"
back-left="0" back-top="5456" back-right="968" back-bottom="6239" supply="1" />
</counter-sheet>
<counter-sheet name="Figures"
front-image-file="figures.jpg" front-mask-file="figures-mask.png" front-resolution="300 dpi">
<counter-section rows="5" columns="5" front-left="0" front-top="0" front-right="2362" front-bottom="3899" supply="1" shadow="0" />
<counter-section rows="1" columns="3" front-left="0" front-top="3899" front-right="1418" front-bottom="4677" supply="1" shadow="0" />
<counter-section rows="1" columns="1" front-left="1418" front-top="3899" front-right="1890" front-bottom="4677" supply="10" shadow="0" />
</counter-sheet>
<counter-sheet name="Gold Coins"
front-image-file="goldcoin.jpg" front-mask-file="goldcoin-mask.png" front-resolution="300 dpi"
back-image-file="goldcoin.jpg" back-mask-file="goldcoin-mask.png" back-resolution="300 dpi">
<counter-section rows="1" columns="1" front-left="0" front-top="0" front-right="210" front-bottom="210"
back-left="0" back-top="0" back-right="210" back-bottom="210" supply="50" shadow="0" />
</counter-sheet>
<counter-sheet name="Counters"
front-image-file="counters.jpg" front-mask-file="counters-mask.png" front-resolution="300 dpi">
<counter-section rows="1" columns="1" front-left="195" front-top="0" front-right="376" front-bottom="250" supply="32" shadow="0" />
<counter-section rows="1" columns="1" front-left="589" front-top="0" front-right="763" front-bottom="250" supply="32" shadow="0" />
<counter-section rows="1" columns="1" front-left="971" front-top="0" front-right="1128" front-bottom="250" supply="32" shadow="0" />
<counter-section rows="1" columns="1" front-left="0" front-top="0" front-right="195" front-bottom="250" supply="8" shadow="0" />
<counter-section rows="1" columns="1" front-left="376" front-top="0" front-right="589" front-bottom="250" supply="8" shadow="0" />
<counter-section rows="1" columns="1" front-left="763" front-top="0" front-right="971" front-bottom="250" supply="8" shadow="0" />
</counter-sheet>
<counter-sheet name="Alignment Deck"
front-image-file="cards-alignment.jpg" front-resolution="300 dpi">
<card-section rows="1" columns="1" face-left="0" face-top="0" face-right="445" face-bottom="784"
back-left="446" back-top="0" back-right="891" back-bottom="784" supply="10" />
</counter-sheet>
<counter-sheet name="Talisman Deck"
front-image-file="cards-talisman.jpg" front-resolution="300 dpi">
<card-section rows="1" columns="1" face-left="1" face-top="1" face-right="450" face-bottom="782"
back-left="452" back-top="1" back-right="902" back-bottom="782" supply="4" />
</counter-sheet>
<counter-sheet name="Purchase Deck"
front-image-file="cards-purchase.jpg" front-mask-file="cards-mask-purchase.png" front-resolution="300 dpi">
<card-section rows="5" columns="5" face-left="1" face-top="1" face-right="2254" face-bottom="3909"
back-left="1354" back-top="3911" back-right="1803" back-bottom="4691" supply="1" />
<card-section rows="1" columns="3" face-left="1" face-top="3911" face-right="1352" face-bottom="4691"
back-left="1354" back-top="3911" back-right="1803" back-bottom="4691" supply="1" />
</counter-sheet>
<counter-sheet name="Adventure Deck"
front-image-file="cards-adventure.jpg" front-resolution="300 dpi">
<card-section rows="3" columns="35" face-left="1" face-top="1" face-right="15784" face-bottom="2345"
back-left="15335" back-top="2347" back-right="3127" back-bottom="15784" supply="1" />
<card-section rows="1" columns="34" face-left="1" face-top="2346" face-right="15335" face-bottom="3126"
back-left="15335" back-top="2347" back-right="3127" back-bottom="15784" supply="1" />
</counter-sheet>
<counter-sheet name="Spells Deck"
front-image-file="cards-spells.jpg" front-mask-file="cards-spells-mask.png" front-resolution="300 dpi">
<card-section rows="6" columns="5" face-left="1" face-top="1" face-right="2255" face-bottom="4692"
back-left="2256" back-top="3911" back-right="2704" back-bottom="4691" supply="1" />
</counter-sheet>
</game-box>
Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<game
game-box="Magia i Miecz"
scenario-name="Glowna plansza"
scenario-description="Tylko glowna plansza"
scenario-copyright="">
<layout board="gameboard" left="-18198.19" top="-7344.70" right="21004.12" bottom="17156.74" visible="true">
<counter id="0" x="0" y="0" />
<stack x="1000" y="1000">
<counter id="1" side="Back" />
<counter id="2" side="Back" />
<counter id="3" side="Back" />
<counter id="4" side="Back" />
<counter id="5" side="Back" />
<counter id="6" side="Back" />
<counter id="7" side="Back" />
<counter id="8" side="Back" />
<counter id="9" side="Back" />
<counter id="10" side="Back" />
<counter id="11" side="Back" />
<counter id="12" side="Back" />
<counter id="13" side="Back" />
<counter id="14" side="Back" />
<counter id="15" side="Back" />
<counter id="16" side="Back" />
<counter id="17" side="Back" />
<counter id="18" side="Back" />
<counter id="19" side="Back" />
<counter id="20" side="Back" />
<counter id="21" side="Back" />
<counter id="22" side="Back" />
<counter id="23" side="Back" />
<counter id="24" side="Back" />
<counter id="25" side="Back" />
<counter id="26" side="Back" />
<counter id="27" side="Back" />
<counter id="28" side="Back" />
</stack>
<stack x="2000" y="2000">
<counter id="29" />
<counter id="30" />
<counter id="31" />
<counter id="32" />
<counter id="33" />
<counter id="34" />
<counter id="35" />
<counter id="36" />
<counter id="37" />
<counter id="38" />
<counter id="39" />
<counter id="40" />
<counter id="41" />
<counter id="42" />
<counter id="43" />
<counter id="44" />
<counter id="45" />
<counter id="46" />
<counter id="47" />
<counter id="48" />
<counter id="49" />
<counter id="50" />
<counter id="51" />
<counter id="52" />
<counter id="53" />
<counter id="54" />
<counter id="55" />
<counter id="56" />
</stack>
<stack x="3000" y="3000">
<counter id="57" />
<counter id="58" />
<counter id="59" />
<counter id="60" />
<counter id="61" />
<counter id="62" />
<counter id="63" />
<counter id="64" />
<counter id="65" />
<counter id="66" />
</stack>
<stack x="4000" y="4000">
<counter id="67" />
<counter id="68" />
<counter id="69" />
<counter id="70" />
<counter id="71" />
<counter id="72" />
<counter id="73" />
<counter id="74" />
<counter id="75" />
<counter id="76" />
<counter id="77" />
<counter id="78" />
<counter id="79" />
<counter id="80" />
<counter id="81" />
<counter id="82" />
<counter id="83" />
<counter id="84" />
<counter id="85" />
<counter id="86" />
<counter id="87" />
<counter id="88" />
<counter id="89" />
<counter id="90" />
<counter id="91" />
</stack>
<stack x="5000" y="5000">
<counter id="92" />
<counter id="93" />
<counter id="94" />
<counter id="95" />
<counter id="96" />
<counter id="97" />
<counter id="98" />
<counter id="99" />
<counter id="100" />
<counter id="101" />
<counter id="102" />
<counter id="103" />
<counter id="104" />
<counter id="105" />
<counter id="106" />
<counter id="107" />
<counter id="108" />
<counter id="109" />
<counter id="110" />
<counter id="111" />
<counter id="112" />
<counter id="113" />
<counter id="114" />
<counter id="115" />
<counter id="116" />
</stack>
<stack x="-12538.44" y="3862.18">
<counter id="117" />
<counter id="118" />
<counter id="119" />
<counter id="120" />
<counter id="121" />
<counter id="122" />
<counter id="123" />
<counter id="124" />
<counter id="125" />
<counter id="126" />
<counter id="127" />
<counter id="128" />
<counter id="129" />
<counter id="130" />
<counter id="131" />
<counter id="132" />
</stack>
<stack x="-12870.91" y="3481.09">
<counter id="133" />
<counter id="134" />
<counter id="135" />
<counter id="136" />
<counter id="137" />
<counter id="138" />
<counter id="139" />
<counter id="140" />
<counter id="141" />
<counter id="142" />
<counter id="143" />
<counter id="144" />
<counter id="145" />
<counter id="146" />
<counter id="147" />
<counter id="148" />
</stack>
<stack x="-13707.21" y="3486.36">
<counter id="149" />
<counter id="150" />
<counter id="151" />
<counter id="152" />
<counter id="153" />
<counter id="154" />
<counter id="155" />
<counter id="156" />
<counter id="157" />
<counter id="158" />
<counter id="159" />
<counter id="160" />
<counter id="161" />
<counter id="162" />
<counter id="163" />
<counter id="164" />
</stack>
<stack x="-13582.27" y="4016.05">
<counter id="165" />
<counter id="166" />
<counter id="167" />
<counter id="168" />
<counter id="169" />
<counter id="170" />
<counter id="171" />
<counter id="172" />
<counter id="173" />
<counter id="174" />
<counter id="175" />
<counter id="176" />
<counter id="177" />
<counter id="178" />
<counter id="179" />
<counter id="180" />
</stack>
<stack x="-12674.63" y="4811.53">
<counter id="181" />
<counter id="182" />
<counter id="183" />
<counter id="184" />
<counter id="185" />
<counter id="186" />
<counter id="187" />
<counter id="188" />
<counter id="189" />
<counter id="190" />
<counter id="191" />
<counter id="192" />
<counter id="193" />
<counter id="194" />
<counter id="195" />
<counter id="196" />
</stack>
<stack x="-13329.03" y="4872.24">
<counter id="197" />
<counter id="198" />
<counter id="199" />
<counter id="200" />
<counter id="201" />
<counter id="202" />
<counter id="203" />
<counter id="204" />
<counter id="205" />
<counter id="206" />
<counter id="207" />
<counter id="208" />
<counter id="209" />
<counter id="210" />
<counter id="211" />
<counter id="212" />
</stack>
<stack x="-14376.30" y="-1510.38">
<counter id="213" />
<counter id="214" />
<counter id="215" />
<counter id="216" />
<counter id="217" />
<counter id="218" />
<counter id="219" />
<counter id="220" />
</stack>
<stack x="-14344.32" y="-579.16">
<counter id="221" />
<counter id="222" />
<counter id="223" />
<counter id="224" />
<counter id="225" />
<counter id="226" />
<counter id="227" />
<counter id="228" />
</stack>
<stack x="-14281.52" y="285.25">
<counter id="229" />
<counter id="230" />
<counter id="231" />
<counter id="232" />
<counter id="233" />
<counter id="234" />
<counter id="235" />
<counter id="236" />
</stack>
<stack x="6000" y="6000">
<counter id="237" />
<counter id="238" />
<counter id="239" />
<counter id="240" />
<counter id="241" />
<counter id="242" />
<counter id="243" />
<counter id="244" />
<counter id="245" />
<counter id="246" />
</stack>
<stack x="7000" y="7000">
<counter id="247" side="Back" />
<counter id="248" side="Back" />
<counter id="249" side="Back" />
<counter id="250" side="Back" />
</stack>
<stack x="8000" y="8000">
<counter id="237 " />
<counter id="238" side="Back" />
<counter id="239" side="Back" />
<counter id="240" side="Back" />
<counter id="241" side="Back" />
<counter id="242" side="Back" />
<counter id="243" side="Back" />
<counter id="244" side="Back" />
<counter id="245" side="Back" />
<counter id="246" side="Back" />
<counter id="247" side="Back" />
<counter id="248" side="Back" />
<counter id="249" side="Back" />
<counter id="250" side="Back" />
<counter id="251" side="Back" />
<counter id="252" side="Back" />
<counter id="253" side="Back" />
<counter id="254" side="Back" />
<counter id="255" side="Back" />
<counter id="256" side="Back" />
<counter id="257" side="Back" />
<counter id="258" side="Back" />
<counter id="259" side="Back" />
<counter id="260" side="Back" />
<counter id="261" side="Back" />
<counter id="262" side="Back" />
<counter id="263" side="Back" />
<counter id="264" side="Back" />
<counter id="265" side="Back" />
<counter id="266" side="Back" />
<counter id="267" side="Back" />
<counter id="268" side="Back" />
<counter id="269" side="Back" />
<counter id="270" side="Back" />
<counter id="271" side="Back" />
<counter id="272" side="Back" />
<counter id="273" side="Back" />
<counter id="274" side="Back" />
</stack>
<stack x="9000" y="9000">
<counter id="275" side="Back" />
<counter id="276" side="Back" />
<counter id="277" side="Back" />
<counter id="278" side="Back" />
<counter id="279" side="Back" />
<counter id="280" side="Back" />
<counter id="281" side="Back" />
<counter id="282" side="Back" />
<counter id="283" side="Back" />
<counter id="284" side="Back" />
<counter id="285" side="Back" />
<counter id="286" side="Back" />
<counter id="287" side="Back" />
<counter id="288" side="Back" />
<counter id="289" side="Back" />
<counter id="290" side="Back" />
<counter id="291" side="Back" />
<counter id="292" side="Back" />
<counter id="293" side="Back" />
<counter id="294" side="Back" />
<counter id="295" side="Back" />
<counter id="296" side="Back" />
<counter id="297" side="Back" />
<counter id="298" side="Back" />
<counter id="299" side="Back" />
<counter id="300" side="Back" />
<counter id="301" side="Back" />
<counter id="302" side="Back" />
<counter id="303" side="Back" />
<counter id="304" side="Back" />
<counter id="305" side="Back" />
<counter id="306" side="Back" />
<counter id="307" side="Back" />
<counter id="308" side="Back" />
<counter id="309" side="Back" />
<counter id="310" side="Back" />
<counter id="311" side="Back" />
<counter id="312" side="Back" />
<counter id="313" side="Back" />
<counter id="314" side="Back" />
<counter id="315" side="Back" />
<counter id="316" side="Back" />
<counter id="317" side="Back" />
<counter id="318" side="Back" />
<counter id="319" side="Back" />
<counter id="320" side="Back" />
<counter id="321" side="Back" />
<counter id="322" side="Back" />
<counter id="323" side="Back" />
<counter id="324" side="Back" />
<counter id="325" side="Back" />
<counter id="326" side="Back" />
<counter id="327" side="Back" />
<counter id="328" side="Back" />
<counter id="329" side="Back" />
<counter id="330" side="Back" />
<counter id="331" side="Back" />
<counter id="332" side="Back" />
<counter id="333" side="Back" />
<counter id="334" side="Back" />
<counter id="335" side="Back" />
<counter id="336" side="Back" />
<counter id="337" side="Back" />
<counter id="338" side="Back" />
<counter id="339" side="Back" />
<counter id="340" side="Back" />
<counter id="341" side="Back" />
<counter id="342" side="Back" />
<counter id="343" side="Back" />
<counter id="344" side="Back" />
<counter id="345" side="Back" />
<counter id="346" side="Back" />
<counter id="347" side="Back" />
<counter id="348" side="Back" />
<counter id="349" side="Back" />
<counter id="350" side="Back" />
<counter id="351" side="Back" />
<counter id="352" side="Back" />
<counter id="353" side="Back" />
<counter id="354" side="Back" />
<counter id="355" side="Back" />
<counter id="356" side="Back" />
<counter id="357" side="Back" />
<counter id="358" side="Back" />
<counter id="359" side="Back" />
<counter id="360" side="Back" />
<counter id="361" side="Back" />
<counter id="362" side="Back" />
<counter id="363" side="Back" />
<counter id="364" side="Back" />
<counter id="365" side="Back" />
<counter id="366" side="Back" />
<counter id="367" side="Back" />
<counter id="368" side="Back" />
<counter id="369" side="Back" />
<counter id="370" side="Back" />
<counter id="371" side="Back" />
<counter id="372" side="Back" />
<counter id="373" side="Back" />
<counter id="374" side="Back" />
<counter id="375" side="Back" />
<counter id="376" side="Back" />
<counter id="377" side="Back" />
<counter id="378" side="Back" />
<counter id="379" side="Back" />
<counter id="380" side="Back" />
<counter id="381" side="Back" />
<counter id="382" side="Back" />
<counter id="383" side="Back" />
<counter id="384" side="Back" />
<counter id="385" side="Back" />
<counter id="386" side="Back" />
<counter id="387" side="Back" />
<counter id="388" side="Back" />
<counter id="389" side="Back" />
<counter id="390" side="Back" />
<counter id="391" side="Back" />
<counter id="392" side="Back" />
<counter id="393" side="Back" />
<counter id="394" side="Back" />
<counter id="395" side="Back" />
<counter id="396" side="Back" />
<counter id="397" side="Back" />
<counter id="398" side="Back" />
<counter id="399" side="Back" />
<counter id="400" side="Back" />
<counter id="401" side="Back" />
<counter id="402" side="Back" />
<counter id="403" side="Back" />
<counter id="404" side="Back" />
<counter id="405" side="Back" />
<counter id="406" side="Back" />
<counter id="407" side="Back" />
<counter id="408" side="Back" />
<counter id="409" side="Back" />
<counter id="410" side="Back" />
<counter id="411" side="Back" />
<counter id="412" side="Back" />
<counter id="413" side="Back" />
</stack>
<stack x="10000" y="10000">
<counter id="414" side="Back" />
<counter id="415" side="Back" />
<counter id="416" side="Back" />
<counter id="417" side="Back" />
<counter id="418" side="Back" />
<counter id="419" side="Back" />
<counter id="420" side="Back" />
<counter id="421" side="Back" />
<counter id="422" side="Back" />
<counter id="423" side="Back" />
<counter id="424" side="Back" />
<counter id="425" side="Back" />
<counter id="426" side="Back" />
<counter id="427" side="Back" />
<counter id="428" side="Back" />
<counter id="429" side="Back" />
<counter id="430" side="Back" />
<counter id="431" side="Back" />
<counter id="432" side="Back" />
<counter id="433" side="Back" />
<counter id="434" side="Back" />
<counter id="435" side="Back" />
<counter id="436" side="Back" />
<counter id="437" side="Back" />
<counter id="438" side="Back" />
<counter id="439" side="Back" />
<counter id="440" side="Back" />
<counter id="441" side="Back" />
<counter id="442" side="Back" />
<counter id="443" side="Back" />
</stack>
</layout>
<layout board="board-Talisman" left="300" top="200" right="4096.00" bottom="2558.20" />
<layout board="Characters" left="-11446.67" top="-2890.98" right="45203.64" bottom="32490.62" />
<layout board="Figures" left="-2133.79" top="-647.44" right="11656.31" bottom="7965.33" />
<layout board="Gold Coins" left="-468.82" top="-263.18" right="1763.49" bottom="1131.04" />
<layout board="Counters" left="-1219.07" top="-1569.95" right="4086.30" bottom="1743.58" />
<layout board="Alignment Deck" left="-978.56" top="-1184.02" right="7159.76" bottom="3898.86" />
<layout board="Talisman Deck" left="-1353.21" top="-1096.44" right="5056.25" bottom="2906.66" />
<layout board="Purchase Deck" left="-1676.20" top="-2632.95" right="10807.80" bottom="5164.07" />
<layout board="Adventure Deck" left="-10664.19" top="-3879.17" right="32639.52" bottom="23166.66" />
<layout board="Spells Deck" left="-2916.96" top="-3414.06" right="16618.13" bottom="8786.80" />
</game>
I also uploaded the gamebox here http://www.speedyshare.com/files/250314 ... a_test.ztb
It's my first upload to speedyshare, so I don't know if it's neccesary but it gave me a password for the file (I guess): hogoledohati
I know that the counters are not where they suppose to be, but I will change it later. I know that I could have used the supply parameter instead of using such big files. I will work on it when I will be able to run the scenario with the main board.
Will anyone help me?