EDITDSG.BAS  - The QBASIC source code to execute
EDITDSG.BAT  - Runs EDITDSG.BAS through QBASIC interpreter
README       - This file

EDITDSG is written to modify those DOOMSAV?.DSG files.  The .DSG files
contain information on saved worlds for DOOM I & II.  Although one
could use cheat codes for a one player game, cheats are disabled for 2
or more players.

That's where EDITDSG helps.

So far, it has been tested for DOOM I & II in conjunction with the 1.666
engine.

Both 1 and 2 players can have attributes like computer map, rounds of
ammo, # keys, GOD MODE, walk thru walls, and more.

Currently, EDITDSG is set to modify 2 players, but it is written to
possibly hand more (though this has not been tested).  To experiment,
change the:

   MAXPLAYERS = 2
      to
   MAXPLAYERS = 4

in the beginning of the source code to edit 4 players at a time,
for example.

To run:

  1) You must have a QBASIC interpreter or QuickBasic or MS BASIC to
     run EDITDSG.BAS.  Sorry, I don't have the compiler.  Maybe
     someone can compile EDITDSG.BAS into EDITDSG.EXE and upload
     to the BBS.

  2) Change to your DOOM directory and copy EDITDSG files there.

  3) type:   EDITDSG     or  QBASIC /RUN EDITDSG.BAS

  4)  A list of .DSG files will appear.  Select the # of the file.

  5)  Player attributes show on the screen.  Use the arrow keys to
      move around.  Use other keys (like +/-, PGUP/PGDN) to increment
      or decrement a field.  Use SPACEBAR to toggle things like current
      weapon, YES/NO fields, etc.

  6)  When done, press ESCape.  You'll be prompted to save changes or
      not.

  7)  At the .DSG file listing, hitting ENTER by itself will end the
      program or CTRL-BREAK at any time to halt the QBASIC interpreter.


  Final note:  Since this is usually used for network games, you should
                copy the modified file to the other participating
                computer(s).

  Problems:    I don't have a complete understanding of how HEALTH is
               maintained.  Although it seems I can modify it from
               EDITDSG, and DOOM shows this new HEALTH, the player will
               still only have the original percent available before he
               dies.  Example:  Player1 starts with 100%, uses EDITDSG
               to bump it up to 220%, plays DOOM, but when he goes below
               120%, he dies.

               The only way around this is to put the player in GOD
               MODE, which prevents the HEALTH from going down.


EDITDSG.BAS is donated to public domain AS IS.  Anyone and everyone is
free (and encouraged) to modify, enhance(hopefully) or do whatever else
with the code as desired.

I hope it helps the DOOMing and Good Luck!

