DoomEd (original) (raw)
DoomEd running in NeXTSTEP.
This article is about the editor from id Software. For Geoff Allan's editor, see DoomEd 4.2.
DoomEd was the level editor used by id Software and Raven Software to create levels. It was written in Objective-C for the NeXTSTEP operating system. Contrary to editors created by the community, it did not work directly on WAD files, but only on a text format that was then compiled into a binary-format map by DoomBSP; both tools were meant to be used in tandem.
Contents
Information[edit]
DoomEd running full screen with a complete NeXT toolbar.
Although neither DoomEd nor its source code were released until April 21, 2015, a certain number of factoids were known beforehand, revealed by its developers, notably John Romero (who programmed it) and Michael Raymond-Judy (who used it for Heretic and Hexen).
- The editor used ASCII text files to save level data, which was then compiled into a binary form by the node builder. This was useful during Doom development since the format in which the maps are read by the game changed (see the Alpha articles for more information on this subject).
- The editor only saved lines and things. Vertices, sidedefs and sectors were extrapolated from line properties by the node builder. This explains some of the map errors contained in the IWADs, such as E3M8.
- For editing sector info, a sector inspector panel was present in the interface. Left-clicking inside a sector would use a flood-fill pattern to find all the lines bordering the area clicked and set their sector definitions to that defined in the panel. Right-clicking inside a sector would update the panel with the property of the chosen sector, presumably retrieved from the first line detected by the flood-fill algorithm.
- The map compiler creates sectors from lines with identical sectordefs. For this reason, id mappers would put meaningless dummy tags on the sectordefs of lines whose sectors should not be merged despite being initially identical. This can notably be seen with stair builders.
- Things were represented by colored squares.
- A visual texture selector was included (at least for flats).
- The X and Y offsets for texture alignment on sidedefs were called "firstrow" and "firstcol".
- New textures could be created from patches from within the editor.
- Line specials had names derived from their internal names in the Doom engine, e.g. "Button_Plat_Down_Wait_Up_Stay". The specials were listed alphabetically rather than through their numerical value.
Map source format[edit]
The format used to store map data is made of three parts: a header, a line block, and a thing block. An empty line separates each section.
The header is merely the line "WorldServer version 4
". It is unknown if previous versions of WorldServer corresponded to editors for earlier id games, or for the alpha versions of Doom.
The line block begins with a counter of the form "lines:<number>
"; for example "lines:475
" for E1M1. Line definitions follow in order immediately afterwards. A full line definition is of this form, describing first the vertices and the line attributes, then the first side's sidedef and sector, and finally the second side's sidedef and sector.
(,) to (,) : : : ( : / / ) : : ( : / / ) : :
If the line is not double-sided, the second side's two lines of definitions are entirely omitted.
The thing block likewise begins with a counter of the form "things:<number>
"; for example "things:138
" for E1M1. Since things do not have to contain ancillary objects (vertexes, sides and sectors) in their own data, a thing definition uses a single line, of this form:
(,, ) :,
Release[edit]
In a January 2015 interview, John Romero stated, "I recently gave the source to DoomEd to somebody to put on OSX, so that may happen."[1] The Mac OS X operating system was designed to be the successor of NeXTSTEP, and had many of the same functions and utilities that were also based on the C and Objective-C programming languages. It later transpired that the person who he gave the source files to was Simon Howard (Fraggle), who placed his then-incomplete port on GitHub.[2]
John himself later uploaded the source code to Dropbox and advertised its availability on the Doomworld forums on April 21, 2015.[3] He then immediately followed up by releasing the original DWD source code files for Doom, The Ultimate Doom, and Doom II, including various backups and apparently unused maps.
In January 2020, an independently-developed macOS/Linux/BSD port of the DoomEd sources, called "ReDoomEd", was released by Twilight Edge Software.[4][5]
Sources[edit]
- Romero explains the Sector Inspector panel
- Romero is quoted about sectors
- Michael Raymond-Judy talks about firstrow and firstcol (archived 🏛)
- A screenshot of DoomEd is featured on this article
- A better resolution picture of DoomEd posted on Twitter.
External links[edit]
- Project by Simon Howard (Fraggle) to port the DoomEd source to Mac OS X
- ReDoomEd - Mac/Linux/BSD port of DoomEd
References[edit]
- ↑ Romero, John (20 January 2015). "Devs Play Doom." YouTube. Retrieved 21 January 2015.
- ↑ Howard, Simon (22 April 2015). "DoomEd Project." GitHub.
- ↑ Romero, John (21 April 2015). "More goodies from Romero (DoomEd source, maps, graphics)." Doomworld forums. Retrieved 21 April 2015.
- ↑ tedge (9 January 2020). "ReDoomEd: Mac/Linux/BSD port of id Software's 1993 Doom map editor for NeXTSTEP." Doomworld forums. Retrieved 31 January 2020.
- ↑ Palacio, Daniel (26 January 2020). "'ReDoomEd', a port of the original Doom level editor, was released on Linux." GamingOnLinux. Retrieved 28 December 2023.