Cannot do wine xx.exe Bad EXE format for Z:

Questions about Wine on Linux
Locked
phiphibee94
Newbie
Newbie
Posts: 1
Joined: Mon Jun 19, 2023 5:17 am

Cannot do wine xx.exe Bad EXE format for Z:

Post by phiphibee94 »

I would like to run a 32bit project named facewarp.exe via Wine. I ran the following command and got the error as following:

(testenv2) ps@ps:~$ wine ~/venv/testenv2/testcode/MakeItTalk-main/facewarp/facewarp.exe
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: Bad EXE format for Z:\home\ps\venv\testenv2\testcode\MakeItTalk-main\facewarp\facewarp.exe.

I'm wondering what might be the reason for this. I have the wine version:wine-8.0.1.
invisible kid
Level 5
Level 5
Posts: 368
Joined: Tue Dec 24, 2019 3:23 pm

Re: Cannot do wine xx.exe Bad EXE format for Z:

Post by invisible kid »

If you're using a mainstream distro, there will be a command similar to "dpkg --add-architecture <arch>". You would have to change <arch> to something appropriate. I don't have the particulars handy, but you can probably find easy with a search. I guess you will have to reinstall wine after the command.
Locked