Hunkmegs


(Vigilante) #1

hey all

Ok this is probably the noob question of the week!

Im playing around with Hunkmegs/Zonemegs/soundmegs to see if I can find better performance.

when I change in my cfg or ingame though and check ill get something that looks like this:

ill do /com_hunkmegs 256 and check it to see /com_hunkmegs is “128” latched “256”, now does that mean ET is still running on the default 128?

also I have 4 gb dual channel memory on windows xp so its basically 3gb what would you set my hunkmegs, zone and soundmegs to for best performance?


(stealth6) #2

Yes that means that it’s still running on the previous value.
Normaly it says current value: 128 default: 56 latched: 256

Latched means it will turn to this value when you restart ET. But it can be overridden if you have an autoexec with different values.

I set hunkmegs to 192mb don’t think you’ll ever need more than that, as for zone and sounds
I think I still have them on default without problems. But I don’t know what values might improve performance


(zbzero) #3

If you do a vid_restart after apply these settings you get then working.


(stealth6) #4

vid_restart doesn’t work for megs


(Vigilante) #5

Ah it was an autoexec stopping it from changing I think, deleted the auto and hunkusage I can get to change now.

wonder what would work best or even if I would notice any difference, read in some places to use 3/4s of total ram but ET only handles 256?


(stealth6) #6

indeed something like that, but 192 is sufficient


(Cambodunum) #7

Hunk-, Zone-, and Soundmegs.
192 hunk Megs is all ET will use, even if you set it higher.

The Zone and Sound Meg values are both subtracted out of the Hunk Megs, not added to it.
Not surpassing 3/4ths of total memory is easy to figure, 192 is the most memory that ET requires, or will use.

Therefor, on a system with 256 Mb of Ram, 192 Hunk Megs, is 3/4ths of the 256.
Systems with more memory would still use 192 Hunk, so on to Sound and zone.

You can use the meminfo command to see the Hunk and Zone usage in the ET console, but Zone is latched, and will only show 24 is used. If you change this setting in a config file, it will not get changed because the zone Megs are loaded before any config files are run. To get around this, you can create a short cut, and then add a set command to load the Zone Megs, and Hunk, and Sound as well. Default settings for Zone and Sound are 24 Megs each, and ET will run with these settings, but those settings were designed for the small RAM of early computers. The Sound Megs default was set at 24 Mb, and it will work, because ET will remove and reload as needed, but it’s not the best for performance. To check the sound Megs use the s_info command, and I have found that the best setting for ET Sound Megs, is to set it on about 48 sound Megs, if you use the 22 MHz setting. We subtract 48 from 192, and that leaves 144 Mb.

Now the Zone is loading Map texture, etc, and please be aware that the higher the quality of graphic settings you use, the more Zone Megs, ET will require. Also, large servers with 30 to 60 player slots, will also require, more of the left over Hunk, so you may have to play around with the Zone setting, to leave enough Hunk, and remember the Zone has worked, set at 24 Megs, its default setting, for years now. Therefor, I would recommend 32 to 48 maybe even 64, but it depends on the above variables.

So the get the Latched Zone to change, create a short cut, then right click on it, and select properties. Then in the “Target” text box after ET.exe add this command and put quotation marks surrounding the number value settings, as follows:

"C:\Program Files\Wolfenstein - Enemy Territory\ET.exe +set com_hunkMegs “192” +set com_zoneMegs “32” +set com_soundMegs “48”

I f you find these settings are slower, then just change them, in the short cut, but a word of advice, only change one setting at a time. Hope this settles the Hunk, Zone, and Sound Meg issues for all you players out there, so enjoy.

Credits/Author: Billdoe
(at Splashdamage.com)

… im too lazy to search for the original post right now
… greetz Cambo