The problem you're facing is why things like Crossover's c4p, my wisotool, and PlayOnLinux were invented; you tell them what app you want to install, and they know which winetricks are needed. But when we write those tools, the way we figure out which tricks are needed boils down to a) checking the appdb to see what worked for other people, b) putting on our wizard hats and looking at wine's output -- sometimes wine actually up and says which dll it needs, sometimes the messages are more subtle, or c) we just try 'em all at random :-)