+==========================================================================================+ |Keen Dreams saved game format: | +==========================================================================================+ Commander Keen Dream's saved game files are stored in SAVEGMx.KDR The same format and function is used for all versions of Keen Dreams. The files are of variable length and consist of the following: ------------------------------------------------------------------------------- FILE STRUCTURE: 0 6 Sig Signature, 'KDR' padded with nuls 6 20 Name Saved Game name, max 20 chars, padded with nuls 26 52 Blank Nulls, not read, though some parts may be involved with memory and can cause problems, especially bytes 41-45 78 4 Score Keen's score 82 4 Extra Keen Score Keen gets an extra Keen at 86 2 Flowers Flower powers Keen has 88 4 Bombs Boobus Bombs Keen has 92 4 Keys Keys Keen has 96 2 Lives Lives Keen has 98 2 Hardness Difficulty level, 0-3 100 x Level Keen Dreams level in uncarmackized format. Includes Keen's location and all sprites, in their standard forms ------------------------------------------------------------------------------- The Dave 3-4 Saved Game Format is how saved games are stored in [[Dangerous Dave 3]] and [[Dangerous Dave 4]]. It is related to the [[Commander Keen 4-6 Saved Game Format]] and the [[Bio Menace Saved Game Format]], and is notable in that it doesn't store the state of the saved level. As such, when restored, the game starts the level from the beginning. The name of the saved game is kept as the filename, and both games display a list of saved games when restoring. Games can be loaded\saved to subfolders in the game directory. Note that saving a game directly after entering a level causes the game file to be corrupted for some reason. (Values in the saved game file are not equal to what they should be.) but restoring this game will work fine. ==Format== 0 25 Sig Signature, padded with nulls. The name of the game, e.g. 'DANGEROUS DAVE III' 25 9 Version Version of game, usually 0.1 or 0.2, padded with nuls. 34 4 Score Dave's score in-level, game score is not tracked. 38 4 Blank 42 1 Ammo Ammo loaded 43 2 Ammo Ammo in pocket 45 1 Lives Lives Dave has 46 2 Keys Keys Dave has 48 2 Hypo (Dave 4 only) Hypos Dave has 50 4 ? For Dave 4, $00000004 and end of file, Dave 3 has two words here THEN $00000004 and end of file.