Quote Originally Posted by Michael Clease View Post
Where did I say the size of the file would speed it up ?
I guess your comment about reducing bashing made me think speed.

you say "The data and format will vary across the board: numbers and strings, long and short, precise (floating point) and integer."

but will this data be same for each record?
The way I picture it now (which could change) is that there might be a certain number of variables that need to be saved ... say anywhere from 25 to 1000 or more depending on the complexity of the game.

That will be for just one iteration of the game. I want to be able to keep track of the decisions you make in the game so each set of variables will be needed in an archival mode.

Opening a file for "random" could work, I suppose. The player wouldn't need to save the entire file to memory. If you play the game long enough, you may not have enough ram to do that (for a really complex version of the game). In archival mode, the player could simply reopen the file and get the needed data.

Does this make sense?



Mark