[Wine] Re: No Graphic Card Detected - Problem

scraze wineforum-user at winehq.org
Mon Nov 2 15:00:33 CST 2009


Wine can make use of different prefixes, and usually that correlates to different 'installations' of wine. This is the case if you use PlayOnLinux to install games. What happens, is that for each game a prefix is made in ~/.PlayOnLinux/wineprefix/, and each prefix contains all files to run Windows programs; the Program Files folder, the Windows folder, dll files in wiindows/system32. If you start wine without specifying a prefix, it will most likely use the normal ~/.wine path instead of ~/.PlayOnLinux/wineprefix; so if you install drivers with just 'wine some_driver.exe', it will be installed in ~/.wine/drive_c/ but not in ~/.PlayOnLinux/wineprefix/Your_Game. 

If you want to select a specific prefix, you can do that by putting

Code:

WINEPREFIX=/absolute/path/to/prefix



in front of any command you run in the terminal. For example, if you have installed C&C3 with PlayOnLinux, and want to install DirectX 9 with winetricks (a nice script that makes installing certain windows software very easy), you'd do:

Code:

WINEPREFIX=/home/banana/.PlayOnLinux/wineprefix/CNC3/ winetricks d3dx9



or to manually run the installer:

Code:

WINEPREFIX=/home/banana/.PlayOnLinux/wineprefix/CNC3/ wine installfile.exe




Hope that helps :)







More information about the wine-users mailing list