Dshrink

From DoomWiki.org

Revision as of 08:30, 13 March 2021 by Redneckerz (talk | contribs) (Revision: Capitalization for clarity)


Dshrink
Developer(s) Rand Phares
Initial release 1994 (30 years ago)
Development status Inactive
Written in C
Target Platform DOS

Dshrink is a command line utility to compress the SIDEDEFS lump in WAD files. It was written in 1994 by Rand Phares and ran in DOS. The binaries were never officially released in a standalone ZIP format file. The executable was packaged alongside Doom episode replacement Cleimos created by Rand and Steven Phares. In 1998, Eric James Roberts (Ricrob) made {{c|DSHRINK.ZIP]] available for download on his Doomworld-hosted web page. It was also published on Doomworld's "Editors & Utilities" section.

Dshrink will remove redundant sidedefs from levels by making many linedefs share one sidedef when all properties are the same. This sidedef compression will shrink the WAD file size. It will also permit larger levels to fit within sidedef limits of the original engine.

A WAD file output by Dshrink can be read and displayed by level editors but it can no longer be modified. Updating a level with compressed sidedefs will result in corrupt linedefs. Dshrink is unable to uncompress sidedefs to output a WAD file that be edited.

In 1998, Jim Flynn created counterpart tool Ushrink that will uncompress sidedefs and allow the level to again be edited.

External Links