
* EDIT - 2007/10/10 - UPDATED *
http://www.martinsobservationpost.net/s ... elease.zip
Code: Select all
PRERELEASE SOFTWARE! SEEMS TO WORK OK BUT DON'T BET YOUR LIFE ON IT!
DeuTex 4.4.2 2007-10-10
Conditional (new in deutex.h):
#define USESND22050 /* allow 22050Hz sounds instead of complaining */
#define USEOLDTRANS /* use 0,255,255 transparency color by default */
#define SCRIPTINMAP /* recognise SCRIPTS as map lump (hexen/zdoom) */
These are all turned on in the included deutex.exe. Comment out and
recompile if ya don't like em.
Unconditional:
Support for MSVC on Win32. Especially fixed problems in endianio.c
caused by assumption that the expressions would not be reordered;
with older compilers that was probably true, but there is a reason
your CS tutor told you not to use side-effect-bearing functions in
arithmetic expressions and (s)he was right. So there :P
Support for TX_START/TX_END single-patch textures (ZDoom). This version
of Deutex calls 'em "singles"; use -singles to select on command line
and [singles] (optionally with insertion point) in a wadinfo.txt file.
Default insertion point set to (width/2,height-5) because that is what
is used for wall patches and that is what these really are.
Tested for extract and compose, but not for merge. Testing and, if
needed fixing, for this is not a priority, since after all, who the
heck needs DeuSF nowadays :)
No support yet for PNGs etc., only the normal Doom Pic format.
Write the code yourself (or pay me £8,000,000 in used banknotes :))
This is not the full deutex distribution, that will come later; it
would normally be passed on to André Majorel, but want a bit of
peer-review from the (G)ZDoomers first. Expect release eventually.
Updated 2007-10-10:
New options:
-acslibs (opt.) Select acslibs (ACS libraries between A_START/A_END).
Does what it says in the summary. These are now extracted to/composed from
new directory "acslibs" / wadinfo.txt section "[acslibs]". Physically, they
are loaded/saved as raw lumps so are completely unmodified by the program.
EXTRACTION
DeuTex looks between A_START and A_END markers and checks for the magic code
ACS and a size of 4 or more; such a lump is saved as LUMPNAME.o. If the lump
IMMEDIATELY following is SCRIPTS/SCRIPT[0-9][0-9] it is saved as LUMPNAME.acs.
COMPOSITION
Use [acslibs] as section header in wadinfo.txt. There is no need to explicitly
name the ACS file as well as the object file; given LUMPNAME, DeuTex expects
to find LUMPNAME.o in the ACSLIBS subdirectory. There doesn't also have to be
LUMPNAME.acs, but if it is present, DeuTex positions it immediately after
LUMPNAME in the WAD directory and calls it SCRIPTS. Of course, DeuTex creates
the A_START and A_END markers automatically.
-clrmaps (opt.) Select clrmaps (colormaps between C_START/C_END).
Does what it says in the summary. These are now extracted to/composed from
new directory "clrmaps" / wadinfo.txt section "[clrmaps]". Physically, they
are loaded/saved as raw lumps so are completely unmodified by the program.
-sndid (opt.) Use old sound identification method.
By default, 4.4.2 checks the contents of a sound lump and ignores
the name; needed because several mods use raw wave files and/or
non ds-named doom-format sound lumps. To force normal "DS..."
behaviour use this options.
-modern (opt.) Compose using S_START/S_END/F_START/F_END/P_START/P_END.
Like the -george/-s_end option, but used for all six markers. Intended for
modern source ports that don't need list marker hacks in PWADs AT ALL.
-convwav (opt.) Use WAVes by converting them to DOOM sound format.
This merely specifies the default behaviour. WAVe files are loaded by
converting to DOOM SND format.
-keepwav (opt.) Use WAVes directly; don't convert to DOOM sound format.
This tells DeuTex to load WAV files without converting them; in other words,
they are loaded byte for byte like plain data lumps. This option is provided
because some PWAD authors prefer to embed normal "WAV" files in PWADs, as
many source ports can read them.
-keepmid (opt.) Use MIDIs directly; don't convert to DOOM music format.
This merely specifies the default behaviour that has been added in this version.
MIDI files are loaded byte for byte like plain data lumps. This option is
provided because some PWAD authors prefer to embed full MIDI files in PWADs,
as many source ports can read them.
NOTE:
-convmid (opt.) Use MIDIs by converting them to DOOM music format.
This option DOES NOT EXIST! It would involve a fair amount of work to do, but
since most modern source ports can read full MIDI files, there isn't a lot of
point in adding it. I can add it if somebody points me to a good code source.
New functionality:
DeuTex can recognise raw WAVE and MIDI files and output them during extract, and
to the correct directories, instead of treating them as lumps. It will also accept
them during compose, as described above.
When extracting, if sound format is set to AU or VOC, a warning will be issued
if a raw WAVE lump is encountered and the lump will be saved in the SOUNDS
directory, but as a WAVE file. Conversion from raw WAVE to AU or VOC is likely
possible, but not a priority. Does anybody still use these formats?
Martin Howe
10th October 2007
