It's basically run winecfg at the prefix that you're using (surely the default prefix), after that you just must go to the "Libraries" section and at "New override for library" write down d2d1, add it at the "add" button, clic Edit, and choose "Native then buildin".
I was doing all of that at Arch Linux, i don't know if you're using Winlator or some distribution.
Anyone been able to set it up properly on a Steam Deck? Got the game running and all, but the text runs outside of the screen. Is the game just not suitable for 1280x800 screens?