PDA

View Full Version : How To Set Your Hunkmegs, Soundmegs, And Zonemegs For Enemy Territory


McBeth
10-21-2009, 06:38 PM
Lots of players get disconnected when someone play's a song.
This is totaly a memory problem witch can be fixed by the steps as explaind

Now whe gone chance the value of hunkmegs, soundmegs and zonemegs.
Setting value:
Hunkmegs 128
Soundmegs 96
Zonemegs 96
Open your configs:
Go to your Enemy Territory directory example (c:\enemy territory\etmain\profiles\your player name\etconfig
Right click on etconfig and scroll to option open with…… notepad/WordPad select and press left mousse button.
Now the etconfig is opened and you must find hunkmegs, do that you must use the search button adjust, search and give in the word hunkmegs press enter till you found hunkmegs
You see now seta com_hunkmegs “and a value “chance that value to 128
So now you see seta com_hunkmegs “128” close the search and say yes when ask save file.
Now first step is ready
So do that with your soundmegs value must be 96(use steps explain above)
And with your zonemegs value must be 96(use steps explain above)
Go to your Enemy Territory directory example (c:\enemy territory\etmain\profiles\your player name. (Double click on your name)\etconfig.
Use the same steps explain above
Go to your Enemy Territory directory example (c:\enemy territory\noquarter\profiles\your player name. (Double click on your name)\etconfig.
Use the same steps explain above
If you installed this one
Go to your Enemy Territory directory example (c:\enemy territory\Jmod\profiles\your player name. (Double click on your name)\etconfig.
Use the same steps as explained above

McBeth
10-21-2009, 06:44 PM
the hunkmegs with soundmegs and zonemegs are defined for the ammount of memmory used to game, sound and textures

The ammount of the 3 of them must not be over 3/4 of your total ram

default values for em:

com_hunkmegs "56"
com_soundmegs "8"
com_zonemegs "16

I think the following config can be the best for your ammount of ram:

example

/seta com_hunkmegs "96"
/seta com_soundmegs "24"
/seta com_zonemegs "32"

How much RAM do you have? If you don't have a decent amount (at least one gig), then setting higher numbers for ET is going to slow your system down. If you have less than a gig, you should seriously consider upgrading your computer. Basically, if you have a proper amount of RAM, setting your hunkmegs to 128 really shouldn't lag you. If you want to lower it, is to edit your etconfig.cfg files. To do this, go to C:/Program Files/Wolfenstein - Enemy Territory (default on Windows XP). Open the etmain folder. Look to see if there's a file in it called etconfig.cfg. Sometimes there is, sometimes there isn't. If there is, open it with Notepad and find com_hunkmegs. Change that to 56 or whatever you want and save the file. Now, from etmain, open the profiles folder, then the folder with the name of the profile you use in ET, and open the etconfig.cfg file in there. Change com_hunkmegs to the same value. Go back to Wolfenstein - Enemy Territory and open the noquarter folder. Then go to profiles, choose your profile, and edit the etconfig.cfg file in there, too. Do the same thing for any other mods that you play for which you want the value to be changed. BE CERTAIN TO CHANGE ONLY THAT VALUE. You don't want to mess with your config files unless you know what you're doing. Now, load ET, drop the console, type /com_hunkmegs, and press Enter. You should see something like com_hunkmegs 56 (or whatever number you chose). Connect to WF and do the same thing. If you see something like com_hunkmegs 128 Latched: 56, type /vid_restart in the console. You shouldn't have a latched value if you changed the etconfig files correctly, though.

It seems that it can be changed. but you have to have the same setting in all config files in all mod folders (etmain included) worth a shot.

McBeth
01-24-2010, 07:36 PM
The Hunk Allocate Error Faq



1. Quick Solution:

Copy the File
seta com_hunkMegs "128" or more watch before
into your ETmain folder



2. Solution to fix it in ETconsole:

Open your ET.exe, DON´T connect to any server, pull down the console with (~) and type /com_hunkmegs 192 close et now and it will work when you start it next time.



3. Third and definetley longest Solution to fix the problem but it will work for sure:

Go to your default Enemy Territory directory
2. Go into etmain ---> Profiles----> Yournickname ---> open etconfig.cfg with a standard editor

__________________________________________________ ______________________

ETCONFIG.CFG
__________________________________________________ ______________________

http://img231.imageshack.us/img231/9489/directorysmall7co.jpg



After you opened the etconfig.cfg with an editor like notpade you can search for hunkmegs.
The hunkmegs setting changes your amount of usable physical memory =ram. The hunkmegs should be set to a physical amount like 128. In every case the hunkmegs have to be less than the hallf amount of the real ram. So its the best to change the standard number 56 to 128 like mentioned before and every map will work properly.

__________________________________________________ _____________________

HOW DO CHANGE THE HUNKMEGS SETTING
__________________________________________________ _____________________



You are ready. All maps should work properly but remember that you have to do exactly the same in the NOQUARTER folder if you want to play on our server or just delete the config files of the serverside mods like etpub, jaymod, shrubet etpro and it will automatically use the right one from etmain.