.kg2 is the uncompressed version of the .dm2 file format used by the software program KeyGrip 2. It is used to keep all of the information of all of the entities and changes that occur in a recorded demo of the computer game, Quake 2. This file format can only be read by KeyGrip 2, however it is converted back to .dm2 before it is read by Quake 2, as a machinima movie.