Fancy logo
Yadex $VERSION ($SOURCE_DATE)

Yadex game definition files




Magic string

A file is a valid Yadex game definition file if its first line contains exactly the following characters : "# Yadex game definition file version 2" (without the double quotes).

Contents

The contents are pretty self explanatory. Some things worth noting :

ldt file has changed.

Defines a linedef type.

ldtgroup

Defines a group of linedef types.

level_format

Indicates the format in which levels are stored in the wad. There is only one argument. It can have the following values :

Value Meaning
alpha Doom alpha format, 7 directory entries per level (label, FLATNAME, POINTS, LINES, SECTORS and THINGS).
doom Normal Doom format, 11 directory entries per level (label, THINGS, LINEDEFS, SIDEDEFS, VERTEXES, SEGS, SSECTORS, NODES, SECTORS, REJECT and BLOCKMAP).
hexen Hexen format, 12 directory entries per level (same as for doom then BEHAVIOR).

Reading is supported for all formats but writing is not supported for hexen. For alpha, writing is done in doom format.

This directive is mandatory. If there are several level_format directives, it's the last one that counts.

level_name

Indicates whether the level names for that game are of the form EnMn or of the form MAPnm. There is only one argument. It can have the following values :

Value Meaning
e1m1 EnMm (Doom, Doom press release and Heretic).
e1m10 EnMm or EiMjk (Doom alpha only)
map01 MAPnm (Doom II, Hexen and Strife).

The influence of this directive on the behaviour of Yadex is in the choice of the default name for new levels and the way shorthand arguments to the edit and create commands are interpreted.

This directive is mandatory. If there are several level_name directives, it's the last one that counts.

picture_format

Indicates in which format the pictures are stored in the wads. There is only one argument. It can have the following values :

Value Meaning
alpha The obsolete format used in Doom alpha 0.2, 0.4 and 0.5.
pr The obsolete format used in the Doom press release pre-beta.
normal The normal format used by all other iwads.

This directive is optional. If it's missing, the default is normal. If it's repeated, it's the last occurrence that counts.

st

Defines a sector type.

texture_format

Indicates in which format the textures are stored in the wads. There is only one argument. It can have the following values :

Value Meaning
nameless The obsolete format used in Doom alpha 0.4 (no texture names).
strife11 The format used by Strife 1.1 and later. Note that Strife 1.0 uses the regular format (normal).
normal The normal format used by all other iwads.

This directive is optional. If it's missing, the default is normal. If it's repeated, it's the last occurrence that counts.

texture_lumps

Indicates in which lump(s) is the list of textures for that game. There is only one argument. It can have the following values :

Value Meaning
textures There is only one lump and it's called TEXTURES (Doom alpha 0.4 and 0.5).
none There is no textures lump (Doom alpha 0.2)
normal There is TEXTURE1 and optionally TEXTURE2 (all other iwads).

This directive is optional. If it's missing, the default is normal. If it's repeated, it's the last occurrence that counts.

thing

Provides the information relative to a thing number. The "flags" field can be either "s" for things that have a spectral look (that is spectres) and "-" for the others.

thinggroup

All things defined through the thing directive must belong to a thing group. The thinggroup directive is used to define a thing group.


AYM $SELF_DATE