Cyberdemon
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > Chocolate Heretic HHE support
 
Author
All times are GMT. The time now is 02:25. Post New Thread    Post A Reply
fraggle
Super Moderator


Posts: 6000
Registered: 07-00


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:

code:
chocolate-heretic -deh foo.hhe


By 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:

code:
chocolate-heretic -deh foo12.hhe -hhever 1.2

code:
chocolate-heretic -deh foo13.hhe -hhever 1.3


EDIT: The Windows builds here haven't been updated since January. exp[x], can you help?

Old Post 04-18-10 17:58 #
fraggle is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 4615
Registered: 08-00


Are HHE patches really named .deh? I could see that being a problem if so.

Old Post 04-18-10 18:29 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 7046
Registered: 07-07


Not necessarily. Ichor contains the file ichor.hhe.

However, there is indeed an issue. Said ichor.hhe starts as such:
code:
Patch File for HHE v1.1 # Note: Use the pound sign ('#') to start comment lines. Heretic version = 10 Patch format = 1

There's no way from the header to tell that it is for Heretic 1.3, since 10 presumably means "1.0".

Old Post 04-18-10 18:52 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
fraggle
Super Moderator


Posts: 6000
Registered: 07-00



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.

Old Post 04-18-10 19:12 #
fraggle is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 7046
Registered: 07-07


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.

Old Post 04-18-10 19:18 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
esselfortium
Cumulonimbus Antagonistic Posting


Posts: 5268
Registered: 01-02


HHE: The most significant missed "heh" opportunity in the entire history of Doom?

Old Post 04-18-10 19:39 #
esselfortium is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
fraggle
Super Moderator


Posts: 6000
Registered: 07-00



Gez said:
Of course Chocolate doesn't load entire zips.
Well, yeah, exactly :-)

I've now added the version suggestion code.

Old Post 04-18-10 22:42 #
fraggle is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
exp(x)


Posts: 2282
Registered: 04-04



fraggle said:
exp[x], can you help?

Done.

Old Post 04-18-10 23:29 #
exp(x) is online now Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
andrewj
Senior Member


Posts: 1380
Registered: 04-02



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.

Old Post 04-19-10 02:24 #
andrewj is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
fraggle
Super Moderator


Posts: 6000
Registered: 07-00


No. When HHE was written, there was only one version (1.0).

Old Post 04-19-10 09:31 #
fraggle is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
kristus
Megablast!


Posts: 9683
Registered: 07-00


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?

Old Post 04-19-10 13:00 #
kristus is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 02:25. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > Chocolate Heretic HHE support

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Forums Directory