GitExl / WhackEd4

As a replacement for the DOS-based Dehacked, WhackEd4 allows you to load and edit Doom Dehacked files.
http://www.teamhellspawn.com/exl/whacked4
BSD 2-Clause "Simplified" License
43 stars 7 forks source link

Add IWAD detection for chex.wad and chex3.wad (official version). #41

Closed Acts19quiz closed 4 months ago

Acts19quiz commented 5 months ago

Currently, chex.wad and chex3.wad (official version, not to be confused with a fan-made WAD from around 2000) aren't detected as IWADs by WhackEd4, forcing users making DeHackEd or BEX patches for those IWADs to use (or buy) a commercial IWAD.

This is due to the fact that the only way WhackEd4 checks for IWADs is for the IWAD identifier placed as plain text in the beginning of WAD files. However, most modern WAD editors (including those used by Digital Cafe in 1996) use the PWAD tag by default, creating IWADs with the PWAD tag. This is not a reliable means to check whether something is an IWAD or not.

This patch addresses issue #38.