Page 2 of 3
Posted: 05 Apr 2008, 07:56
by Jerome
Here's a good tip: don't open your game box by double-clicking it in the Windows Explorer. Instead, launch ZunTzu, select the "File->Browse Library" menu item, and use the "Add" button to add your game box. ZunTzu will display a list of errors and warnings.
Posted: 05 Apr 2008, 13:46
by TGov
the only error I am getting when I do that is that the gameboard is a .gif file and it says it needs to be a .jpg or .png. Thing is I have been using a .gif file all along and it has worked fine.
Anyways I changed them to .png's and I am still crashing to desktop and getting a error report.
I did not have any errors when I added the gamebox this time though.
Code: Select all
version 1.2.1.2
System.NullReferenceException: Object reference not set to an instance of an object.
at ZunTzu.Visualization.y.a(Int64 A_0)
at ZunTzu.Visualization.y.b(Int64 A_0)
at ZunTzu.b.b(String[] A_0)
any ideas?
Sorry for being a pain.
Posted: 05 Apr 2008, 14:37
by TGov
ok, I think I have narrowed it down to the gameboard itself. When the graphics are loading for the game I can click on one of the other tabs at the bottom for the counters and ZunTzu does not crash. However as soon as I click on the tab for the main window/map ZunTzu crashes.
I thought maybe my map was too big so I went back to the original one I was using and it is still crashing when I try to view the map.
dunno....
Posted: 05 Apr 2008, 15:25
by Jerome
TGov wrote:ok, I think I have narrowed it down to the gameboard itself.
It has something to do with the counters displayed on that game board.
What is the scenario like? Is it a game saved from a previous version of the game box?
If you made changes to the counters, such as turn a double-sided counter to a single-sided counter, chances are your scenario file is no longer consistent with your game box.
Posted: 05 Apr 2008, 17:15
by TGov
yep that was it
Thank you again Jerome...
I am about 95% done with the gamebox so I pretty excited to get it working again!
Posted: 07 Apr 2008, 02:22
by TGov
dammit....I have hit my final roadblock...lol
I have everything done and now it won't load.... I am getting this error
Code: Select all
version 1.2.1.2
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at ZunTzu.a.b.Invoke(IntPtr A_0)
at ZunTzu.Graphics.c.a.e()
at ZunTzu.Visualization.y.c.e()
at ZunTzu.Visualization.y.b(Int64 A_0)
at ZunTzu.b.b(String[] A_0)
It happens while ZunTzu is loading the graphics. I checked out my scenario file (s) and it looks ok and my files have not changed so I am confused. One problem I might be having is file size. My final .ztb file size is 144mb

I really don't have another way around that size because I have to have a different gameboard graphic file for every scenario and at 8-9 mb each, they add up quick. Is there a file size limit to ZunTzu?
Thanks
TGov
Posted: 07 Apr 2008, 07:00
by Jerome
TGov wrote:Is there a file size limit to ZunTzu?
I don't think you hit a limit. The game box can be 2 GB large, and each image can be up to 65,500 x 65,500 pixels.
Apparently there's a bug in the new image loading code. I'll be working on a fix.
Thanks for reporting the defect.

Posted: 07 Apr 2008, 21:29
by Jerome
TGov, could you give it another try?
I've just fixed a bug affecting image loading. Maybe it was related.
Posted: 07 Apr 2008, 21:45
by TGov
No, still getting the same error message as posted above

Posted: 07 Apr 2008, 21:53
by Jerome
The easiest way to fix the bug would be for me to download your game box. Is it possible?
Posted: 07 Apr 2008, 22:00
by TGov
email sent, I thought it was the PM tab, doh!
give it a few minutes before trying it.
Posted: 07 Apr 2008, 22:40
by Jerome
I got the game box and reproduced the error. Thanks!
I will fix try to fix it tomorrow.
Posted: 08 Apr 2008, 07:00
by Jerome
Hi TGov!
There's a bug affecting the loading of indexed color PNG's (i.e. based on a color palette), such as your Akragas.png image.
I will try to fix the bug, but in the meantime you can use this workaround: revert to your original GIF file and ignore ZunTzu's complaints about it not being a JPEG or PNG.
Posted: 08 Apr 2008, 17:37
by TGov
ah, ok Gif is preferable anyways b/c the file size was smaller with negligible quality loss that I could find.
Thank you very much Jerome.
TGov
Posted: 08 Apr 2008, 21:30
by TGov
Jerome,
Would it be possible to make ZunTzu not give an error message about .gif files when you add the gamebox to the library? I would prefer to use .gif's as the file size is a bit smaller and I already have everything done...lol
I would like to be able to go ahead and release the gamebox asap.