http://bugs.winehq.org/show_bug.cgi?id=22053
--- Comment #32 from eurekafag@eureka7.ru 2012-07-25 13:34:19 CDT --- It seems that wine-1.5.7 is the last version that allows the steam overlay to work provided it was compiled with that flags Mateusz Stachowski wrote. Team Fortress 2 crashes at start on 1.5.8 (works fine if wine was compiled without any additional flags) and on 1.5.9 those flags have no visible effect. Nothing crashes whether the overlay is enabled or not but the overlay itself doesn't work either. Tried a number of times checking out 1.5.7-1.5.9 from git and compiling them so it's reproducible here at least.
I decided to stay on 1.5.7 with raw3.patch and overlay enabled until this issue is fixed. Hope this will help someone to get the overlay working.