

Timedemo plays a demo as fast as possible and shows performance stats after the playback is finished (total drawn frames, seconds needed for playback, average frames per second and variability).Īnytime while playing back a demo file, the Demo Playback window can be brought up by pressing ⇧ Shift- F2 or the demoui command. If you want to use demo playback for system benchmarking use timedemo "name". To playback a previously recorded game, type playdemo "name". If a changelevel occurs while recording, the current demo file will be closed and a new demo file name_2 (name_3, name_4, etc.) is created. You can start recording anytime within a running game and stop recording with the stop command. The demo file (.dem extension) is saved in your current game directory, e.g.


To record a game, type in console record "name", while the file name shouldn't have any special characters or spaces. These functions are provided via console commands or GUI tools like the Demo Playback window, Demo Editor and Demo Smoother. The Source Engine provides a set of tools to record a game to a demo file for possible editing and later playback.
