Is it possible to store games of Defcon? I had an idea for the AI built around storing various simulations and trying to get it to extrapolate from that. What I mean is that, is it possible to record the game and replay later as a spectator?

I thought for certain I had seen somebody try it and only get Defcon to crash. Unfortunately, having trouble locating such a post.

Instead, for your viewing pleasure [emphasis mine]:

bert_the_turtle wrote:No. Dedcon has no idea about the game state and won't be able to drive a bot's interface. You need the bot enabled defcon version, and that is unfortunately officially incompatible with 1.43, so just sticking it out there will not give your bot a single bit of experience

(In practice, it is not incompatible. If you take a hexeditor and edit the version info the bot enabled version to be 1.43, you can join and host games with other 1.43 users no problem. Doing so, of course, is an EULA violation.)

Next best possibility:
decode dcrec files
split commands by TeamID
transform into API commands
Let one BOT per player execute the commands at given SeqID, recreate the game by BOTs copying player actions.