Fix for Hammer Editor bug: black viewports

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.

https://mirror.cazzaserver.com/misc/pre_update_binaries.zip

I discovered that fix on day 2 of it being broken :wink:

Plus it works for me now.

HOLY NECROPOST BATMAN I know, but:

This exact error in the SDK is bugging the fuck out of me right now and I’m literally about to chuck this laptop out the fucking window.

The above fix doesn’t seem to work at all. Plus when I do it, SDK takes longer to start than normal and a flash of a “copying…” dialog seems to hit my upper left corner. Is the SDK copying files back over the fix and making the SDK impossible to fix?

EDIT: Tried running Hammer immediately after the copy. Insta-crash!

I don’t remember how I fixed it, but I’ve never had it since.

Holy shit. I can’t even remember.

Founded in 2004, Leakfree.org became one of the first online communities dedicated to Valve’s Source engine development. It is more famously known for the formation of Black Mesa: Source under the 'Leakfree Modification Team' handle in September 2004.