Where is WINE getting these files it puts into $WINEPREFIX?

Questions about Wine on Linux
Locked
Kahenraz
Level 1
Level 1
Posts: 7
Joined: Mon Sep 23, 2019 11:52 pm

Where is WINE getting these files it puts into $WINEPREFIX?

Post by Kahenraz »

I'm trying to minimize the disk space used by multiple prefixes by mapping common files to symbolic links. I've managed to reduce disk usage significantly but the following files (about 150MB worth) seem to not exist anywhere in /usr/lib/wine or elsewhere:

Code: Select all

4.0K   drive_c/windows/system32/ddhelp.exe
4.0K   drive_c/windows/system32/dosx.exe
4.0K   drive_c/windows/system32/dsound.vxd
228K   drive_c/windows/system32/gecko/2.47/wine_gecko/browser/blocklist.xml
4.0K   drive_c/windows/system32/gecko/2.47/wine_gecko/browser/chrome.manifest
232K   drive_c/windows/system32/gecko/2.47/wine_gecko/browser/components/browsercomps.dll
4.0K   drive_c/windows/system32/gecko/2.47/wine_gecko/browser/components/components.manifest
8.0K   drive_c/windows/system32/gecko/2.47/wine_gecko/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
4.0K   drive_c/windows/system32/gecko/2.47/wine_gecko/browser/features/[email protected]
656K   drive_c/windows/system32/gecko/2.47/wine_gecko/browser/features/[email protected]
1.6M   drive_c/windows/system32/gecko/2.47/wine_gecko/browser/features/[email protected]
12M    drive_c/windows/system32/gecko/2.47/wine_gecko/browser/omni.ja
4.0K   drive_c/windows/system32/gecko/2.47/wine_gecko/defaults/pref/channel-prefs.js
4.0K   drive_c/windows/system32/gecko/2.47/wine_gecko/dependentlibs.list
4.0K   drive_c/windows/system32/gecko/2.47/wine_gecko/dictionaries/en-US.aff
564K   drive_c/windows/system32/gecko/2.47/wine_gecko/dictionaries/en-US.dic
412K   drive_c/windows/system32/gecko/2.47/wine_gecko/freebl3.dll
896K   drive_c/windows/system32/gecko/2.47/wine_gecko/gmp-clearkey/0.1/clearkey.dll
4.0K   drive_c/windows/system32/gecko/2.47/wine_gecko/gmp-clearkey/0.1/clearkey.info
224K   drive_c/windows/system32/gecko/2.47/wine_gecko/lgpllibs.dll
3.0M   drive_c/windows/system32/gecko/2.47/wine_gecko/libEGL.dll
3.1M   drive_c/windows/system32/gecko/2.47/wine_gecko/libGLESv2.dll
1.8M   drive_c/windows/system32/gecko/2.47/wine_gecko/mozavcodec.dll
240K   drive_c/windows/system32/gecko/2.47/wine_gecko/mozavutil.dll
908K   drive_c/windows/system32/gecko/2.47/wine_gecko/mozglue.dll
2.1M   drive_c/windows/system32/gecko/2.47/wine_gecko/nss3.dll
428K   drive_c/windows/system32/gecko/2.47/wine_gecko/nssckbi.dll
136K   drive_c/windows/system32/gecko/2.47/wine_gecko/nssdbm3.dll
5.6M   drive_c/windows/system32/gecko/2.47/wine_gecko/omni.ja
732K   drive_c/windows/system32/gecko/2.47/wine_gecko/plugin-container.exe
204K   drive_c/windows/system32/gecko/2.47/wine_gecko/softokn3.dll
4.0K   drive_c/windows/system32/gecko/2.47/wine_gecko/VERSION
59M    drive_c/windows/system32/gecko/2.47/wine_gecko/xul.dll
4.0K   drive_c/windows/system32/avifile.dll
4.0K   drive_c/windows/system32/comm.drv
4.0K   drive_c/windows/system32/commdlg.dll
12K    drive_c/windows/system32/compobj.dll
4.0K   drive_c/windows/system32/ctl3d.dll
4.0K   drive_c/windows/system32/ctl3dv2.dll
1.3M   drive_c/windows/system32/d3d10.dll
172K   drive_c/windows/system32/d3d10core.dll
168K   drive_c/windows/system32/d3d10_1.dll
2.9M   drive_c/windows/system32/d3d11.dll
1.4M   drive_c/windows/system32/d3d9.dll
4.0K   drive_c/windows/system32/dispdib.dll
4.0K   drive_c/windows/system32/display.drv
4.0K   drive_c/windows/system32/imm.dll
4.0K   drive_c/windows/system32/keyboard.drv
4.0K   drive_c/windows/system32/lzexpand.dll
4.0K   drive_c/windows/system32/mouse.drv
4.0K   drive_c/windows/system32/msacm.dll
4.0K   drive_c/windows/system32/msvideo.dll
8.0K   drive_c/windows/system32/ole2.dll
4.0K   drive_c/windows/system32/ole2conv.dll
8.0K   drive_c/windows/system32/ole2disp.dll
4.0K   drive_c/windows/system32/ole2nls.dll
4.0K   drive_c/windows/system32/ole2prox.dll
4.0K   drive_c/windows/system32/ole2thk.dll
8.0K   drive_c/windows/system32/olecli.dll
4.0K   drive_c/windows/system32/olesvr.dll
4.0K   drive_c/windows/system32/rasapi16.dll
12K    drive_c/windows/system32/setupx.dll
4.0K   drive_c/windows/system32/shell.dll
4.0K   drive_c/windows/system32/sound.drv
4.0K   drive_c/windows/system32/storage.dll
4.0K   drive_c/windows/system32/stress.dll
4.0K   drive_c/windows/system32/system.drv
4.0K   drive_c/windows/system32/toolhelp.dll
4.0K   drive_c/windows/system32/typelib.dll
24K    drive_c/windows/system32/user.exe
4.0K   drive_c/windows/system32/ver.dll
4.0K   drive_c/windows/system32/w32sys.dll
4.0K   drive_c/windows/system32/win32s16.dll
4.0K   drive_c/windows/system32/win87em.dll
4.0K   drive_c/windows/system32/windebug.dll
4.0K   drive_c/windows/system32/wineps16.drv
4.0K   drive_c/windows/system32/wing.dll
4.0K   drive_c/windows/system32/winnls.dll
4.0K   drive_c/windows/system32/winoldap.mod
4.0K   drive_c/windows/system32/winsock.dll
4.0K   drive_c/windows/system32/wintab.dll
4.0K   drive_c/windows/system32/gdi.exe
4.0K   drive_c/windows/system32/krnl386.exe
4.0K   drive_c/windows/system32/winaspi.dll
4.0K   drive_c/windows/inf/winebus.inf
4.0K   drive_c/windows/inf/winehid.inf
4.0K   drive_c/windows/rundll.exe
4.0K   drive_c/windows/twain.dll
4.0K   drive_c/windows/winhelp.exe
4.0K   drive_c/windows/system/ddeml.dll
8.0K   drive_c/windows/system/mmsystem.dll
4.0K   drive_c/windows/winsxs/manifests/x86_microsoft-windows-msxml30_31bf3856ad364e35_6.0.6000.16386_none_deadbeef.manifest
4.0K   drive_c/windows/winsxs/manifests/x86_microsoft.msxml2_6bd6b9abf345378f_4.1.0.0_none_deadbeef.manifest
4.0K   drive_c/windows/winsxs/manifests/x86_microsoft-windows-msxml60_31bf3856ad364e35_6.0.6000.16386_none_deadbeef.manifest
4.0K   drive_c/windows/winsxs/manifests/x86_microsoft.vc80.atl_1fc8b3b9a1e18e3b_8.0.50727.4053_none_deadbeef.manifest
4.0K   drive_c/windows/winsxs/manifests/x86_microsoft.vc90.atl_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
4.0K   drive_c/windows/winsxs/manifests/x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef.manifest
4.0K   drive_c/windows/winsxs/manifests/x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.6000.16386_none_deadbeef.manifest
4.0K   drive_c/windows/winsxs/manifests/x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.23038_none_deadbeef.manifest
4.0K   drive_c/windows/winsxs/manifests/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4053_none_deadbeef.manifest
4.0K   drive_c/windows/winsxs/manifests/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_deadbeef.manifest
20K    drive_c/windows/Installer/9f5b.msi
48M    drive_c/windows/Installer/a166.msi
116K   drive_c/windows/Microsoft.NET/Framework/v3.0/windows communication foundation/servicemodelreg.exe
216K   drive_c/Program Files/Internet Explorer/iexplore.exe
116K   drive_c/Program Files/Windows Media Player/wmplayer.exe
960K   drive_c/Program Files/Windows NT/Accessories/wordpad.exe
748K   drive_c/Program Files/Common Files/System/OLE DB/oledb32.dll
1.2M   drive_c/Program Files/Common Files/System/OLE DB/msdaps.dll
Cybermax
Level 4
Level 4
Posts: 218
Joined: Fri Dec 01, 2017 5:26 pm

Re: Where is WINE getting these files it puts into $WINEPREFIX?

Post by Cybermax »

Well.. as an example "wmplayer.exe" exists for me in /opt/wine-devel/lib/wine/wmplayer.exe (or whatever other wine version i have installed).

How about "sudo updatedb && locate wmplayer.exe"?
Kahenraz
Level 1
Level 1
Posts: 7
Joined: Mon Sep 23, 2019 11:52 pm

Re: Where is WINE getting these files it puts into $WINEPREFIX?

Post by Kahenraz »

I had used /bin/find and not locate when trying to find these files. It seems that a number of these files have a "16" suffix at the end which excluded them from being found when searching by their exact name.

Thank you for suggesting locate.
spoon0042
Level 6
Level 6
Posts: 570
Joined: Thu Dec 24, 2009 11:00 am

Re: Where is WINE getting these files it puts into $WINEPREFIX?

Post by spoon0042 »

Most of that is gecko which is installed from a downloaded or cached .msi installer. In your case drive_c/windows/Installer/a166.msi is a copy of the installer. You can probably get away with linking that and/or the gecko stuff under windows/system32 to some common location, maybe leave it in the default .wine prefix and link the others to it. Or it may break things horribly. Experiment. :)
Locked