by Homeschool Mom » Fri Aug 05, 2005 6:01 am
Okay,
I think I have everything set now. I accidently added an r to you email and sent to markslane instead of makslane. Just resent everything. However, here is what I have found out in the meantime.
I've been playing with this program a little more now that I know what the problem is. Here are my observations.
1. If I start a new game and the animations are not in the data directory, then your program
changes the file permissions on the bitmap files when it copies the bitmaps over to the data directory during its save operation. Sometimes, these files are still readable. However, most times the files' permisions have been changed so that everything is forbidden. Once forbidden, then your program cannot use the files because it doesn't have permission and just locks up.
2. If I start out with the files in the data directory where it wants to save everything, then it doesn't have to copy any files over and no permissions are changed. The program works as it is supposed to.
3. My husband looked at the files on my son's computer since we thought everything was working fine. The permisions on those files had been changed as well. It just happened that the permissions were still readable. We were able to recreate this problem on that computer (running slackware linux 10.1) as well. Now that we know exactly what to look for, we find that this problem is easily recreated.
4. If we delete the files that were copied over into the data directory that your program creates, and then we insert the original files, then your program is able to load the game file that I was working on, using the original files that I just copied over. Before that it would hang up because it was trying to read bitmap files whose permissions were scrambled.
I don't have a screen capture program to show you what the permissions look like. However, the files the original files have their permissions set to everyone (me, user, & group) to be able to both read and write the files. Once your program is finished, the permissions are changed to something else. Sometimes these are readable, sometimes not. Sometimes the boxes in the permissions list under "Special" (which I'm not even sure what they do) are marked, which also creates problems with readability.
The changes to the files seem to be totally random as far as what permissions are marked which is why I could reproduce the same results, but not always with the exact number of added animations. However, if you add enough animalions eventually some file will get marked forbidden and everything locks up. It's just that sometimes it will occur immediately and sometimes you have to add more animations.
I'm not sure what it is that your program is doing, but I would guess there is something it does that works under Windows, but not under linux that is creating the problem. I wish I could send you the files that are marked forbidden, but I have to reset the permissions just to send you the files.
I hope this helps. Mostly I can use the program, if I start out with all files in a "data" directory first instead of letting your program create the directory and then copy the files there.
Cathy