Doom and Doom 2 copyright © ID Software


EDITING THE DOOM EXE



      I've experimented with a lot of Doom exe editors, and the best one I've found is DeHacked 3.1. Download it here.
      I'm writing this page assuming you have downloaded DeHacked. After extracting the DeHacked zip file, you need to enter information into the "dehacked.ini" file. "Readme.txt" has the instructions for this.

      There are a lot of ways to edit the Doom and Doom 2 exe files. You can edit things, frames, weapons, cheats, sounds, sprites, and text. I could explain what each one means, but then I'd just be copying the DeHacked help file.

      NOTE: In DeHacked, Zombiemen are called Troopers, Shotgun Guys are called Sargeants, Heavy Weapon Dudes are called Chaingun Sargeants, and Spider Masterminds are called Spiderdemons.


Getting Used To DeHacked

      The DeHacked help file is really helpful, but it wouldn't hurt to practice. Here are some easy ways to edit Doom that should help you out.

Changing Rocket Speed
      Open up DeHacked. (Press [alt + enter] if you want full screen.) You should be in the "Things" menu. (If you're not, press [F2].) In the top-left corner, click "Thing Number." Scroll down until you see "Rocket (in air)." Click on it. In the left-middle box, click the number next to "Speed" and press [enter]. Now just type in any number. Let's say 1. Press [enter]. You just changed the rocket's speed from 20 to 1. Now press [w] (which writes the changes). Press it again to make the "Changed data written to exe" message go away. Now press [r] to run the edited game.
      Once you are in the game, type [idfa] (the all weapons cheat) and press [5]. Fire a rocket and see the results!
Click here for the printable version of these instructions

Easy Cyberdemons
      Open up DeHacked. (Press [alt + enter] if you want full screen.) You should be in the "Things" menu. (If you're not, press [F2].) In the top-left corner, click "Thing Number." Scroll down until you see "Cyberdemon." Click on it. In the left-middle box, click the number next to "Hit Points" and press [enter]. Type [3] and press [enter]. That lowers the Cyberdemon's health from 4000 to 3. Now press [w] twice and then press [r].
      Once you are in the game, press [esc] and start a new game with the easiest difficulty. Now type [idclev32] ([idclev28] if you are playing Doom 1) to go to level 32. You want to be in lowest difficulty so you don't have to deal with all the Nazis on the way to the Cyberdemon (only applies to Doom 2). When the Cyberdemon comes out, shoot it once with the pistol. If only Doom was always this easy.
Click here for the printable version of these instructions

Rapid-Fire Shotgun
      Frames are something you'll have have to get used to if you want to do anything interesting with DeHacked. This one involves frames.
      Open up DeHacked. (Press [alt + enter] if you want full screen.) Go to the Frames menu by pressing [F3]. Find frame 21. Select the number in the "Duration" column. Press [enter]. Set it to lower number, say 2. Do the same for frames 22 and 29. Now select the number in the "Next Frame" column for frame 22 and press [enter]. Type [29] and press [enter]. What you just did was shorten and skip some of the shotgun firing frames.
      Once you are in the game, type [idfa] (the all weapons cheat) and then press [3] once (twice if you are playing Doom 2). Fire away!
Click here for the printable version of these instructions
      NOTE: The rapid-fire shotgun idea came from dhefun12.txt, a file that comes with DeHacked.


Editing Text

      The text in Doom is really just anywhere in the game that there's words. This can mean the messages that show up when you collect items, the story text, level names at the bottom in map mode, etc. These are very fun to edit. You can make them say whatever you want. The only problem is that the new text has to be within a three-character range. If you go under this limit, you can just hold [space] until it fills up the text field.
      Every text message has a "Text Offset." This is pretty much just its ID number. Here is a key to the different types of messages you can edit:

Text Offset Range

Type of Message

3004 - 3916 Doom 1 story text
4412 - 6420 Doom 2 story text
6592 - 6804 Doom 2 ending sequence enemy names
11204 - 11420 Messages about saving
11796 - 11812 Messages on/off text
11540, 11620 - 11692, 11824 - 11920 Network game text, difficulty text, etc.
11953 - 11964 High/low detail text
13060 - 13276 Key messages
13404 - 14360 Item messages
17844 - 17864 No clipping cheat on/off
17908 idbehold cheat menu
18336 - 18480 Network game messages
18520 - 19076 Doom 1 level names (at the bottom of the map)
19104 - 19856 Doom 2 level names (at the bottom of the map)



Code Pointers

      A code pointer is a command for a frame. For example, the code pointer for frame 218 (Shotgun Guy firing) means that a shotgun blast comes out of the object the code pointer applies to when that frame is shown (confusing, huh?). Frame 218's code pointer could apply to any other frame capable of having a code pointer. So for example, you could make Imps fire shotguns instead of fireballs.
      Here are some things you can do to get practice with code pointers:

Suicidal Shotgun Guys
Go to the Frames menu. Find frame 218 (Shotgun Guy firing). Select the number in the "Code Pointer" column and press [enter]. Type [127] and press [enter]. Now frame 218 has the code pointer of frame 127 (rocket blowing up). Now, when a Shotgun Guy fires, it will blow itself up.

Rocket Pistol
Change frame 14's code pointer to 61. Now the pistol fires rockets.

Cyberdemon Fires Pistol
Change the code pointers of frames 685, 687, and 689 to 185. Now the Cyberdemon fires a pistol.


DeHacked Patches

      DeHacked patches are just save files from DeHacked. That is, .txt is to a text editor as .deh (DeHacked patch) is to DeHacked. The DeHacked zip file comes with several patches.
      To use a patch file, first press [z]. This erases any changed data from the hacked Doom exe. Then press [w]. This applies the changes. Then load a patch file. After that, write the changes (press [w]) and run the game (press [r]).
      Click here to download a patch file I made (2 K). I made a lot of changes, like high-speed Zombiemen and two rapid-fire shotguns. There are a lot of swear words in the text, in case you mind. It works with Doom 2 v1.9.


Background Music From Doom 2 -- Level 30 -- Icon of Sin



Copyright © Jake Gilbert 2003-2007