Is what I am trying to do possible in ZunTzu?

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

Moderators: Ichibrothers, Cambronne

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

Post 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.
Jerome, ZunTzu developer.
User avatar
TGov
111
Posts: 32
Joined: 27 Mar 2008, 18:09
Location: Missouri, USA

Post 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.
User avatar
TGov
111
Posts: 32
Joined: 27 Mar 2008, 18:09
Location: Missouri, USA

Post 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....
User avatar
Jerome
Site Admin
Posts: 974
Joined: 22 Jun 2006, 21:31
Location: France
Contact:

Post 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.
Jerome, ZunTzu developer.
User avatar
TGov
111
Posts: 32
Joined: 27 Mar 2008, 18:09
Location: Missouri, USA

Post by TGov »

yep that was it :D

Thank you again Jerome... :)

I am about 95% done with the gamebox so I pretty excited to get it working again!
User avatar
TGov
111
Posts: 32
Joined: 27 Mar 2008, 18:09
Location: Missouri, USA

Post 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 :oops: 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
User avatar
Jerome
Site Admin
Posts: 974
Joined: 22 Jun 2006, 21:31
Location: France
Contact:

Post 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. :wink:
Jerome, ZunTzu developer.
User avatar
Jerome
Site Admin
Posts: 974
Joined: 22 Jun 2006, 21:31
Location: France
Contact:

Post by Jerome »

TGov, could you give it another try?
I've just fixed a bug affecting image loading. Maybe it was related.
Jerome, ZunTzu developer.
User avatar
TGov
111
Posts: 32
Joined: 27 Mar 2008, 18:09
Location: Missouri, USA

Post by TGov »

No, still getting the same error message as posted above :(
User avatar
Jerome
Site Admin
Posts: 974
Joined: 22 Jun 2006, 21:31
Location: France
Contact:

Post by Jerome »

The easiest way to fix the bug would be for me to download your game box. Is it possible?
Jerome, ZunTzu developer.
User avatar
TGov
111
Posts: 32
Joined: 27 Mar 2008, 18:09
Location: Missouri, USA

Post by TGov »

email sent, I thought it was the PM tab, doh!

give it a few minutes before trying it.
User avatar
Jerome
Site Admin
Posts: 974
Joined: 22 Jun 2006, 21:31
Location: France
Contact:

Post by Jerome »

I got the game box and reproduced the error. Thanks!
I will fix try to fix it tomorrow.
Jerome, ZunTzu developer.
User avatar
Jerome
Site Admin
Posts: 974
Joined: 22 Jun 2006, 21:31
Location: France
Contact:

Post 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.
Jerome, ZunTzu developer.
User avatar
TGov
111
Posts: 32
Joined: 27 Mar 2008, 18:09
Location: Missouri, USA

Post 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
User avatar
TGov
111
Posts: 32
Joined: 27 Mar 2008, 18:09
Location: Missouri, USA

Post 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.
Post Reply