What distro are you on? If you’re using Arch or Manjaro I can provide a working PKGBUILD.
Also no worries if you can’t easily get the compiled Wine running. Turns out this has been a known bug for a long time (an issue was opened in 2011; they attempted a fix in 2019 but it didn’t work).