Regarding ZDoom's Heretic/Hexen Support
- Xtyfe
- Posts: 1490
- Joined: Fri Dec 14, 2007 6:29 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
Regarding ZDoom's Heretic/Hexen Support
I recall hearing at one point that ZDoom originally reverse engineered code from Heretic and Hexen to make support for them GPL capable before the source code to those games were officially released under the GPL. Is this true? and if so was that code ever replaced with the official versions of them when Heretic and Hexen were released under the GPL?
- NeuralStunner
-

- Posts: 12328
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
- Contact:
Re: Regarding ZDoom's Heretic/Hexen Support
AFAIK ZDoom's only reverse engineered code is Strife support.
- esselfortium
- Posts: 3862
- Joined: Tue Sep 19, 2006 8:43 pm
- Contact:
Re: Regarding ZDoom's Heretic/Hexen Support
ZDoom itself isn't GPL-compatible, making use of code from various sources in a tangled mess of licenses that may or may not have any legal basis, so the GPL rerelease of the Raven code was a non-issue here.
- Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Regarding ZDoom's Heretic/Hexen Support
Xtyfe wrote:I recall hearing at one point that ZDoom originally reverse engineered code from Heretic and Hexen to make support for them GPL capable before the source code to those games were officially released under the GPL. Is this true? and if so was that code ever replaced with the official versions of them when Heretic and Hexen were released under the GPL?
I don't think there was any reverse engineering. Some of the initial support for Hexen had some new code based on guesswork and observation but some of it was replaced later by the original (the floor waggling the most significant, I believe.) Other code, however, kept the initial ZDoom imlementation and never went for Hexen's (ACS and earthquake handling, for example)
All the monster related Hexen and Heretic code was only added after the first non-GPL source release.
Re: Regarding ZDoom's Heretic/Hexen Support
No. The reverse engineering done on the Raven games wasn't for any GPL-related reasons; it was because the source code was unavailable at the time.Xtyfe wrote:I recall hearing at one point that ZDoom originally reverse engineered code from Heretic and Hexen to make support for them GPL capable
ZDoom itself [wiki=license]cannot use GPL code without special authorization from the right holders[/wiki].
And that isn't reverse engineering? RE is not limited to disassembly.Graf Zahl wrote:I don't think there was any reverse engineering. Some of the initial support for Hexen had some new code based on guesswork and observation
- Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Regarding ZDoom's Heretic/Hexen Support
No. Reverse engineering means to take the subject apart to see how it works, not to observe how it works. That may be nitpicky but it's an important distinction, especially legally.
- Xtyfe
- Posts: 1490
- Joined: Fri Dec 14, 2007 6:29 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
Re: Regarding ZDoom's Heretic/Hexen Support
I see then, that settles my curiosityGraf Zahl wrote:I don't think there was any reverse engineering. Some of the initial support for Hexen had some new code based on guesswork and observation but some of it was replaced later by the original (the floor waggling the most significant, I believe.) Other code, however, kept the initial ZDoom imlementation and never went for Hexen's (ACS and earthquake handling, for example)
All the monster related Hexen and Heretic code was only added after the first non-GPL source release.

