Heroes of Newerth does not start: The VAD has been replaced by a hack pending a complete rewrite


When yo try to play Heroes of Newerth (aka HoN) on your computer and receive the following error

$ ./hon.sh
warning: The VAD has been replaced by a hack pending a complete rewrite
Crash log saved as '/home/malevolent/.Heroes of Newerth/game/crash_2.5.0.0_05.log'
Segmentation fault

It means you have problems with your graphic card. There are some reasons to fail, I will explain the nvidia possible issues

  1. You are using the open source driver of your card
  2. You does not set the optimal antialiasing settings
  3. The game start with a invalid gl_modesetting configuration

1. Using the opensource driver

At the moment I write this, nvidia propietary drivers are far better than opensource. I hope in a future open source drivers can beat the propietary ones, but if you want to do almost everything graphic-intensive, you shoul use propietary ones. Go and install them, on Arch

yaourt nvidia

2. Optimal antialiasing settings

Make sure you have optimal antialiasing settings on your NVIDIA Server X Settings –> Antialiasing Settings –> Enhance Application Settings

3. Invalid gl_modesetting configuration

That was the solution in my case, but many people had the issues I mentioned before. Anyway, S2 developers made a standard configuration file with some weird values. They use old nvidia and ati drivers and the game simply gives the error from above. To solve the issue, you must override that setting.
Firts of all, the config file is not where you installed the game (wtf!) but on ~/.Heroes\ of\ Newerth/game. Once you get the proper directory, you must edit startup.cfg and delete the content of gl_modesetting parameter, like I do here:

$ echo 'SetSave "gl_modesetting" ""' > ~/.Heroes\ of\ Newerth/game/startup.cfg

The game now runs, at least for me. I must mention that I have a 32bit machine to play games, but I guess that if you have a 64bit, you probably have even more problems.


8 thoughts on “Heroes of Newerth does not start: The VAD has been replaced by a hack pending a complete rewrite

  1. Dude, thanks for the post, but i didn’t have in that address the file startup.cfg, did you know if it could be in any other place? I have a 32 bit pc, and the third step is my solution i guess.


    • malevolent

      Sorry, I had missconfigured email notifications and only write here to solve my own problems. And hoping it can be of some help to others.

      Have you found startup.cfg? You can always do a wide search like

      sudo find / -name 'startup.cfg'

      But it should be under your home, in a hidden directory called “Heroes of Newerth”
      Let me know if you finally found it.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s