home *** CD-ROM | disk | FTP | other *** search
- Thing Utils, by Tom Wheeley. | <tomw@tsys.demon.co.uk> | <splitbung>
- ------------------------------+---------------------------+--------------
-
- Synopsis
- --------
-
- Thing utils at last offer you an extremely pain-free method to distribute
- and use Modified Quake Maps.
-
- Thing Utils give the benefits of:
-
- o Legal to distribute (no textures or map design info)
- o Tiny file size (map test1 only takes 9k, not 580k!)
- o easy to edit. You can edit the .THG file directly.
- o No unpacking of id.pak required whatsoever.
-
-
- Basic Idea:
- -----------
-
- The map author runs EXTHING on their BSP file, which then creates a tiny
- THG file. This can be edited in something like MS Edit, vi, Notepad etc.
-
- The author writes an accompanying .TXT file, zips up the level, and sends
- it to a QUAKE ftp site (eg ftp.cdrom.com or ftp.stomped.com).
-
- Mr QuakePlayer downloads the zip, and runs UPTHING, perhaps via a batch file
- or shell script written by the author. This creates a new map files, which
- they can run immediately from QUAKE.
-
-
- Features of the Utilities
- -------------------------
-
- o Automatic accessing of the PAK file.
-
- Both UPTHING and EXTHING can access the master id levels inside the
- id1.pak file, so you don't need to unpack it. (Although if you do, take
- a look at XPAK (DOS only at present, Linux port in pipeline) :-)
-
- You can use this feature as follows:
-
- Instead of typing: exthing test1.bsp
- one could type: exthing id1.pak@maps/test1.bsp
-
- Where the name before the `@' sign is the name of the pak file (almost
- invariably id1.pak), and the name after is the directory name of the map.
- Valid names in the Quake Test 1 release are:
-
- maps/test1.bsp
- maps/test2.bsp
- maps/test3.bsp
-
- Note the forward slashes (backslashes will not work!).
- Perhaps more importantly, UPTHING supports this feature too, so your
- end users will not have to unpack their .PAK file to play your level.
-
-
- o Automatic CR / CRLF conversion
-
- To facilitate DOS users, EXTHING will convert the things lump to DOS
- style ascii codes (with CRLF pairs). This makes it easier for you to
- edit, especially with old editors. This does not happen in the Linux
- version, as Linux does not use CRLF pairs.
-
- In order that Quake can cope (I expect), the thing list is converted
- pack into UNIX style ascii codes (LF only) for inclusion in the BSP.
- This all occurs transparently, so you won't really notice it. This is
- also done in the Linux version, so Linuxers can play Dossers maps :)
-
- o Automatic Back-ups
-
- Both EXTHING and UPTHING will create backups of any existing files
- they try to write over. They will delete existing backups of those
- files. Backups end with the extension .BAK. This is not yet
- implemented in the Linux version.
-
-
- Using EXTHING
- -------------
-
- EXTHING is the easier of the two packages to use, as you just type:
-
- exthing bspfile thingfile
-
- Where `bspfile' is the name of the BSP you want to edit / have edited, and
- thingfile is the name of the file you want the things info to end up in.
- EXTHING will supply a name for the thingfile if you omit it. (easier!).
-
- Note also that `bspfile' can reference a BSP file within a PAK file. See
- Above for details of syntax.
-
-
- Using UPTHING
- -------------
-
- UPTHING, unfortunately, is a bit more complex, mainly as it has three files
- to deal with:
-
- upthing srcfile thingfile outfile
-
- Where `srcfile' is the same file as `bspfile' in EXTHING and `thingfile' is
- the file distributed as the new map. `outfile' is an optional parameter
- specifying the name of the new BSP file.
-
- An UPTHING instruction sheet is provided for possible editing and sending
- on to end users of your maps.
-
- SHORTCUTS
- ---------
-
- All files have a default extension:
-
- Pack files: .pak
- BSP files: .bsp
- Thing files: .thg
-
- Omitting the extension in a command line argument will cause the default
- extension to be added.
-
- The destination files (exthing: .thg file; upthing: .bsp file) default to
- the most logical name (exthing: name of the source BSP; upthing: name of the
- thing file), but with the proper default extension for the new file.
-
- The full `pathname' for a PACK directory name does not have to be entered; the
- final `filename' will do.
-
- examples:
-
- exthing id1@test3
-
- Will produce a thing file test3.thg from maps/test3.bsp in id1.pak. Note
- that there is a bug here in the Linux version. Read LINUX.TXT.
-
- upthing id1@test3 test3
-
- Will produce a new BSP file test3.bsp in the current directory from the
- bsp file maps/test3.bsp in id1.pak, and the thing file test3.thg.
-
-
- BUGS
- ----
-
- I haven't added any nice error handling, really. Some hints:
-
- Runtime Error 2 is FILE NOT FOUND
- " " 3 is PATH NOT FOUND
- a copy: size mismatch error usually means you have run out of disk space
-
- There is a wierdo bug in the Linux version. Read LINUX.TXT for details
-
- AUTHOR
- ------
-
- Thing Utilities were written by Tom Wheeley <tomw@tsys.demon.co.uk>.
- Read MSDOS.TXT or LINUX.TXT for details on obtaining source code.
-
- SUPPORT ENQUIRIES TO <support@tsys.demon.co.uk> PLEASE! :-)
-