Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Lack of disk space crashes the game when saving

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Advanced Tactics Series >> Advanced Tactics Support >> Lack of disk space crashes the game when saving Page: [1]
Login
Message << Older Topic   Newer Topic >>
Lack of disk space crashes the game when saving - 3/13/2008 7:18:32 PM   
zook08

 

Posts: 138
Joined: 2/19/2008
Status: offline
..after I spent two hours on my turn...
Post #: 1
RE: Lack of disk space crashes the game when saving - 3/13/2008 9:00:49 PM   
Tac2i


Posts: 2001
Joined: 4/12/2005
From: WV USA
Status: offline
quote:

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.

(in reply to zook08)
Post #: 2
RE: Lack of disk space crashes the game when saving - 3/14/2008 11:33:07 PM   
Vic


Posts: 8262
Joined: 5/17/2004
Status: offline
Sorry zook,

The engine does not check diskspace. it just assumes you have at least a few MB available.

kind regards,
Vic

(in reply to Tac2i)
Post #: 3
RE: Lack of disk space crashes the game when saving - 3/15/2008 12:06:04 AM   
zook08

 

Posts: 138
Joined: 2/19/2008
Status: offline
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.

(in reply to Vic)
Post #: 4
RE: Lack of disk space crashes the game when saving - 3/15/2008 11:26:32 AM   
Vic


Posts: 8262
Joined: 5/17/2004
Status: offline
i will add checks in the next gold version.

< Message edited by Vic -- 3/15/2008 11:45:34 AM >

(in reply to zook08)
Post #: 5
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Advanced Tactics Series >> Advanced Tactics Support >> Lack of disk space crashes the game when saving Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.688