zook08 -> RE: Lack of disk space crashes the game when saving (3/15/2008 12:06:04 AM)
|
I didn't notice that the odds-and-ends partition where I store my PBEM files was almost full. But I saw that game files are first written to the disk uncompressed (in that case a temp file with > 20MB) and then compressed when it's all there (resulting in a 1.6 MB save file). Perhaps you could add a simple disk space check and a warning ("less than 30 MB free, that could cause trouble") before beginning to write the file? It's only a few lines of code, you don't have to calculate the exact amount needed.
|
|
|
|