fraggle Posted April 18, 2010 Following much reverse engineering, Chocolate Heretic can now load HHE patches generated for Heretic v1.0, 1.2 and 1.3. As far as I know this is the first source port to support HHE patches, and I can understand why - they have a strong dependency on the executable that was used to generate them, so HHE support is significantly more difficult to implement than DEH support is in Doom. If anyone is interested, I would appreciate some help in testing this feature out. I've already found some HHE patches in /idgames, which I've listed here. I've tested most of these out already, but does anyone know of any other patches? Loading a HHE patch is the same as a DEH patch: chocolate-heretic -deh foo.hheBy default it assumes that patches were made for Heretic 1.0 (which is how HHE 1.1 is configured to behave unless you apply this change to hhe.ini). However, some patches are for v1.2 or v1.3; to specify a different version, use the -hhever command line option: chocolate-heretic -deh foo12.hhe -hhever 1.2chocolate-heretic -deh foo13.hhe -hhever 1.3EDIT: The Windows builds here haven't been updated since January. exp[x], can you help? 1 Quote Share this post Link to post
Quasar Posted April 18, 2010 Are HHE patches really named .deh? I could see that being a problem if so. 0 Quote Share this post Link to post
Gez Posted April 18, 2010 Not necessarily. Ichor contains the file ichor.hhe. However, there is indeed an issue. Said ichor.hhe starts as such:Patch File for HHE v1.1 # Note: Use the pound sign ('#') to start comment lines. Heretic version = 10 Patch format = 1There's no way from the header to tell that it is for Heretic 1.3, since 10 presumably means "1.0". 0 Quote Share this post Link to post
fraggle Posted April 18, 2010 Quasar said:Are HHE patches really named .deh? I could see that being a problem if so. That was a mistake, sorry :-) Gez said:There's no way from the header to tell that it is for Heretic 1.3, since 10 presumably means "1.0". HHE was made for Heretic 1.0, but you can make it work with 1.2/1.3 by tweaking the configuration file. Because of the design of the HHE patch file format, and because of changes to the executables, patches for one version will not work properly with others. One thing that I'm planning to add is a version suggestion feature; currently you get an error message for some patches if you use the wrong version; it should be possible to make a decent guess as to the correct version in a lot of cases and suggest this as part of the error message. 0 Quote Share this post Link to post
Gez Posted April 18, 2010 Looking at your list, it seems a way to automatically detect the version used would be to load the entire zip and scan it for hhe.ini. If such a file is not present, it can be assumed it's 1.0. If found, then it can be read and the offsets can be compared to known values to find whether it's 1.2 or 1.3. Of course Chocolate doesn't load entire zips. 0 Quote Share this post Link to post
esselfortium Posted April 18, 2010 HHE: The most significant missed "heh" opportunity in the entire history of Doom? 0 Quote Share this post Link to post
fraggle Posted April 18, 2010 Gez said:Of course Chocolate doesn't load entire zips. Well, yeah, exactly :-) I've now added the version suggestion code. 0 Quote Share this post Link to post
exp(x) Posted April 18, 2010 fraggle said:exp[x], can you help? Done. 0 Quote Share this post Link to post
andrewj Posted April 19, 2010 Gez said:There's no way from the header to tell that it is for Heretic 1.3, since 10 presumably means "1.0". So the HHE author had a perfectly good way to specify the game version and DID NOT implement it? Argghhh! Breaking standards really pisses me off. 0 Quote Share this post Link to post
fraggle Posted April 19, 2010 No. When HHE was written, there was only one version (1.0). 0 Quote Share this post Link to post
kristus Posted April 19, 2010 HHE patch I didn't see in the list: http://www.doomworld.com/idgames/index.php?id=7786 http://www.doomworld.com/idgames/index.php?id=7784 http://www.doomworld.com/idgames/index.php?id=7785 Possibly the ONLY Heretic TC there is? 0 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.