There is not a single solution that works for everyone unfortunately. dxwrapper is what I have described here in this thread and is what has worked consistently for me. For others it seems dgvoodoo works better. For me that drops to 59 fps quite a lot.
But to your question you need to download the
dx8.games.zip from this link:
dxwrapper 1.2.7
Unzip the archive and place the 3 files in game directory where the exe is located. dxwrapper will make a log file in the same directory upon launch of the game called dxwrapper - pes5 for example, so you know it’s running correctly.
You likely need to install the
directx legacy libraries from Microsoft.