Re: mk4vfs: I/O error during commit (tkgamepack)
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: mk4vfs: I/O error during commit (tkgamepack)

From: <brian.theado@gmail.com>
Date: Tue May 24 2005 - 14:45:21 CEST

Andreas Leitgeb wrote:
> After playing around with tkgamepack, I now get bgerror-windows
> popping up every second (well, the repetition is obviously due
> to some "after"-mechanism), saying:
[...]
> (I assume it is trying to save some "scores", but I'm not sure)
>

I have seen this for Asteroids (http://wiki.tcl.tk/13601) and for one
of the Bubble games (http://wfr.tcl.tk/734). Have you seen any others?
 It is an attempt by those games to save high score files. I think
they save to the current directory which happens to be inside the
starkit which is not writable. I think the fix will probably be to
change those games so they save to the user's home directory or
something.

As a short-term fix you can extract the starkit and run unwrapped:

sdx unwrap tkgamepack.kit
tclkit tkgamepack.vfs/main.tcl

> PS: there is also the problem with wheel-mouse-scrolling in
> tkgamepack's main window, because <4> and <5> also trigger
> any links they happen to hit.
>
> PPS: "sdx update tkgamepack.kit" doesn't seem to find any
> pending updates.

This has been fixed for a while. I have not uploaded tkgamepack to
sdarchive, so plain "sdx update tkgamepack.kit" doesn't work. Instead,
use the following (as explained at http://wiki.tcl.tk/13376):

sdx update -from http://tkoutline.sourceforge.net/cgi-bin/sync.cgi
tkgamepack.kit
Received on Thu Sep 29 14:18:42 2005