WhackEd4

# Introduction

WhackEd is a Windows version of the classic DOS-based DeHackEd Doom editing utility. Aside from offering pretty much all functionality of the original, WhackEd adds support for Boom extended features and several other source-port specific features. It also offers a number of features to make creating DeHackEd patches much easier.

## DeHackEd

From the DeHackEd entry on the Doom Wiki:

> DeHackEd is an editor originally created for vanilla Doom that allows the operation of the executable to be changed. It was developed by Greg Lewis. Hit points, sounds, frame sequences, text strings and several other miscellaneous values can be changed. Modifications can be distributed in the form of DeHackEd "patches" which can be applied to the executable.

> Boom included the ability to load DeHackEd patches and affect changes to the game upon startup without any modification to the executable file. Other source-ports added similar functionality, and command-line loadable DeHackEd support is now common with most modern source-ports. Boom also provided the BEX (Boom EXtended) extensions for DeHackEd support. BEX allows greater flexibility in string editing, application of codepointers to any frame, and extra codepointers.

For a full tutorial on how to create DeHackEd patches see Enjay's DeHackEd tutorials. Take note though that some terminology is different in WhackEd to make certain things less confusing and to line up better with the Doom source code.

- Frames are called states to prevent confusion with sprite frames and to match the Doom source code;
- codepointers are called actions since the actual codepointer values are no longer visible to users of WhackEd.

## Additional features

A list of features WhackEd adds over the original DeHackEd:

- Display sprite previews of the items you are working on from a list of loaded PWADs;
- displaying a preview of state animation complete with sound playback;
- state filtering for things, weapons, or unused states;
- undo functionality for each separate editor;
- copy and paste functionality for things and states;
- sprite selection filtering;
- Doom 1.9, Ultimate Doom 1.9, Boom, Marine's Best Friend (MBF), ZDaemon and Doom Retro engine support;
- state highlighting based on sprite index;
- IWAD, PWAD and window positions are stored separately from the Dehacked file;
- support for advanced engines like MBF and ZDaemon.