Jump to content

Hunk_alloc Failed


Go to solution Solved by Buckwild,

Recommended Posts

Posted (edited)

Today Fa uploaded a new map Springfield on jay 3.

 

I wanted to join into server  put becommes this command

 

 

Hunk_alloc FaiIed

 

i was set hunkmegs to 256 but doesn´t Work after then i was test in 512 but doesnt works too.

Whats the problem there?

Edited by UnH!t
Posted

/com_hunkmegs 128 then /vid_restart  that you can try next time but for now the map is finished next map is loading in few seconds

Posted (edited)
1. go to your et folder 

2. click et.exe to run wonfenstein enemy territory 

3. open console (NOTE: do NOT connect anywhere or load any mods, this is the most common fail) 

4. write /com_hunkmegs 128 

5. press enter 

6. write /com_hunkmegs 

7. you should see text like com_hunkmegs current:56 default:56 latched:128 or something 

8. close console 

9. press quit to exit enemy territory 

10. click et.exe 

11. open console 

12. type /com_hunkmegs 

13. you should see something like com_hunkmegs current:128 default:56 

14. close wolfenstein enemy territory 

15. victory! 

 

or 

 

1. go to your et folder 

2. go to etmain 

3. go to profiles 

4. open etconfig.cfg in text editor 

5. search for com_hunkmegs 

6. change value to 128 

7. save etconfig 

8. you may have to repeat this for etconfig.cfg under n(o)q(uarter)/profiles 

9. click et.exe 

10. open console 

11. type /com_hunkmegs 

12. you should see something like com_hunkmegs current:128 default:56 

13. close wolfenstein enemy territory 

14. victory! 

 

that should fix it 

usually people try to set in while they are on server and some mod is loaded 

that will pretty surely fail and cause confusion

Edited by daredevil
Removed black background
  • Like 2
Posted

thx

let us know if it works :)

  • Leader
Posted

usually people try to set in while they are on server and some mod is loaded 

 

that will pretty surely fail and cause confusion

 

 

 

Thank you, sir!  You have cleared up some of My confusion!  :)

 

I now wonder how I got my various Hunks increased in the first place!

  • Like 1
  • 1 year later...
Posted
My new Win 10 Enemy Territory Jaymod had trouble writing to hunkusage.dat file...
I would get error on start of maps: Hunk_Alloc failed on 1468268544.
I tried running Et as Admin, Turning off App Control in Defender, Nothing worked...
I fixed by coping in an old hunkusage.dat file that I had saved.
If anyone gets that error They could try making a hunkusage file for Their jaymod.
Copy this to Notepad, Save as: All Files, Name:hunkusage.dat
maps/railgun.bsp 42543008
maps/goldrush.bsp 37227008
maps/battery.bsp 40349376
maps/etdo5.bsp 36710208
maps/praetoria_m2.bsp 33050592
maps/rommel_final.bsp 38410720
maps/mml_helmsdeep_b4.bsp 49363456
maps/necrology_final.bsp 32916256
maps/braundorf_final.bsp 25964320
maps/flame-guards.bsp 41229952
maps/sw_oasis_b3.bsp 50008992
maps/snatch3.bsp 24676640
maps/graverob_b1.bsp 30683424
maps/fata_morgana.bsp 22010272
maps/fueldump_uv.bsp 47596960
maps/fabase.bsp 26445632
maps/el_kef_final.bsp 28391360
maps/decay_b5.bsp 42946272
maps/__bridges__.bsp 48337216
maps/bba0-beta2.bsp 43847680
maps/uje_00.bsp 35224928
maps/rochelle_b2.bsp 33003584
maps/school.bsp 29456672
maps/italyfp2.bsp 44470880
maps/dubrovnik_final.bsp 30168288
maps/parisbastille_b3.bsp 39384352
maps/venice_ne4.bsp 41709664
maps/tits_b2.bsp 40411200
maps/caen2.bsp 33353952
maps/byzantine.bsp 45519840
maps/eltz_beta1.bsp 38034688
maps/baserace_desert.bsp 30835936
maps/oasis.bsp 47373248
maps/tc_base.bsp 25981152
maps/mp_theriver_2nd.bsp 38465120
maps/supplydepot2.bsp 26727808
maps/baserace.bsp 32050400
maps/mlb_temple.bsp 33728736
maps/ruins23.bsp 39784032
maps/arta.bsp 47882304
maps/goldrush-gals.bsp 42994464
maps/ctf_halo.bsp 32908992
maps/sp_delivery_te.bsp 34872992
maps/et_mor2_night_final.bsp 37658688
maps/haunted_mansion.bsp 32522944
maps/bremen_final.bsp 35014816
maps/adlernest.bsp 33661568
maps/fueldump.bsp 50105216
maps/etdo6.bsp 30953472
maps/pirates.bsp 26828192
maps/frostbite.bsp 26887168
maps/capuzzo.bsp 49315488
maps/et_beach.bsp 26507040
maps/warmissile_fp4.bsp 38075616
maps/teuthonia_final.bsp 40468448
maps/radar.bsp 44621920
maps/mml_minastirith_fp3.bsp 28382784
maps/uje_italy.bsp 38134784
maps/am_hydro_dam.bsp 26119808
maps/warbell.bsp 43489952
maps/etdo1.bsp 27711200
 
 
  • Like 1
  • 4 years later...
  • Solution
Posted (edited)

It was corrupt hunkusage.dat file.

Deleting made new one be created...

All good!

 

He later changed it to 

Quote

a corrupt map file.

 

Edited by RedBaird
  • Thanks 1
  • Leader
Posted (edited)
10 hours ago, Buckwild said:

It was corrupt hunkusage.dat file.

Deleting made new one be created...

All good!

 

He later changed it to 

Quote

a corrupt map file.

 

I just checked mine.  It was created in October of 2015 and last modified last night.  It looks like it kept a record of the maps loaded for play and probably their sizes, in 245 lines.  

 

I definitely remember the maps loading in this same order on Jay#1.  :hmm

 

maps/fa_italy_b3.bsp 43359104
maps/etdo1.bsp 27831520
maps/fa_oasis_b3.bsp 45294592
maps/northpole.bsp 51229824
maps/et_mor2_night_final.bsp 37567232
maps/supplydepot2.bsp 26551552
maps/pirates.bsp 26954304

 

I wonder what would happen if those numbers were wrong.  I can definitely see a problem if the lines don't start with "maps/".
 

 

Edited by RedBaird
Posted

Oh, Sorry It was a corrupt map file.

I had downloaded and user a free program that contained a virus to convert a movie to DVD

Deleting bad map file fixed ET.

I was wrong to suggest using My Jaymod hunkusage file.

There is no excuse for not using anti-virus program.

All this happened 5 Years ago.

 

  • Thanks 1
  • Leader
Posted
4 hours ago, Buckwild said:

a corrupt map file.

 

Hmm, I wonder if the corrupted map file was claiming to need more RAM than ET or the mod could provide?  :hmm 

 

Buck's post will be a clue for future readers with this problem.  

 

This isn't the only problem that I have read of caused by corrupt map files.  :hmm 

 

 

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.