Are there any new HAM editors?

All about modding, mapping and modeling for D2X-XL

Moderators: Frustikus, simX, Aus-RED-5

Posts: 29
Joined: Mon Jan 30, 2012 11:07 pm

Are there any new HAM editors?

Postby Xfing » Tue Jul 01, 2014 8:15 pm


I have been using Haxmed32, a hacked version that allows you to permanently alter the elements of the main HAM file of the game. However, while it can edit existing elements, it doesn't allow for adding, removing or overwriting them. Also, it doesn't allow to do more subtle kind of work, such as make connections from its elements to elements in say, the .S22 sound file.

Maybe I'll just tell what I need to do in the first place:

I have succeeded in inserting additional sound files into Descent2.S22 - ones extracted from D1 and upscaled to 22khz using sndrec32 (They actually sound very good). They can be examined in DTX2 and all appear in the "Others" tab. However, these files aren't recognized by Descent2.HAM, so you cannot assign them to robots or doors using Haxmed32. There are 255 "elements" in the Sounds_2 tab (one presumably dealing with the 22kHz variant, the Sound_1 tab is all over the place anyway and I don't really know what it does, what's written there doesn't reflect in the game at all). Some of the sound objects carry no sound with them - actually over a good 60 of them. But the version of Haxmed32 that I have doesn't allow for editing the objects themselves, like inserting, deleting or replacing. Whenever one of these is attempted, the program gives a message saying "Deleting from DESCENT2.HAM is not supported!" It is, however, possible to extract these sound objects, and they come in .SOU format. But that's no good since rewriting such files is impossible in the HAM using Haxmed32, and there is no option to create such a category in a V-HAM addon file.

Even if the above were possible, though, there's still the question of seeing the new sounds within Descent.S22. A mere replacement of existing sounds is hilariously easy, but is it possible to make the HAM file acknowledge the new, imported sounds? There's some 15 of them, it's generally robots and doors, but also some sounds used in D1 and altered in D2 added in for the sake of completeness. If I could by some chance make the HAM file see the new sound files, the rest of the work could very easily be completed in Haxmed32. But that's the biggest challenge here.

If tl;dr

My question is basically: Is there any piece of software or any other means that would allow me to alter Descent2.HAM in such a way that it would recognize new .RAW sound files inserted into Descent2.S22 to enable me to assign them to robots, doors etc?
User avatar
D2X-XL Expert
D2X-XL Expert
Posts: 1437
Joined: Tue Sep 25, 2007 9:28 pm
Location: Here :)

Re: Are there any new HAM editors?

Postby Pumo » Tue Jul 01, 2014 8:45 pm

Some time ago, InsanityBringer was making a new editor that would allow to edit all kind of Descent files, including PIG, HOG, HAM and S11/S22 files, but AFAIK he never finished it. :(

Here's more info, if you may want to contact him: ... l#msg14334
[Pumo software main website] - Pumo Mines current progress: 60%
CPU: Intel Core i7 4790 3.6 GHz (4 GHz Turbo)
RAM: 16GB DDR3 1333MHZ
SSD: Kingston SSDNow V300, 240GB
HDD: Seagate 1TB 7200RPM SATA
External HDD: Seagate Backup Plus Slim 1TB 5400RPM
Video: nVidia GeForce GTX 1050 Ti OC 4GB
Sound: RealTek High Definition Audio
Display 1: LG 24M38H 24" 1080p HD LED Monitor
Display 2: Dell 19" 1440x900 TFT Monitor
OS: Windows 10 64-bits
Posts: 1990
Joined: Tue Sep 25, 2007 10:29 pm
Location: Bellevue, WA

Re: Are there any new HAM editors?

Postby Sirius » Wed Jul 02, 2014 4:23 am

I know of another project that was aiming to do similar stuff, also not completed. It's a recurring theme. I've been putting any work on the area on hold because there has been some external interest and if someone gets around to open-sourcing their work it means I don't have to start from scratch if I want to extend it (mostly for POF tools since I have more experience than most people working with that format).

But no, basically this is something you currently can't do without going to a lot of extra effort (either writing your own tools or heavy-duty hex editing).
Posts: 29
Joined: Mon Jan 30, 2012 11:07 pm

Re: Are there any new HAM editors?

Postby Xfing » Wed Jul 02, 2014 9:06 am

Daaaamn... that sucks! Oh well then. :wink:

Return to “D2X-XL Mapping & Modding”

Who is online

Users browsing this forum: No registered users and 2 guests