+==========================================================================================+ |Keen 1-3 saved game format: | +==========================================================================================+ Commander Keen 1-3's saved game files are stored in SAVEDx.CKy. The same format and function is used for all 3 episodes of Keen. The files are 92 bytes long and consist of the following: ------------------------------------------------------------------------------- FILE STRUCTURE: 0 18 Stuff Stuff got? 9 2-byte entries, $0001 for yes. In order the parts are Battery, Vaccum, Joystick, Pogo, Whiskey and R,G,B,Y keycards (Keycards usually not saved with game.) 18 32 Levels Levels 1-16 completed? 16 2-byte entries, $0001 for yes. With the 32 levels patch this becomes 32 1-byte entries. 50 2 Numlives Number of lives Keen has 52 2 Numshots Number of shots Keen has 54 4 Score Keen's score 58 1 Blank 59 4 Loc x x-Location on map level, in pixels. (= tiles * 16) 63 4 Loc y y-Location 67 2 Screen x x-Location of left of visible screen in pixels, usually Keen's loc - 9 tiles. 69 2 Blank 71 2 Screen y y-location of top of visible screen in pixels, usually Keen's loc - 3 tiles, but variable. 73 18 Cities In Keen 2, cities saved. 9 2-byte entries, the last seems not to be a valid city, but is kept in memory. -------------------------------------------------------------------------------