http://bugs.winehq.org/show_bug.cgi?id=28898
--- Comment #126 from Alexey Loukianov mooroon2@mail.ru 2012-05-16 10:26:48 CDT --- If you're having login problems like "error 3007" - try executing "echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope" in a terminal before starting Diablo III. It might fix your problem. If so - it is bug #30410 and not this one.
P.S. If by "use another directory" you mean "use nother WINEPREFIX" - just export something like WINEPREFIX="$HOME/.wine-d3" into your environment before trying to play with freshly compiled Wine and unexport it after you finish with it. I.e. start up something like this in terminal:
# export WINEPREFIX="$HOME/.wine-d3" ... # <do whatever you want to test your wine build> ... # export -n WINEPREFIX