SWWADRED.EXE Last Change in this file: 17/Jun/1998. SWWADRED version 05/98, by V. Semerad, vsemerad@cpoj.cz. Syntax: SWWADRED file [file...] [-V] or SWWADRED /? = this help. A WAD file can be reduced if the program finds 2 (partially) equal ENTRies; one of them is substituted by another. The program also excludes "NULL"-entries and comments in ENTRY ExMx or MAPxx). The original IWAD DOOM ][ v.1.666 can be reduced by 1,5 MB (!). Warning: programs like NWT, DEU, DCK restore original length of such files and after editing WAD by DCK, NWT, DEU etc. you must repeat the reduction process. In SWWADRED.INI you can place "aliases". For instance if you create aliases (D_RUNNIN D_E1M1 etc.) in "music WAD", you make it universal. DOOM 1 accepts D_E1M1, DOOM II D_RUNNIN. In SWWADRED.ALI you can declare "comments". What does this mean? ENTRY ExMx (MAPxx) are usually empty, but you can insert some comments there. The DOOM engine ignores them, but the SWWADPRN program shows and prints WAD maps with these comments. This is a small change only, but useful for archive purposes. Program SWWADRED can generate "Titles" - small texts 12 pixels high, used as entries WILV00-WILV38 in DOOM 1, CWILV00-CWILV31 in DOOM2, M_EPI1 - M_EPI4 (for DOOM 1) or others. You can use characters A-Z (=a-z), 0-9, apostrophies, characters ".",":","?","!" and: "@"=skull,","=fire,"*"=red star,"~"=satan cross. You can also change colors: ("="=gray, "+"=green, "#"=red, "%"=blue and "\"=yellow), example: =Sa#~=an#'=s +G\a%r#d=e+n The following example is a better illustration (part of swwadred.ali for MYWAD.WAD: MYWAD E1M1 My name, date MYWAD WILV00 =trip #~=o #hell @ MYWAD,E1M2 copied from BBS MYWAD/WILV01 #Hell's =request Mywad/M_epi3 #TRIP INTO HELL this means add into WAD E1M1 the comment "My name, date", (for program SWWADPRN), generate title WILV00 "TRIP tO HELL" (+skull, "t" is satan's cross and "HELL" will be red). E1M2 is modified too. M_EPI3 replaces title of all episode 3 ("Inferno"). Or one can use a command-line: SWWADRED my.wad MAP01=01/98 CWILV00=#Hell_=Trip (characters "_" will be replaced by spaces). In File names you can use "?","*" (SWWADRED S*.WAD). The original file will be changed into ".BAK". Parameter "-C" switch into Czech, "E" into english Parameter "-X" returns "reductions" into original Parameter "-N" keeps "reductions", but not make new Parameter "-S" sorts levels Parameter "-K" keep "aliases" Parameter "-V" means Verbose.