The Turing machines crash zillions 2.0p Log Out | Topics | Search
Moderators | Register | Edit Profile

Zillions of Games Discussion Forum » Designing Games for Zillions » The Turing machines crash zillions 2.0p « Previous Next »

Author Message
Sam Trenholme (Sam)
Posted on Sunday, December 29, 2002 - 2:55 am:   

I have a copy of Zillions 2.0p; trying to run the turing machines in this version of Zillions causes Zillions to crash (terminate).

Is this something only I am seeing, or is this something other users is seeing.

BTW, I don't like the name "Zillions" I think we should call it "Jeff Mallet's generalized abstract games engine".

- Sam
Jeff Mallett (Jeffm)
Posted on Sunday, December 29, 2002 - 12:45 pm:   

Hi, I tried both Turing Machines, but I didn't have any problems. You didn't mention at what point this happens. You're running Zillions under Wine emulation in Linux, right?
Sam Trenholme (Sam)
Posted on Thursday, January 02, 2003 - 12:52 am:   

Yep, running Linux under Wine. I just wanted to see if this was a Zillions issue or a Wine issue.

I am able to play 95% of the zrfs available for Zillions, and all of the games which come with Zillions itself.

The only other zrf which I haven't seen work under the version of Wine that I use is the one for Twixt.

- Sam
David J Bush (Twixter)
Posted on Thursday, January 02, 2003 - 9:50 am:   

Your Twixt problems may be due to the manner in which the files were extracted. Unlike all the other zip files, the Twixt zipfile contents do NOT create a single directory \Twixt which everything goes into. Instead, three directories are created: \Audio, \IMAGES, and \Rules. This was done for compatibility with the ZRFs that came prepackaged with Zillions. The idea is, to extract the Twixt zipfile to the same directory that has the Zillions.exe file. But Twixt should work regardless of what folder it is extracted to. You could always manually create a directory \Twixt and then extract the zipfile into that.

Your problems may also be due to the fact that Twixt is one huge package, and it may exceed the memory limitations of your Wine simulation. Maybe you could adjust the amount of RAM that Wine uses? But be warned, even after all that trouble, the game object is not defined! This is just a virtual board for Net play. I did define a game object, so Zillions will make legal moves, but it is not the correct object, so Zillions will just make the first linking move it sees.

I had one complaint from a user who didn't wait long enough for the Twixt game to load. It might take over a minute to load, under Wine, depending on your hardware. Or do you get a specific error message when you try to run it?
Jeff Mallett (Jeffm)
Posted on Thursday, January 02, 2003 - 8:52 pm:   

>>Yep, running Linux under Wine.
...
>I had one complaint from a user who didn't wait
>long enough for the Twixt game to load. It might
>take over a minute to load, under Wine,
>depending on your hardware.

If this is your problem with Twixt under Wine, then it is probably also your problem with Turing Machines, as they both are huge. In such cases, a lot of memory has to be reallocated (default buffers are not big enough) and copied. When I run Zillions in a debugger, where there is a lot of code verifying memory, I find that loading Turing Machines may take over 2 minutes, whereas when I run a a release build of Zillions on the same machine it only takes a few seconds. Perhaps Wine (and some machines) are bogged down by the same things that bog down my debugger.
Sam Trenholme (Sam)
Posted on Friday, January 03, 2003 - 7:01 pm:   

Yes, I will need to get my Wine set up so that it has better debugging. Maybe my version of Wine is not the best one out there; a company called Transgaming makes a commercial version of Wine that can play Warcraft III (I think!). I seriously doubt and engine which can play Warcraft III should get killed by a turing machine (or Twixt or Octi or....).

Anyway, I will post verbose error messages when and if I get a chance. I mainly got Zillions for chess variants, so these bugs aren't killing me; they however kill the "Just use Wine" reply for people in the Linux crowd.

FWIW, the version of Wine I am presently using is codeweavers-wine-20020904-7.

- Sam

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: