How to: mod the HAM file

All about modding, mapping and modeling for D2X-XL

Moderators: Frustikus, simX, Aus-RED-5

User avatar
Wasabi Master
Posts: 29
Joined: Mon Apr 06, 2009 4:05 pm
Location: Outside of known civilization.

How to: mod the HAM file

Postby Wasabi Master » Sun May 17, 2009 8:33 pm

After some hacking and tinkering, I've finally gotten Haxmedit to modify HAM files.
This DOES work.
To give you an idea of what it can do you can try this mod out: http://www.mediafire.com/?ytjoznm1zzn.

First, you need a working version of Haxmedit32, you can get it at descent-network.com

Second, go to the folder it's installed in (should be DMTOOLS\HAXMED32).
In that folder there should be a "DATA" folder. I think you have to start up Haxmedit at least once.
In the DATA folder there should be a file named "ham.fmt".
Replace it with this file:http://www.mediafire.com/?dniavo5iygj

NOTE: Doing this will break another piece of the program, namely being able to save a v-ham.

Third, tinker, test, and enjoy!

Until a new HAM file editor can be created, this will have to do.

Karx, can you make this topic into a sticky?
Laptop specs: runs Supreme Commander ~5 fps
HP Pavillion 6815
CPU: AMD turion 64 X2 @ 2 GHz
Memory: 3GB RAM; 160 GB HDD
GPU: nVidia Geforce 7150M (GARBAGE I know)
OS: Windows Vista (Worse than the "GPU")
User avatar
darkflamewolf
Posts: 690
Joined: Sat Aug 23, 2008 9:14 pm
Location: Minot, ND

Postby darkflamewolf » Wed May 20, 2009 12:16 pm

I do believe that my Lost Levels mission campaign came with an altered HAM. So this has been cracked a while back, but thanks for the info sharing for the rest of the developers though. ;)
Thraka
Posts: 50
Joined: Fri Apr 18, 2008 6:07 pm

Postby Thraka » Wed May 20, 2009 1:24 pm

I'm curious, what does this enable you to accomplish? (I'm unfamiliar with the inner workings of the different data files)
User avatar
Pumo
D2X-XL Expert
D2X-XL Expert
Posts: 1437
Joined: Tue Sep 25, 2007 9:28 pm
Location: Here :)
Contact:

Postby Pumo » Wed May 20, 2009 5:34 pm

@Thraka:
Modify texture characteristics, weapons, ship physics, default robot behaviour, etc ;)

I've already achieved those modifications (as Wolfie) using the old HAXMEdit DOS version.
But since that version may not work on some modern computers, i think the patch made for Haxmedit32 (the version for windows) made by Wasabi is very neat!
Also, Haxmedit32 limits you more than Haxmedit DOS to edit those stats, so patching the program is indeed really good.

Excellent work Wasabi!! :thumb:
[Pumo software main website] - Pumo Mines current progress: 60%
-SYSTEM SPECS-
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
User avatar
Wasabi Master
Posts: 29
Joined: Mon Apr 06, 2009 4:05 pm
Location: Outside of known civilization.

Postby Wasabi Master » Thu May 21, 2009 12:02 am

I actually find that Haxmedit32 is very difficult to use, like the interface for instance makes me do this -> :wallbash: . The wall being my desk.
My hope is to create a better mod creation tool. To that end, I've been examining the HAM file itself trying to crack it, and combing through D2X-XL's code, but again I resort to: :wallbash: . Does anyone have some insights?
Laptop specs: runs Supreme Commander ~5 fps

HP Pavillion 6815

CPU: AMD turion 64 X2 @ 2 GHz

Memory: 3GB RAM; 160 GB HDD

GPU: nVidia Geforce 7150M (GARBAGE I know)

OS: Windows Vista (Worse than the "GPU")
User avatar
Sykes
Posts: 1120
Joined: Fri Jan 16, 2009 5:39 am
Location: Virginia, USA

Postby Sykes » Thu May 21, 2009 1:40 am

All I have to say is good luck! During my time here, I realized that most of the code people are dealing with is very, very messy and unorganized, and the programs people use to edit the game files are very messy, old, and inconvenient. Anyone out to make this place a little cleaner, more convenient, and easier, I wish godspeed and good luck! And I only wish I could do the same.

Return to “D2X-XL Mapping & Modding”

Who is online

Users browsing this forum: No registered users and 2 guests