Lack of disk space crashes the game when saving

Post bug reports and ask for tech support here. Post any Community Site Requests here as well.

Moderator: Vic

Post Reply
zook08
Posts: 138
Joined: Tue Feb 19, 2008 4:27 pm

Lack of disk space crashes the game when saving

Post by zook08 »

..after I spent two hours on my turn...
User avatar
Tac2i
Posts: 2083
Joined: Tue Apr 12, 2005 5:57 pm
Location: WV USA

RE: Lack of disk space crashes the game when saving

Post by Tac2i »

ORIGINAL: zook08

..after I spent two hours on my turn...

Lack of adequate disk space will cause you all kinds of problems with lots of software. Just about anything that uses disk space to cache temporary files.
Tac2i (formerly webizen)
User avatar
Vic
Posts: 9931
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Lack of disk space crashes the game when saving

Post by Vic »

Sorry zook,
 
The engine does not check diskspace. it just assumes you have at least a few MB available.
 
kind regards,
Vic
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
zook08
Posts: 138
Joined: Tue Feb 19, 2008 4:27 pm

RE: Lack of disk space crashes the game when saving

Post by zook08 »

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.
User avatar
Vic
Posts: 9931
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Lack of disk space crashes the game when saving

Post by Vic »

i will add checks in the next gold version.
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
Post Reply

Return to “Advanced Tactics Support”