Help fix my game box

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

Moderators: Ichibrothers, Cambronne

TedTorgerson
001
Posts: 25
Joined: 09 Aug 2008, 17:03

Help fix my game box

Post by TedTorgerson »

I need some help making a game box. Can anyone see the coding problem?

Code: Select all

<?xml version="1.0" encoding="windows-1252"?> 
<game-box 
	name="Free at Last" 
	description="A boardgame of the American Civil Rights Movement 1955-1965." 
	copyright="Ted Torgerson 2006" 
	startup-scenario="1950s.zts"
	icon=icon.bmp>
	<dice-hand type="D6"> 
		<dice count="1" color="ffffff" pips="000000" /> 
	</dice-hand>
 	<dice-hand type="D6">
		 <dice color="0000a0" pips="ffffff" /> <dice color="a00000" pips="ffffff" /> 
	</dice-hand> 
	<map name="FreeatLastMap" image-file="FreeAtLastMap1.jpg" resolution="300 dpi" /> 
	<counter-sheet name="FALcountersheet1" 
		front-image-file="FALcountersheet1.jpg" front-resolution="381 dpi">
	<counter-section rows="16" columns="12" 
		front-left="195" front-top="195" front-right="3500" front-bottom="4000"/> 
 	</counter-sheet> 
	<counter-sheet name="FALcountersheet2" 
		front-image-file="FALcountersheet2.jpg" front-resolution="200 dpi">
 	<counter-section rows="5" columns="12" 
		front-left="150" front-top="1363" front-right="2400" front-bottom="1090"/> 
 		</counter-sheet> 
	<counter-sheet name="FALcountersheet3"
		front-image-file="FALcountersheet3.jpg" front-resolution="300 dpi">
	<counter-section rows="4" columns="6"
		front-left="580" front-top="150" front-right="1982" front-bottom="2305"/> 
 	</counter-sheet> 
 </game-box> 
Thanks
Heath
101
Posts: 56
Joined: 24 Jul 2010, 19:40
Location: USA

Post by Heath »

Can you add the gamebox to the library successfully? ZunTzu does an XML validation when you add a gamebox, and will report line number and character position of any syntax it doesn't understand.

Heath
User avatar
Jerome
Site Admin
Posts: 974
Joined: 22 Jun 2006, 21:31
Location: France
Contact:

Post by Jerome »

Hi, Ted!
"200 dpi" and "381 dpi" are not valid resolution values. you must choose between "150 dpi", "300 dpi" and "600 dpi".
Jerome, ZunTzu developer.
TedTorgerson
001
Posts: 25
Joined: 09 Aug 2008, 17:03

Post by TedTorgerson »

Okay thanks. I can redo the countersheets.
TedTorgerson
001
Posts: 25
Joined: 09 Aug 2008, 17:03

Post by TedTorgerson »

Jerome wrote:Hi, Ted!
"200 dpi" and "381 dpi" are not valid resolution values. you must choose between "150 dpi", "300 dpi" and "600 dpi".
Okay I corrected this but I still am not able to get it to work. I made a couple game boxes some time ago, I just forgot how to do it.

I need to do some playtesting for this game as it is supposed to go to the publisher in December 1. I would appreciate anyone able to help me fix it as I can't really afford a lot of time on tech with such a short window before publication.
Heath
101
Posts: 56
Joined: 24 Jul 2010, 19:40
Location: USA

Post by Heath »

Is the gamebox available for download somewhere?
TedTorgerson
001
Posts: 25
Joined: 09 Aug 2008, 17:03

Post by TedTorgerson »

Heath wrote:Is the gamebox available for download somewhere?
http://www.megaupload.com/?d=8BNNZ9W5

I have to add 100 cards also. Those are not included in the gamebox yet.
User avatar
Bill Barrett
231
Posts: 351
Joined: 25 May 2008, 13:25

Post by Bill Barrett »

Ted,

You haven't included the "1950s.zts" scenario file in the gamebox...

Also you need to change the line:

icon=icon.bmp>

to:

icon="icon.bmp">

(and actually it's unnecessary to refer to an icon in your game-box.xml file anyway).

Regards, Bill.
Heath
101
Posts: 56
Joined: 24 Jul 2010, 19:40
Location: USA

Post by Heath »

Here's one that works, including the counter sheets. Good luck with your game!

http://www.megaupload.com/?d=SMSPR42S

Heath
TedTorgerson
001
Posts: 25
Joined: 09 Aug 2008, 17:03

Post by TedTorgerson »

Heath wrote:Here's one that works, including the counter sheets. Good luck with your game!

http://www.megaupload.com/?d=SMSPR42S

Heath
Awesome thanks!

When I have the cards ready can you help me add them too?
Heath
101
Posts: 56
Joined: 24 Jul 2010, 19:40
Location: USA

Post by Heath »

Sure, no problem.
TedTorgerson
001
Posts: 25
Joined: 09 Aug 2008, 17:03

Post by TedTorgerson »

Heath wrote:Sure, no problem.
Hi Heath I uploaded png files with the cards.

http://www.megaupload.com/?d=KOAERP7U

They are on 11 sheets with 10 cards per sheet. If this is not a good format I can redo it any way you want. Let me know how you would like it and I will redo it. I just need the coding so the cards are in there and usable. As I make changes, I can substitute the jpeg files in the zbt myself once it is coded no problem.

The game has two decks, a 1950s deck and a 1960s deck. Both players draw from a single deck. The 1960s cards are added to the deck in the 1960 turn. Some cards are removed from the deck after the event is used, some go to the discard pile.
Heath
101
Posts: 56
Joined: 24 Jul 2010, 19:40
Location: USA

Post by Heath »

TedTorgerson
001
Posts: 25
Joined: 09 Aug 2008, 17:03

Post by TedTorgerson »

I have a dream! That this game will get playtested on ZunTzu.

Thanks again Heath.
TedTorgerson
001
Posts: 25
Joined: 09 Aug 2008, 17:03

Post by TedTorgerson »

Hey Heath can you explain how I change cards? When I rename the file as a zip and extract it I don't see a jpeg for the cards.

I need to update the cards periodically. Like after every game.

Thanks.
Post Reply