DOOMIM - DOOM Resource Import Utility Version 1.0 as of 9/1/94 NOTICE: The author of DOOMEX, DOOMIM, and DOOMCV will not be held responsible for damage or problems that may occur through use of this software. You accept full responsibility for the consequences of using this software. DOOMIM is part of a collection of 3 utilities used to import, export, and convert the resource objects in any DOOM WAD file. The other 2 programs in this set are DOOMEX, for exporting and converting resource objects in a DOOM wad file to individual files, and DOOMCV, the batch resource conversion utility. DOOMIM is a very simple program to use. It is batch-oriented, taking all files located in a special batch processing file and generating a new WAD file using an existing WAD file or a new PWAD file. You must run DOOMCV first to convert resources into DOOM resource image files (DRI). See DOOMCV.DOC. DOOMIM accepts one of three command line formats: 1. doomim -r 2. doomim -a 3. doomim -n Format 1 will replace the existing entries in a wad file with the entries in the batch file. Format 2 will add the entries in the batch file as new entries to the existing wad file. Format 3 will create a new PWAD file using the entries in the batch file. The batch file is a standard DOS text file that contains WAD directory entries, 1 per line. Each line contains a pair of names. The first name is the file name without the DRI extension. The second name is the actual WAD entry name. Separate the names with a comma. In most every case, you can keep the two names identical, since DOOMEX will use the WAD entry name as the file name UNLESS the WAD entry name uses illegal DOS file name characters. In this case, the file name will have to be different than the WAD entry name. An example of replacing the chainsaw sounds in the WAD file is shown by the following batch entries (assume that the batch file is called chain.txt): DSSAWUP,DSSWAUP DSSAWIDL,DSSAWIDL DSSAWFUL,DSSAWFUL DSSAWHIT,DSSAWHIT To make a new PWAD file, just enter the following command line: doomim -n chain.txt chain.wad If you want to replace the chainsaw sounds in an existing wad, use: doomim -r chain.txt doom.wad newdoom.wad Creating a new PWAD file is easiest, since it isn't necessary to rebuild an existing WAD file. If you modify the original IWAD file, make sure you rename the new WAD file to DOOM.WAD and keep the existing IWAD as a backup. The 'r' and 'a' options will take a long time to execute, since the entire WAD file will be rebuilt to the new wad file name. All entries that do not match any in the batch file will be written to the new WAD file unchanged. All entries that match when using the 'r' option will be replaced. All entries in the batch file using the 'a' option will be added to the END of all other entries in the existing WAD file. Warning: If the WAD file already contains matching entries using the 'a' option, you will create duplicate entries in the WAD file. Make sure this doesn't happen. NOTES: 1. Batch file text must ALWAYS be in upper case. 2. Batch files that contain a map resource image file must be handled differently because DOOMCV will generate a DRI file that contains all resources for one DOOM level (as many as 10 resource objects). To import a map level DRI file, just use the map level name as the file name and use an asterisk (*) as the WAD entry name, as shown below: contents of map.txt batch file: E1M1,* To import this into a new patch WAD file: doomim -n map.txt newlev.wad Comments/Suggestions to: Alan Peters 5475 Turney Drive Mississauga, Ontario Canada L5M 1A3