PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Wie konfiguriert man am einfachsten Wine?



Mablung
24.01.05, 14:32
Hallo!

Ich hab jetzt schon seit 2 Tagen versucht irgendwie Wine zum laufen zu kriegen aber es will irgendwie überhaupt nicht!

Mein System ist ein Freeliner XP10 mit AthlonXP 2500+ 512MB RAM und 40GB Festplatte! Windoof XP Pro ist auf der zweiten Partition installiert. SuSe 9.2 Pro is auf der zweiten Partition!

Ich verwende den neuen ATI Treiber fglrx. Ich hab die Dateien /usr/lib/fglrx/lib/libGL.so.1
/usr/lib/fglrx/lib/libGL.so.1.2
hierhin kopiert
nach /usr/X11R6/lib .

Ausserdem habe ich die neuste Version von Wine runtergeladen, also die 2005er Version.

Ich schaffe es einfach nicht das Wine zu konfigurieren. Nichts scheint zu funktionieren. Ich habe auch schon mit Winetools versucht zu konfigurieren, da das versprach einfach zu sein. Naja, wenn ich die winetools starte dann kommen tatsächlich 2 Fenster, im zweiten steht dann ich sollte zuerst das Base Setup laufen lassen und dann passiert nix mehr.
Mit der Original Wine Version die bei Suse dabei war wird der Bildschirm einfach schwarz und ich muss X neu starten.
Hier ein paar Meldungen die ich in der Console kriege:

bob@linux:/media/usb-00020034310000003874:0:0:0> wine setup.exe
Please use the registry key HKEY_CURRENT_CONFIG\Software\Fonts\LogPixels
to set the screen resolution and remove the "Resolution" entry in the config file
Please use the registry key HKEY_CURRENT_CONFIG\Software\Fonts\LogPixels
to set the screen resolution and remove the "Resolution" entry in the config file
bob@linux:/media/usb-00020034310000003874:0:0:0>


Das passiert wenn ich die Winetools starte:
bob@linux:/> wt
rm: Entfernen von „/home/bob/.wine/dosdevices/f:“ nicht möglich: Datei oder Verzeichnis nicht gefunden
Wine 20050111
wine is executed as "wine"
Parameters are ""
Version of Wine is OK.
Calls to wine are executed as "wine".
Config is /home/bob/.wine/winetools.log.
CDROM is /media/cdrom.
cat: /usr/local/winetools/README.20050111: Datei oder Verzeichnis nicht gefunden

Ich hoffe es kann mir wer helfen! Danke Leute!

Mfg Bob

K_Ozz
24.01.05, 15:03
lass die ganzen grafischen tools weg, die vermurksen mehr als sie bringen.
editier deine wine-config per hand, sie ist eigentlich selbsterklärend aufgebaut.
die config findest du unter ~/.wine/config
Hier (http://holarse.de/?content=/emulationen/wine/) findest du einige Hilfen rund um die Konfiguration und eine in deutsch durchkommentierte wine-config.

Mablung
24.01.05, 18:05
Ja, aber wie genau??? Keine Ahnung womit ich die config öffnen soll! Ich hab das von Holarse schon vorher durchgelesen. Ich kenn mich aber trozdem nicht wirklich aus! Wenn ich in das Verzeichnis gehe und die config öffnen will dann sagt er mir er findet den Befehl nicht!

Taubenschreck
24.01.05, 18:38
Vielleicht mit nem Texteditor??????

K_Ozz
24.01.05, 18:38
Du musst die config natürlich mit einem Texteditor öffnen. Welchen du nimmst ist völlig egal und reine Geschmackssache.
Bei mir sähe das so aus:


peg@Nina:~$ cd .wine/
peg@Nina:~/.wine$ vi config

FritzPille
24.01.05, 18:56
Wenn du dich mit VI nicht auskennst, könnte dir das (http://linuxeinsteiger.info/modules.php?op=modload&name=News&file=article&sid=129) helfen.

der Pille

stefan.becker
24.01.05, 22:18
Lasst den Jungen mit vi in Ruhe. Nimm sowas wie kedit oder gedit, abhängig von KDE/Gnome im Standardumfang. Die sind auch für Anfänger bedienbar ohne Erlernen.

milpool
24.01.05, 23:18
Die Wine Hilfe sieht ganz gut aus, nur der Link zu dieser Beispiel-Configdatei funktioniert nicht. Weiß jemand wo man die bekommen kann???

Danke schön

MilPool

K_Ozz
25.01.05, 06:32
Der 404 ist mir auch aufgefallen.
Vieleicht hilft dieses How-To (http://www.linux-gamers.net/modules/wfsection/article.php?articleid=2) ja noch, ist allerdings in englisch.

FritzPille
25.01.05, 10:21
Lasst den Jungen mit vi in Ruhe. Nimm sowas wie kedit oder gedit, abhängig von KDE/Gnome im Standardumfang. Die sind auch für Anfänger bedienbar ohne Erlernen.

Irgendwann kommt man um VI nicht mehr herum (ich benutze nur VI), denn was ist wenn mal X im Eimer ist? Und soo schwer ist VI nicht, ein paar Tasten und das wars.

der Pille

K_Ozz
26.01.05, 06:45
Es gibt aber auch "einfacher" zu bedienende Texteditoren für die Shell, "nano", "joe" und "pico" zum Beispiel!
Aber zum Them wine-config hab ich noch das (http://www.linuxforen.de/forums/showthread.php?t=48347&highlight=wine) direkt hier im Forum gefunden. Ist zwar etwas älter, aber enthällt nochn paar gute Infos.
mfg

Mablung
26.01.05, 11:23
Danke für die Hilfe Leute! VI is schon okay! Werd mich mal ans Werk machen und hoffen dass es hinhaut!

Mablung
26.01.05, 11:54
@K_Ozz deine Anleitung ist echt geil! Wine funktioniert jetzt fast!

Das einzige was ich jetz noch kriege ist dass der Bildschirm immer schwarz wird wenn ich irgendeine Anwendung starte! Ich drücken dann Strg-Alt F6 und dann Strg-Alt-F7 dann is wieder ein Bild da und ich kann fortfahren. Die Konsole gibt mir dieses hier aus:

bob@linux:~> wine SuperDVD.exe
Please use the registry key HKEY_CURRENT_CONFIG\Software\Fonts\LogPixels
to set the screen resolution and remove the "Resolution" entry in the config file

Weiss ned was ich da tun soll?!
Achja, und manche Anwendungen geben folgenden error aus: Diese Software benötigt eine neuere Windows Version!

K_Ozz
26.01.05, 13:03
Häng mal deine Config an und ich schau mal drüber :)

Mablung
26.01.05, 18:14
Hallo!

Mittlerweile hab ich Wine soweit dass ich sogar schon Sachen installieren kann! Jetz wollte ich probeweise mal Kazaa lite 2.6.1 installieren (ich weiss dass es da für Linux auch Programme gibt :D) und es hat tatsächlich funktioniert! Allerdings kann ich das Programm dann nicht starten, es erscheint das erste Fenster zum einrichten und wenn ich da auf weiter clicke verschwindet es und das wars dann. In der Konsole gibt er folgendes aus.

fixme:shell:Stream_WriteLocationInfo writing empty location info
err:menubuilder:ExtractFromEXEDLL LoadLibraryExA (C:\Program Files\Kazaa Lite\cleankmd.ico) failed, error 193
fixme:shell:Stream_WriteLocationInfo writing empty location info
err:menubuilder:ExtractFromEXEDLL LoadLibraryExA (C:\Program Files\Kazaa Lite\folder.ico) failed, error 193
fixme:shell:Stream_WriteLocationInfo writing empty location info
err:menubuilder:ExtractFromEXEDLL LoadLibraryExA (C:\Program Files\Kazaa Lite\folder.ico) failed, error 193
fixme:shell:Stream_WriteLocationInfo writing empty location info
fixme:shell:Stream_WriteLocationInfo writing empty location info
fixme:shell:Stream_WriteLocationInfo writing empty location info
err:menubuilder:ExtractFromEXEDLL Second FindResourceA failed, error 1814
err:menubuilder:InvokeShellLinker failed to extract icon.
fixme:shell:Stream_WriteLocationInfo writing empty location info
err:menubuilder:ExtractFromEXEDLL Failed saving icon as XPM, error 0
err:menubuilder:InvokeShellLinker failed to extract icon.
fixme:shell:Stream_WriteLocationInfo writing empty location info
fixme:shell:Stream_WriteLocationInfo writing empty location info
fixme:shell:Stream_WriteLocationInfo writing empty location info
fixme:shell:Stream_WriteLocationInfo writing empty location info
fixme:shell:Stream_WriteLocationInfo writing empty location info

Achja, meine Config schaut so aus, vielleicht stimmt da auch noch nicht alles?

WINE REGISTRY Version 2
;; All keys relative to \\Machine\\Software\\Wine\\Wine\\Config

;; If you think it is necessary to show others your complete config for a
;; bug report, filter out empty lines and comments with
;; grep -v "^;" ~/.wine/config | grep '.'

[wine]
"Windows" = "c:\\windows"
"System" = "c:\\windows\\system"
"Temp" = "c:\\windows\\temp"
"Path" = "c:\\windows;c:\\windows\\system"
"Profile" = "c:\\windows\\Profiles\\Administrator"
"GraphicsDriver" = "x11drv"
;"ShowDirSymlinks" = "1"
;"ShowDotFiles" = "1"

#

[Version]
; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win2k3,w in20,win30,win31)
;"Windows" = "win98"
; DOS version to imitate
;"DOS" = "6.22"

; Be careful here, wrong DllOverrides settings have the potential
; to pretty much kill your setup.
[DllOverrides]
; some dlls you may want to change
"oleaut32" = "builtin, native"
"ole32" = "builtin, native"
"comdlg32" = "builtin, native"
"shell32" = "builtin, native"
"shfolder" = "builtin, native"
"shlwapi" = "builtin, native"
"shdocvw" = "builtin, native"
"advapi32" = "builtin, native"
"msvcrt" = "native, builtin"
"mciavi.drv" = "native, builtin"
"mcianim.drv" = "native, builtin"
"d3drm" = "native, builtin"
"d3dxof" = "native, builtin"
"dpnhpast" = "native, builtin"
; you can specify applications too
; this one will apply for all notepad.exe
;"*notepad.exe" = "native, builtin"
; this one will apply only for a particular file
;"C:\\windows\\regedit.exe" = "native, builtin"
; default for all other dlls
"*" = "builtin, native"

[x11drv]
; Number of colors to allocate from the system palette
"AllocSystemColors" = "100"
; Use a private color map
"PrivateColorMap" = "N"
; Favor correctness over speed in some graphics operations
"PerfectGraphics" = "N"
; Color depth to use on multi-depth screens
;;"ScreenDepth" = "16"
; Allow the window manager to manage created windows
"Managed" = "Y"
; Use a desktop window of 640x480 for Wine
;"Desktop" = "640x480"
; Use XFree86 DGA extension if present
; (make sure /dev/mem is accessible by you !)
"UseDGA" = "N"
; Use XVidMode extension if present
"UseXVidMode" = "Y"
; Use XRandR extension if present
"UseXRandR" = "Y"
; Use the take focus protocol
"UseTakeFocus" = "Y"
; Enable DirectX mouse grab
"DXGrab" = "N"
; Create the desktop window with a double-buffered visual
; (useful to play OpenGL games)
"DesktopDoubleBuffered" = "N"
; Run in synchronous mode (useful for debugging X11 problems)
;;"Synchronous" = "Y"
;
; Use the Render extension to render client side fonts (default "Y")
;;"ClientSideWithRender" = "Y"
; Fallback on X core requests to render client side fonts (default "Y")
;;"ClientSideWithCore" = "Y"
; Set both of the previous two to "N" in order to force X11 server side fonts
;
; Anti-alias fonts if using the Render extension (default "Y")
;;"ClientSideAntiAliasWithRender" = "Y"
; Anti-alias fonts if using core requests fallback (default "Y")
;;"ClientSideAntiAliasWithCore" = "Y"
;

[fonts]
;Read the Fonts topic in the Wine User Guide before adding aliases
;See a couple of examples for russian users below
"Resolution" = "96"
"Default" = "-adobe-helvetica-"
"DefaultFixed" = "fixed"
"DefaultSerif" = "-adobe-times-"
"DefaultSansSerif" = "-adobe-helvetica-"

;; default TrueType fonts with russian koi8-r encoding
;"Default" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultFixed" = "-monotype-courier new-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultSerif" = "-monotype-times new roman-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultSansSerif" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
;; default cyrillic bitmap X fonts
;"Default" = "-cronyx-helvetica-"
;"DefaultFixed" = "fixed"
;"DefaultSerif" = "-cronyx-times-"
;"DefaultSansSerif" = "-cronyx-helvetica-"

; the TrueType font dirs you want to make accessible to wine
[FontDirs]
"dir1" = "/usr/X11R6/lib/X11/fonts/truetype"
"dir2" = "/usr/X11R6/lib/X11/fonts/TrueType"
"dir3" = "/usr/X11R6/lib/X11/fonts/TT"

[ppdev]
;; key: io-base of the emulated port
;; value : parport-device{,timeout}
;; timeout for auto closing an open device ( not yet implemented)
;"378" = "/dev/parport0"
;"278" = "/dev/parport1"
;"3bc" = "/dev/parport2"

[spooler]
"FILE:" = "tmp.ps"
"LPT1:" = "|lpr"
"LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
"LPT3:" = "/dev/lp3"

[ports]
;"read" = "0x779,0x379,0x280-0x2a0"
;"write" = "0x779,0x379,0x280-0x2a0"

[Debug]
;"RelayExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
;"RelayInclude" = "user32.CreateWindowA"
;"RelayFromExclude" = "user32;x11drv"
;"RelayFromInclude" = "sol.exe"
;"SnoopExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
;"SpyExclude" = "WM_SIZE;WM_TIMER;"

[registry]
;These are all booleans. Y/y/T/t/1 are true, N/n/F/f/0 are false.
;Defaults are read all, write to Home
; Where to find the global registries
;"GlobalRegistryDir" = "/etc";
; Global registries (stored in /etc)
"LoadGlobalRegistryFiles" = "Y"
; Load Windows registries from the Windows directory
"LoadWindowsRegistryFiles" = "Y"
; Registry periodic save timeout in seconds
; "PeriodicSave" = "600"
; Save only modified keys
"SaveOnlyUpdatedKeys" = "Y"

[Clipboard]
"ClearAllSelections" = "0"
"PersistentSelection" = "1"
"UsePrimary" = "0"

; List of all directories directly contain .AFM files
[afmdirs]
"1" = "/usr/share/ghostscript/fonts"
"2" = "/usr/share/a2ps/afm"
"3" = "/usr/share/enscript"
"4" = "/usr/X11R6/lib/X11/fonts/Type1"

[WinMM]
; Uncomment the "Drivers" line matching your sound setting.

"Drivers" = "wineoss.drv" ; default for most common configurations
;"Drivers" = "winearts.drv" ; for KDE
;"Drivers" = "winealsa.drv" ; for ALSA users
;"Drivers" = "winejack.drv" ; for Jack sound server
;"Drivers" = "winenas.drv" ; for NAS sound system
;"Drivers" = "wineaudioio.drv" ; for Solaris machines
;"Drivers" = "" ; to disable sound
"WaveMapper" = "msacm.drv"
"MidiMapper" = "midimap.drv"

[dsound]
;; HEL only: Number of waveOut fragments ahead to mix in new buffers.
;"HELmargin" = "5"
;; HEL only: Number of waveOut fragments ahead to queue to driver.
;"HELqueue" = "5"
;; Max number of fragments to prebuffer
;"SndQueueMax" = "28"
;; Min number of fragments to prebuffer
;"SndQueueMin" = "12"
;; Forces emulation mode (using wave api)
;"HardwareAcceleration" = "Emulation"
;; Sets default playback device (0 - number of devices - 1)
;"DefaultPlayback" = "0" ; use first device (/dev/dsp)
;"DefaultPlayback" = "1" ; use second device (/dev/dsp1)
;"DefaultPlayback" = "2" ; use third device (/dev/dsp2)
;; Sets default capture device (0 - number of devices - 1)
;"DefaultCapture" = "0" ; use first device (/dev/dsp)
;"DefaultCapture" = "1" ; use second device (/dev/dsp1)
;"DefaultCapture" = "2" ; use third device (/dev/dsp2)

[Network]
;; Use the DNS (Unix) host name always as NetBIOS "ComputerName" (boolean, default "Y").
;; Set to N if you need a persistent NetBIOS ComputerName that possibly differs
;; from the Unix host name. You'll need to set ComputerName in
;; HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\ComputerName\ComputerName, too.
;"UseDnsComputerName" = "N"

[ppd]
"generic" = "/usr/lib/wine/ppd/generic.ppd"

;; sample AppDefaults entries

; 3 InstallShield versions who like to put their full screen window in front,
; without any chance to switch to another X11 application.
; So just catch them in a desktop window.

[AppDefaults\\_INS0432._MP\\x11drv]
"Desktop" = "640x480"

[AppDefaults\\_INS0466._MP\\x11drv]
"Desktop" = "640x480"

[AppDefaults\\_INS0576._MP\\x11drv]
"Desktop" = "640x480"

[AppDefaults\\_INS5176._MP\\x11drv]
"Desktop" = "640x480"

[AppDefaults\\_INS5576._MP\\x11drv]
"Desktop" = "800x600"

;[AppDefaults\\iexplore.exe\\DllOverrides]
;"shlwapi" = "native"
;"rpcrt4" = "native"
;"ole32" = "native"
;"shdocvw" = "native"
;"wininet" = "native"
;"shfolder" = "native"
;"shell32" = "native"
;"shell" = "native"
;"comctl32" = "native"
;
;[AppDefaults\\setup.exe\\x11drv]
;"Desktop" = "800x600"
;
;[AppDefaults\\sol.exe\\Version]
;"Windows" = "nt40"
;
;; Some games (Quake 2, UT) refuse to accept emulated dsound devices.
;; You can add an AppDefault entry like this for such cases.
;[AppDefaults\\pickygame.exe\\dsound]
;"EmulDriver" = "N"

#

stefan.becker
26.01.05, 19:32
Schau ins Howto, da gibt es Seiten mit Tipps. Wenn es da nicht steht, Pech gehabt, dann geht es halt nicht. Außerdem nutz mal die Suche mit dem Stichwort "giFT".

Mablung
26.01.05, 20:52
Das giFT ist ein Peer-to-Peer programm. Das brauch ich nicht, dafür hab ich aMule und Azureus die ganz gut funktionieren. Kazaalite wollte ich nur testweise installieren, damit ich sehe ob das Wine funktioniert.
Was es aber anscheinend trotzdem nicht tut.

stefan.becker
26.01.05, 21:04
WINE bildet halt Windows nach, ist es nicht. Und es funktioniert, aber halt nicht mit dem Programm. Darum die Tippseiten.

Mablung
26.01.05, 21:41
Kann es vielleicht an den DLLs liegen? Welche Dlls braucht man denn grundsätzlich!
Folgende DLLs sind bei mir drauf:
advapi32, comdlg32, d3drm, d3dxof, dpnhpast, mcianim.drv, mciavi.drv, msvcrt, ole32, oleaut32, shdocvw, shell32, shfolder, shlwapi.

In der Winecfg sind bei mir die Knöpfe wo man die Load Versionen (Builtin, Native, Builtin-Native, Native-Builtin, Disable) alle grau und nicht clickbar.

stefan.becker
26.01.05, 22:46
Schau auf eine der Tipp-Seiten. Wenn es nicht geht, Pech gehabt.

Ist halt wie im Fernsehen, Wiederholung inklusive :-)

Du kannst zehnmal fragen und wirst nix anderes hören, zumindest nicht von mir.

Es kann daran lagen, aber vielleicht auch an deinem Rechner oder das übermorgen freitag ist und in 2 Wochen die nächste WINE Version kommt.

Ich habe bei WINE das Probieren aufgegeben, das bringt einfach nichts.

K_Ozz
27.01.05, 06:35
:) Einen letzten Tip kann ich noch beisteuern!
http://frankscorner.org/index.php?p=kazaalite242 .... :) KazaaLite2.42 läuft!
http://frankscorner.org/index.php?p=kazaalite210 KazaaLite2.10 auch.

Mezziah
27.01.05, 09:11
Irgendwann kommt man um VI nicht mehr herum (ich benutze nur VI), denn was ist wenn mal X im Eimer ist? Und soo schwer ist VI nicht, ein paar Tasten und das wars.

nano? Ich arbeite fast nur mit dem.

Das Sharman-Netzwerk gibts bei irgendeinem KDE-Programm (kde-apps.org) mit anderen Netzwerken zusammen... fragt mich nicht, wie das heißt, aber das Teil zu kompilieren ist eher erfolgsversprechend, als Kazaa durch Wine zu jagen, weil es ja auch wegen der Startseite den IE benötigt.
So als Testprogramm wäre die Testversion von WinRAR ganz gut und die sollte in jedem Fall funktionieren, ebenso wie Miranda IM, welches dann aber leider nicht voll funktionsfähig ist.

Viel Spaß beim basteln.

Mablung
27.01.05, 13:45
Mir isses egal jetzt, das funktioniert einfach nicht mit dem Wine! Ich gebs jetzt endgültig auf!