This is a gamesave editor for DOOM v1.1 and above, editor version 1.2.

All important stats can be edited, keys, current weapon, weapons found, etc.
Put this executable in the directory where you keep your .DSG file, and type
EDTGME12 to run it.  You will be presented with a list of the saved games you
have in the order it found them in the directory (order may not match actual
slot order from DOOM save/restore screen).  Use arrow keys to move to one and
press <ENTER> to edit this game.

To move between fields use the up/down arrow keys. Just type to modify.
Pressing <ESC>/<DN> or <ENTER> (on the last field) will prompt to save, or
cancel back to the edit screen.

Here is a sample of the editing screen:

			 DOOM Saved Gamed Editor v1.2

Health: 999999	Armor: 999999           Carrying Items
					  Computer Map:  Y      Backpack: Y
PowerUp Times Remaining                   Keys         Skull
   Invulnerability: 999999 2100 = 1 min.    Blue:   Y    Y
   Beserk Strength: 999999                  Yellow: Y    Y
   Invisibility:    999999                  Red:    Y    Y
   Radiation Suit:  999999
   Light Amplifier: 999999                Pistol:          Y    God Mode: Y
					  Shotgun:         Y    Clipping: Y
Ammunition        Maximum  Remaining      Chaingun:        Y    U2: Y
   Bullets:        999999    999999       Rocket Launcher: Y    U3: Y
   Shotgun Shells: 999999    999999       Plasma Rifle:    Y    U4: Y
   Energy Cells:   999999    999999       BFG 9000:        Y    U5: Y
   Rockets:        999999    999999       Chainsaw:        Y    U6: Y

Current Weapon: 6  0 - Fist, 1 - Pistol, 2 - Shotgun, 3 - Chaingun
		   4 - Rocket Launcher, 5 - Plasma Rifle, 6 - BFG 9000

TimeDemo: Y


All of the PowerUp times are in some kind of ticks.  I calculated (for my
machine) the number of ticks in a minute.  To do this for your machine (it might
be the same for all) use the IDBEHOLD (if you still can) and toggle on L (Light
amplifier) while paused.  Save off the game, and use the editor to find out
what the number is, restart DOOM, restore the game and use a watch to find out
how many minutes it stays on.  Divide the number from the edit program by # of
minutes to get ticks per minute.


New to this version (1.2a)

Ver 1.2a - correction to save not working. Sorry folks, I pulled a programmers 
favorite trick.  I lifted some code from another part of the program and forgot 
to change the open attribute to read/write instead of read only.  This is why 
you haven't been able to save any of the changes you make.

Now checks to see that you are editing version 1.1 or above of the save files,
if it is 1.0 it'll tell you and let you pick a different save game.  Updated
the save game structure to adjust locations based on game version.

Now allows editing of any player in a network game. After editing a saved game
you must re-distribute it to the other players of that game, otherwise you will
get a consistancy failure because the games no longer match.

Health has been re-adjusted to take a 6 digit number, and it won't kill you
before it's actually your time. However, if you pick up a health bonus, or a
supercharge orb, you will be reset back to 199, sorry I can't stop this, it's a
part of the game itself.

Have fun.

			Brad Mettee
			bmattee@simon.jhh.jhu.edu
