Freeze isn't the right word. The music continues to play, but no mouse clicks register. I can switch to another window and back again, but I can't do anything with Sokoban. The only way out is CTRL-ALT-DELETE. Also, after getting out, the system tray icon remains, and I can see two of them when I re-launch Sokoban.
I am using 3.3 build 1, the downloaded version (not registered). My system is running XP Pro SP3 (please no one remark about XP being unsupported by M$. I know already.)
While I am on this subject, is there a validation tool that will tell me what about the file is invalid? Just being told the file is not valid is of no help when trying to design levels for the game. The game freezing afterward is just that much more of an annoyance.
Bjorn: The *_L.slc file I emailed you has an error. I corrected the error and then Sokoban reported invalid file. I know what I changed, and it should not have made the file invalid. Without more information it takes me much longer to isolate and correct the problem. I will send you the corrected file as soon as I figure out what became invalid.
I have found one thing that I cannot explain. The max width and height is set to 98 wide and 39 high. There are 25 puzzles, each set of five having the same sizes. They are:
It took me time to make sure those attributes were set correctly. When I went to see what became invalid, the first thing I noticed is that all 25 puzzles had the width setting changed to 98. I did not do that, so I can only assume that Sokoban did it. Why would the program change those settings? The file is still being determined to be invalid by Sokoban, so I do not yet know what else the culprit is. All I do know is the file was accepted before. I was playing the levels when I discovered the error and went to change it. I quit the game before I started doing any editing, so that could not be an issue.
I will keep working on it, and will post my findings here, as I believe that this may be a contributing factor to the freeze problem.
I found the error in the file. When I made my correction to the error in the puzzle, I inadvertently left two closing L tags out (</L>). Apparently that is all it takes to invalidate a file. I am going to finish playing all the levels to make sure there are no other puzzle errors before emailing you a new copy, Bjorn.
The problem of freezing, and why Sokoban changed the width parameters on all the puzzles remain outstanding. Hopefully this can help lead to a fix. I used debug mode to see what was going on in the program. Apparently, recognizing an error is not enough. The program continued to try to load the levels anyway, and never stopped counting or trying. (I counted about 37 entries for the levels trying to be loaded at the bottom of the file.) I did not keep the debug report, but I can always generate another one, now that I know how easy it is to create a flawed file.