the saved file looks like starcraft or warcraft's demo files - they are saved when the players have finished the game,and the other players can watch if they have loaded these files.how to record these data in my game?