Heretic128

Heretic128 is a source modification created by Adam Bilbrough (Gibbon). It is derived from the recreated and reverse-engineered works of the gamesrc-ver-recreation project and Doom128 itself, providing further increased static limits to reduce the risk of crashes, premature program exits and certain visual problems, while maintaining full compatibility with the original executable, including the usage of the original DMX sound engine.

It allows several WADs to be playable in the vanilla engine that previously required a limit-removing source port to be run.

Its exact file names are:
 * for the Heretic: Shadow of the Serpent Riders version 1.3 executable
 * for the registered version 1.0 executable

History
After releasing the Doom128 modification, Gibbon instantly went to work on making a version for Heretic for. The work done on Doom128 was used as a basis to increase the limits. A first release followed om February 10, 2022. It increased the limits imposed by Doom128 by a factor 16 and was built for version 1.3 of the executable.

A second release followed a day later, increasing the stack size to 4096 and fixing the Tutti-frutti effect bug, as well as increasing the limits for the original version 1.0 executable. A Doomworld thread discussing Heretic128 was made on February 17, 2022.

Raised limits
The following static limits are raised in Heretic128. limit                        : old    * k   = new --- visplanes[MAXVISPLANES]      : 1024   * 16  = 16384 drawsegs[MAXDRAWSEGS]        : 2048   * 16  = 32768 SAVEGAMESIZE                 : Depends on version activeplats[MAXPLATS]        : 7680   * 16  = 122880 vissprites[MAXVISSPRITE]     : 1024   * 16  = 16384 linespeciallist[MAXLINEANIMS] : 16384 * 16  = 262144 openings[MAXOPENINGS]        : 200 * 256 * 16  = 819200

Heretic 1.0: SAVEGAMESIZE 0x20000 * 16 Heretic 1.3: SAVEGAMESIZE 0x30000 * 16
 * relies on the constant, which is 200 (from a 320x200 screen, which is what is used in Heretic.
 * relies on both the and  constant, divided by 2 +  / 2 + 1) * ).
 * is also increased by a factor 16, but depends on the version used:

Additional features
Outside of the raised limits, Heretic128 includes additional features:
 * The lump stack is increased from 64 KB to 4096 KB, allowing more lumps to be loaded in
 * error is now non fatal, taken from Crispy Doom
 * The Tutti-frutti effect bug is fixed, taken from Crispy Doom and Russian Doom