>>106469485
>>106469727
Alright I figured it out. The windows/unix path conversion thingy isn't working out of the box, likely a wine regression. So wine /home/path/shit doesn't work but Z:\\path\\shit does.
So I needed to edit desktop to this:
Exec=myfile=$(winepath -w %f) && env WINEPREFIX="/home/myuser/.wine" wine "/home/myuser/.wine/path/program.exe" $myfile
Now it works.
Writing this just in case someone else needs it and finds it in the archives or whatever.