Wine crashed after dll overrides.

Questions about Wine on Linux
Locked
Mriganka
Level 2
Level 2
Posts: 15
Joined: Wed Aug 29, 2018 12:22 am

Wine crashed after dll overrides.

Post by Mriganka »

I was trying to run Pspice in the latest wine stable version. I found out that to run it I have to override the following dlls from default to something else(I dont remember now)- ole32, oleaut32, rpcrt4. I also found out that I had to set the win version to windows 98. I did all of that and now the whole wine has crashed. It doesn't give any response in terminal. At 1st it showed rpcrt4 not found in sys32 error but now I get nothin. Winecfg doesn't work, winetricks hangs and when I enter ctrl c it shows this

Code: Select all

WINEPREFIX INFO:
Drive C: total 60
drwxrwxr-x 14 lenovo lenovo 4096 Dec 21 22:00 .
drwxrwxr-x  4 lenovo lenovo 4096 Dec 24 12:45 ..
drwxr-xr-x 27 lenovo lenovo 4096 Apr  9  2019 73e0f34f952412fe45168b94
drwxrwxr-x  2 lenovo lenovo 4096 Aug  4  2018 CSetupMM
-rw-rw-r--  1 lenovo lenovo  162 Mar  3  2018 DebugTrace-RockallDLL.log
drwxrwxr-x  3 lenovo lenovo 4096 Dec 21 22:00 drive_c
drwxrwxr-x  2 lenovo lenovo 4096 Mar  5  2019 Games
drwxrwxr-x  4 lenovo lenovo 4096 Jul  6 08:07 GOG.com
drwxrwxr-x  4 lenovo lenovo 4096 Sep 13  2019 GOG Games
drwxrwxr-x  9 lenovo lenovo 4096 Dec 21 22:05 Program Files
drwxrwxr-x 32 lenovo lenovo 4096 Dec  2 13:47 Program Files (x86)
drwxrwxr-x  4 lenovo lenovo 4096 Jul  8 12:29 R.G. Catalyst
drwxrwxr-x  2 lenovo lenovo 4096 Sep 24  2018 Temp
drwxrwxr-x  4 lenovo lenovo 4096 Nov 28  2017 users
drwxrwxr-x 25 lenovo lenovo 4096 Dec 24 12:44 windows

Registry info:
/home/lenovo/.wine/system.reg:#arch=win64
/home/lenovo/.wine/user.reg:#arch=win64
/home/lenovo/.wine/userdef.reg:#arch=win64
------------------------------------------------------
cat: /tmp/winetricks.V6Q5R55H/early_wine.err.txt: No such file or directory
------------------------------------------------------
wine cmd.exe /c echo '%ProgramFiles%' returned empty string, error message ""
How to override the dlls back to default?
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine crashed after dll overrides.

Post by jkfloris »

Maybe you can save your Wineprefix, but there is a change you have to start over again. Make a backup of your .wine directory.
Make sure Wine isn't running.

Code: Select all

wineserver -k
Open ~/.wine/user.reg in your favorite text editor and search for [Software\\Wine\\DllOverrides]

Code: Select all

### Example ###

[Software\\Wine\\DllOverrides] 1608830137
#time=1d6da1865a6084e
"*gdiplus"="native"
"ole32"="native,builtin"
"oleaut32"="native,builtin"
...
Remove all the override lines without a *

Code: Select all

### Example ###

[Software\\Wine\\DllOverrides] 1608830137
#time=1d6da1865a6084e
"*gdiplus"="native"
...
Try to run winecfg
Locked