Hmm. Could be worth a try overriding d3dx9 with winetricks. I do this on my setup, but can't remember if its required. See
https://wiki.winehq.org/Winetricks for installing, or linux mint might have it available with apt.
Either way, building off of the previous post, try something like:
- WINEPREFIX="$HOME/wine32" winetricks d3dx9
Also, what is the output of this command: