I finally found a fix for Hammer Editor showing no grid and displaying every entity with a black box. I searched a lot in the internet but couldn’t find a good way so I tried it by myself.
Just copy and overwrite all the .dll files from
C:\Program Files\Steam\steamapps*username*\sourcesdk\bin\orangebox\bin
into
[Source Engine 2007]
C:\Program Files\Steam\steamapps*username*\sourcesd\bin\source2007\bin
or
[Source Engine 2006]
C:\Program Files\Steam\steamapps*username*\sourcesdk\bin\ep1\bin
You don’t need to copy all of the dlls. Only a few are responsible for the bug but it is easier just to copy all the dlls.
hammer_dll
MaterialSystem
shaderapidx9
stdshader_dx9
tier0
vguimatsurface
…
have to get replaced
Otherwise Hammer doesn’t start properly.
Have fun.