winetricks ist ein "quick and dirty" Script um verschiedene, neu verteilbare Laufzeit-Bibliotheken herunterzuladen und zu installieren, die teilweise benoetigt werden, um Programme unter Wine auszufuehren.
Note: Auch wenn es sehr nuetzlich sein kann Winetricks zu verwenden um manche Programme zum laufen zu bringen, kann dass die Möglichkeit, durch WineHQ unterstuetzt zu werden, einschränken. Teilweise ist das Melden von Fehlern nicht moeglich. Siehe unten: Fehler melden nachdem Winetricks benutzt wurde.
Note: Manche der unten aufgelisteten Pakete koennten mit aelteren Wine Versionen nicht funktionieren. Wie immer empfehlen wir die aktuelle Wine Version zu verwenden.
Winetricks Installieren
Das Script wird von DanKegel auf http://www.kegel.com/wine/winetricks zur Verfuegung gestellt. Der schnellste und einfachste Weg es zu installieren ist wahrscheinlich einfach eine Konsole zu oeffnen und folgendes einzugeben:
wget http://www.kegel.com/wine/winetricks
Das aktuelle winetricks kann man auch unter Winetricks bei Google-Code finden, falls Dan's Link ein paar Versionen hinter her hinken sollte.
Manche Winetricks "Pakete" benoetigen das Cabextract Werkzeug um installiert zu werden. Das Cabextract Werkzeug ist fast ueberall verfuegbar. Linux User koennen das Programm normalerweise ueber den Paketmanager ihrer Distribution bekommen.
Winetricks verwenden
Sobald Sie Winetricks installiert haben, geben Sie sh winetricks in der Konsole ein um es zu starten. Wenn es ohne Parameter gestartet wird, oeffnet sich ein Fenster in dem die verfuegbaren Pakete angezeigt werden. Wenn Sie die Namen der Pakete kennen die Sie installieren wollen, koennen Sie die Namen einfach in der Winetricks Shell eingeben und es wird sofort der Installationsprozess gestartet . Zum Beispiel:
sh winetricks corefonts vcrun6
wird die Pakete corefonts und vcrun6 installieren.
Options
Hier ist der Hilfetext vom 19. August 2009: (das ganze Programm in Englisch, hinter einer Raute [#] die deutsche Uebersetzung)
Usage: ./winetricks [options] package [package] ...
# Verwendung: ./winetricks [Optionen] package [Paket] ...
This script can help you prepare your system for Windows applications
# Dieses Script kann ihnen helfen ihr System fuer Windows Programme vorzubereiten
that mistakenly assume all users' systems have all the needed
# bei den faelschlicherweise davon ausgegangen wird, dass die Systeme aller Benutzer allen Anforderungen entsprechen.
redistributable runtime libraries or fonts.
# Laufzeitbiliotheken und Schriftarten
Some options require the Linux 'cabextract' program.
# Manche Optionen erfordern das Linux 'cabextract' Programm
Options:
# Optionen:
-q quiet. You must have already agreed to the EULAs. # Stiller Modus, Sie muessen den EULAs bereits zugestimmt haben
-v verbose # Ausfuehrlich
-V display Version # Version anzeigen
Packages: # Pakete
art2kmin Access 2000 runtime. License required! # Access 2000 Laufzeit. Lizenz benoetigt!
colorprofile Install standard RGB color profile # Installiert Standart RGB-Farbprofil
comctl32 MS common controls 5.80 # Installiert Common Controls 5.80
comctl32.ocx MS comctl32.ocx and mscomctl.ocx, comctl32 wrappers for VB6 # Installiert Common Controls für VB6
controlpad MS ActiveX Control Pad # Installiert ActiveX Contorl Pad
corefonts Install MS Arial, Courier, Times fonts # Installiert MS Arial, Courier, Times Schriftarten
d3dx9 MS d3dx9_??.dll (from DirectX 9 user redistributable) # Installiert unterschiedliche Direct3D dlls von DirectX 9
dcom98 Install native DCOM, override the Wine implementation # Installiert ein natives DCOM, uebergeht die Wine Implementation.
dinput8 MS dinput8.dll (from DirectX 9 user redistributable) # Installiert DirectInput von DirectX 9
dirac0.8 the obsolete Dirac 0.8 directshow filter # Installiert alte directshow Filter
directplay MS DirectPlay (from DirectX 9 user redistributable) # Installiert DirectPlay von DirectX 9
directx9 MS DirectX 9 user redistributable (not recommended! use d3dx9 instead) # Installiert ganz DirectX9 (nicht empfohlen, installieren Sie d3dx9)
divx divx video codec # Installiert DivX Codecs
dotnet11 Install native .NET 1.1 (requires Windows license) # Installiert ein natives .NET 1.1 (erfordert Windows Lizenz)
dotnet20 Install native .NET 2.0 (requires Windows license) # Installiert ein natives .NET 2.0 (erfordert Windows Lizenz)
dotnet30 MS .NET 3.0 (requires Windows license) # Installiert ein natives .NET 3.0 (erfordert Windows Lizenz)
droid Droid fonts (on LCD, looks better with fontsmooth-rgb) # Installiert Droid Schriftarten (sehen auf LCDs besser aus mit fontsmooth-rgb)
ffdshow Install ffdshow video codecs # Installiert ffdshow Viedo Codecs
flash Install Adobe Flash Player activex # Installiert Adobe Flash Player ActiveX
fm20 MS Forms 2.0 Object Library
fontfix Fix bad fonts which cause crash in some apps (e.g. .net).
fontsmooth-disable Disables font smoothing
fontsmooth-gray Enables grayscale font smoothing
fontsmooth-rgb Enables subpixel smoothing for RGB LCDs
fontsmooth-bgr Enables subpixel smoothing for BGR LCDs
gdiplus Install gdiplus.dll from pp viewer (got a better idea?) # Installiert gdiplus.dll von pp viewer (Hat jemand eine bessere Idee?)
gecko Install the HTML rendering Engine (Mozilla) # Installiert die HTML Engine (Mozilla)
gecko-dbg The HTML rendering Engine (Mozilla), with debugging symbols # Installiert die HTML Engine (Mozilla) mit Debuginformationen
hosts Adds empty C:\windows\system32\drivers\etc\{hosts,services} files
icodecs Intel Codecs # Intel Codecs (Indeo)
jet40 Install Jet 4.0 Service Pack 8 # Installiert Jet 4.0 Service Pack 8
liberation Install Red Hat's Liberation fonts (Sans, Serif, Mono) # Installiert Red Hats Liberation Schriftarten (Sans, Serif, Mono)
mdac25 MDAC 2.5: Microsoft ODBC drivers, etc. # MDAC 2.5: Microsoft ODBC Treiber, usw.
mdac27 MDAC 2.7. # MDAC 2.7
mdac28 MDAC 2.8. # MDAC 2.8
mfc40 MS mfc40 (Microsoft Foundation Classes from Visual C++ 4)
mfc42 MS mfc42 (same as vcrun6 below)
mono20 mono-2.0.1
mono22 mono-2.2
msi2 Microsoft Installer 2.0 # Microsoft Installer 2.0
mshflxgd MS Hierarchical Flex Grid Control # Microsoft Hierarchisches FlexGrid Control
msls31 Microsoft Line Services 3.1 (needed by native riched?) # Microsoft Line Services 3.1 (wird vom nativen riched gebraucht?)
msmask MS Masked Edit Control
msscript MS Script Control
msxml3 Microsoft XML version 3 # Microsoft XML Version 3
msxml4 Microsoft XML version 4 # Microsoft XML Version 4
msxml6 Microsoft XML version 6 # Microsoft XML Version 6
ogg ogg filters/codecs: flac, theora, speex, vorbis, schroedinger
ole2 MS 16 bit OLE
openwatcom Open Watcom C/C++ compiler (can compile win16 code!) # Installiert Open Watcom C/C++ compiler (kann win16 Code kompilieren)
pdh Install pdh.dll (Performance Data Helper) # Installiert pdh.dll (Performance Data Helper --> Leistungsdaten Hilfe)
riched20 Use Microsoft's riched20 and riched32 # Verwendet Microsofts riched20 und riched32
riched30 Use Microsoft's riched30 # Verwendet Microsofts riched30
shockwave Adobe Shockwave Player # Installiert Adobe Shockwave Player
tahoma Install MS Tahoma font (not part of corefonts) # Installiert MS Tahoma Schriftart (nicht Teil der Corefonts)
urlmon MS urlmon.dll # Installiert urlmon.dll
vb2run Visual Basic 2 runtime # Visual Basic 2 Laufzeit
vb3run Visual Basic 3 runtime # Visual Basic 3 Laufzeit
vb4run Visual Basic 4 runtime # Visual Basic 4 Laufzeit
vb5run Visual Basic 5 runtime # Visual Basic 5 Laufzeit
vb6run Visual Basic 6 runtime # Visual Basic 6 Laufzeit
vcrun6 vc6redist from VS6sp4, including mfc42 # vc6 von VS6sp4, fuegt mfc42 ein.
vcrun2003 Visual C++ 2003 redistributables (mfc71,msvcp71,msvcr71) # Visual C++ 2003 Versionen (mfc71, msvcp71, msvcr71)
vcrun2005 Visual C++ 2005 redistributable libraries # Visual C++ 2005 Versiobsbiliotheken
vcrun2005sp1 Visual C++ 2005sp1 redistributable libraries # Visual C++ 2005sp1 Versionsbiliotheken
vcrun2008 Visual C++ 2008 redistributable libraries # Visual C++ 2008 Versionsbiliotheken
vcrun2008sp1 MS Visual C++ 2008 sp1 libraries
vjrun20 MS Visual J# 2.0 libraries (requires dotnet20)
wininet MS wininet.dll (requires Windows license)
wme9 MS Windows Media Encoder 9 (requires Windows license)
wmp9 MS Windows Media Player 9 (requires Windows license)
wmp10 MS Windows Media Player 10 (requires Windows license)
wenquanyi WenQuanYi CJK font (on LCD looks better with fontsmooth-rgb)
wsh56 Windows Scripting Host 5.6 (install vcrun6 first) # Windows Scripting Host 5.6 (Installieren Sie zuerst vcrun6)
wsh56js Windows scripting 5.6, jscript only, no cscript # Windows Scripting Host 5.6, nur jscript, kein cscript.
wsh56vb Windows scripting 5.6, vbscript only, no cscript # Windows Scripting Host 5.6, nur vbscript, kein cscript.
xact MS XACT Engine (x3daudio?_?.dll, xactengine?_?.dll)
xvid Install xvid video codecs # Installiert xvid Video Codecs
Apps:
autohotkey Autohotkey (open source gui scripting language)
firefox Firefox
ie6 Microsoft Internet Explorer 6.0
kde KDE for Windows installer
mpc Media Player Classic
vlc VLC media player
Pseudopackages: #Pseudopakete
allfonts Install all listed fonts (corefonts, tahoma, liberation) # Installiert alle aufgelisteten Schriftarten (corefonts, tahoma, liberation)
allcodecs Install all listed codecs (xvid, ffdshow, icodecs) # Installiert alle aufgelisteten Codecs (Xvid, ffdshow, iCodecs)
fakeie6 Set registry to claim IE6sp1 is installed # Stellt die Registry so ein als waere der Internet Explorer 6 installiert.
native_mdac Override odbc32 and odbccp32 # Uebergeht odbc und odbcpp32
native_oleaut32 Override oleaut32
nt40 Set windows version to nt40 # Setzt die Windowsversion auf NT 4.0
win98 Set windows version to Windows 98 # Setzt die Windowsversion auf Windows 98
win2k Set windows version to Windows 2000 # Setzt die Windowsversion auf Windows 2000
winxp Set windows version to Windows XP # Setzt die Windowsversion auf Windows XP
vista Set windows version to Windows Vista # Setzt die Windowsversion auf Windows Vista
winver= Set windows version to default (winxp) # Setzt die Windowsversion auf die Standartversion (aktuell: Windows XP)
volnum Rename drive_c to harddiskvolume0 (needed by some installers) # Bennent drive_c um zu harddiskvolume0 (wurde von einigen Installern
# vor Version 0.9.54 benoetigt.)
Tip: Winetricks weiss dass es die WINEPREFIX Umgebung gibt. Das ist nuetzlich um andere Prefixe laufen zu lassen z. B.
env WINEPREFIX=~/.winetest winetricks mfc40
installiert das mfc40 Paket fuer das ~/.winetest Prefix.
Fehler melden nachdem Sie Winetricks verwendet haben
Zusaetzlich geben Sie bitte an, warum Sie es fuer noetig hielten Winetricks zu verwenden um bestimmte Programme zu installieren, wenn sie diese zur Applikationsdatenbank hinzufuegen oder in Mailinglisten oder anderen Resourcen angeben.
Bitte melden Sie keine Fehler, wenn Sie Winetricks verwendet haben um native Dateien (i.e. Nicht-Wine Dateien) auszuführen, da wir keine Microsoft DLLs unterstuetzen können.
Winetricks zu verwenden, um gecko, mono11, mono12 und fakeie6 Optionen zu installieren, ist akzeptabel fuer Bug-Reports - aber seien Sie sicher in der Angabe was Sie getan haben. Fehler *in* Winetricks melden
Winetricks hat einen Bugtracker unter http://code.google.com/p/winezeug/issues/list , also genügt es für gewöhnlich eine E-Mail an wine-devel at winehq.org zu senden.
Winetricks installieren
Winetricks doesn't need to be installed, but some people like to do it anyway so they can just type 'winetricks' instead of 'sh winetricks'. Here's how:
chmod +x winetricks sudo mv winetricks /usr/local/bin
Some Linux distributions (Suse?) include winetricks in their Wine packages, so you don't have to download or install it. (You might still want to if their version is old.)
Sehen Sie auch
http://www.cabextract.org.uk/ -- cabextract ist ein Tool um MS cabinet Dateien unter Unix Umgenungen zu entpacken.
http://mike.kronenberg.org/index.php?s=trix (Darwine enthält nun trix, eine GUI die winetricks benutzt)
