When yo try to play Heroes of Newerth (aka HoN) on your computer and receive the following error
warning: The VAD has been replaced by a hack pending a complete rewrite
Crash log saved as '/home/malevolent/.Heroes of Newerth/game/crash_126.96.36.199_05.log'
It means you have problems with your graphic card. There are some reasons to fail, I will explain the nvidia possible issues
- You are using the open source driver of your card
- You does not set the optimal antialiasing settings
- 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
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.