RESGen is a tool to create res (resource) files for Half-Life.
If a Half-Life map has a corresponding res file, Half-Life is able to send
all resources the map uses to the clients, if they don't already have them.
This helps a great deal when running a server with custom maps, rather than
the default ones. Most players do not have these custom maps and the resources
that should go with them. The res file enables them to download the map from
the server via Half-Life and start playing right away. The problem with res
files, however, is that it can take hours to create one if the resources used
by a map are not known.
RESGen can shorten this time to mere seconds. It reads the maps BSP file
and searches it for used resources. The results of this search are then used
to create the res file.
Changelog:
2.0.2:
- Bugfix: Fixed flawed logic that caused RESGen not to parse skynames and
in some cases of non-standard BSP styles, the wad files. Thanks go to
jtp10181 for finding this bug and suggesting a fix.
2.0.1:
- Bugfix: Fixed minor bug in VString class that could occur if an empty
string was concatenated with an existing. No know instances of this have
occured because RESGen uses several sanity checks before doing string
operations.
- Fix: RESGen only supported BSP files generated on Windows or Unix/Linux
because of the way line endings are handeled. Support for BSP files
generated on a Mac/Apple (or using Apple style newlines) has been added.
- Note: Decided to release this version as 'final' version 2. Note that
this doesn't exclude any future bugfixes. It's just to indicate the current
maturity of RESGen 2.
2.0 RC2:
- Bugfix: Fixed bug in exclude file parsing. When the parser encountered a
comment it would consider every following line a comment as well because it
failed to clear the line buffer.
- Bugfix: Fixed bug with loading exclude files. Forgot to convert
backslashes to slashes, which means that any exclude located in a folder
would never be matched if the exclude file used Windows format.