Xéme post sur Wine

Xéme post sur Wine - Linux et OS Alternatifs

Marsh Posté le 23-10-2001 à 21:31:43    

Oui je sais, il y en a déjà, mais j'ai pas trouvé de réponse à ma question. J'ai installé les binaries de wine puis j'ai créé le fichier config suivant
 
[Drive C]
"Path"="/root/winehd"
"Filesystem"="win95"
 
[wine]
"windows"="C:\\WINDOWS"
"system"="C:\\WINDOWS\\System"
"temp"="C:\\TEMP"
 
[Tweak.Layout]
"WineLook"="Win95"
 
et quand j'aissaie de démarer un programme windows, il me met  
"config is not a valid registry file"
 
Qu'est-ce dont ?

Reply

Marsh Posté le 23-10-2001 à 21:31:43   

Reply

Marsh Posté le 23-10-2001 à 22:05:27    

l'idéal serait d'avoir un winesetup (package winesetuptk sur la deb) qui fourni une interface pour configurer.
 
sinon, de copier et modifier celui fourni avec les sources.
 
voila le mien:
 

Citation :


 
WINE REGISTRY Version 2
;; All keys relative to \\Machine\\Software\\Wine\\Wine\\Config
 
;;
;; MS-DOS drives configuration
;;
;; Each section has the following format:
;; [Drive X]
;; Path=xxx       (Unix path for drive root)
;; Type=xxx       (supported types are 'floppy', 'hd', 'cdrom' and 'network';)
;; Label=xxx      (drive label, at most 11 characters)
;; Serial=xxx     (serial number, 8 characters hexadecimal number)
;; Filesystem=xxx (supported types are 'msdos'/'dos'/'fat', 'win95'/'vfat', 'unix';)
;;   This is the FS Wine is supposed to emulate on a certain
;;   directory structure.
;;   Recommended:
;;   - "win95" for ext2fs, VFAT and FAT32
;;   - "msdos" for FAT16 (ugly, upgrading to VFAT driver strongly recommended)
;;   DON'T use "unix" unless you intend to port programs using Winelib !
;; Device=/dev/xx (only if you want to allow raw device access)
;;
 
[Drive A]
"Type" = "floppy"
"Path" = "/floppy"
"Label" = "/floppy"
"Device" = "/dev/fd0"
 
[Drive C]
"Path" = "/usr/local/Win/fake_windows"
"Type" = "hd"
"Device" = ""
 
[Drive X]
"Type" = "hd"
"Path" = "/tmp"
"Label" = "Tmp Drive"
"FS" = "win95"
 
[Drive Y]
"Type" = "network"
"Path" = "${HOME}"
"Label" = "Home"
"FS" = "win95"
 
[Drive Z]
"Type" = "network"
"Path" = "/"
"Label" = "Root"
"FS" = "win95"
 
[wine]
"Windows" = "C:\\Windows"
"System" = "C:\\Windows\\system"
"Path" = "C:\\Windows;C:\\Windows\\system;X:\\;Y:\\"
"Temp" = "X:\\"
"GraphicsDriver" = "x11drv"
; Wine doesn't pass directory symlinks to Windows programs by default.
; Enabling this may crash some programs that do recursive lookups of a whole
; subdir tree in case of a symlink pointing back to itself.
;ShowDirSymlinks=1
"ShellLinker" = "wineshelllink"
 
[DllDefaults]
"DefaultLoadOrder" = "builtin, so, native"
 
[DllOverrides]
"kernel32" = "builtin"
"gdi32" = "builtin"
"user32" = "builtin"
"krnl386" = "builtin"
"gdi" = "builtin"
"user" = "builtin"
"toolhelp" = "builtin"
"comdlg32" = "builtin"
"commdlg" = "builtin"
"version" = "builtin"
"ver" = "builtin"
"shell32" = "builtin"
"shell" = "builtin"
"shlwapi" = "builtin"
"lz32" = "builtin"
"lzexpand" = "builtin"
"commctrl" = "builtin"
"comctl32" = "builtin"
"wsock32" = "builtin"
"winsock" = "builtin"
"advapi32" = "builtin"
"crtdll" = "builtin"
"ntdll" = "builtin"
"mpr" = "builtin"
"winspool.drv" = "builtin"
"ddraw" = "builtin"
"dinput" = "builtin"
"dsound" = "builtin"
"winmm" = "builtin"
"mmsystem" = "builtin"
"msvideo" = "builtin"
"msvfw32" = "builtin"
"mcicda.drv" = "builtin"
"mciseq.drv" = "builtin"
"mciwave.drv" = "builtin"
"mciavi.drv" = "builtin"
"mcianim.drv" = "builtin"
"msacm.drv" = "builtin"
"midimap.drv" = "builtin"
"glide2x" = "so"
"glide3x" = "so"
"opengl32" = "builtin"
"shfolder" = "builtin"
"rpcrt4" = "builtin"
"w32skrnl" = "builtin"
"wnaspi32" = "builtin"
"wow32" = "builtin"
"system" = "builtin"
"display" = "builtin"
"wprocs" = "builtin"
"wineps" = "builtin"
"icmp" = "builtin"
"netapi32.dll" = "builtin"
 
[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
; Name of X11 display to use
;;Display = :0.0
; Allow the window manager to manage created windows
"Managed" = "N"
; Run Wine windows in desktop. Contains "N" or something like "800x600".
"Desktop" = "N"
; Use XFree86 DGA extension if present
"UseDGA" = "Y"
; Use XShm extension if present
"UseXShm" = "Y"
; Enable DirectX mouse grab
"DXGrab" = "N"
; Create the desktop window with a double-buffered visual
; (useful to play OpenGL games)
"DesktopDoubleBuffered" = "Y"
; Code page used for captions in managed mode
; 0 means default ANSI code page (CP_ACP == 0)
"TextCP" = "0"
; Use this if you have more than one port for video on your setup  
; (Wine uses for now the first 'input image' it finds).
;; XVideoPort = 43
 
[fonts]
;Read documentation/fonts before adding aliases
"Resolution" = "96"
"Default" = "-adobe-times-"
 
[serialports]
"Com1" = "/dev/ttyS0"
"Com2" = "/dev/ttyS1"
"Com3" = "/dev/modem,38400"
"Com4" = "/dev/modem"
 
[parallelports]
"Lpt1" = "/dev/lp0"
 
[spooler]
"LPT1:" = "|lpr"
"LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
"LPT3:" = "/dev/lp3"
 
[ports]
;read=0x779,0x379,0x280-0x2a0
;write=0x779,0x379,0x280-0x2a0
 
[spy]
"Exclude" = "WM_SIZE;WM_TIMER;"
 
[registry]
; Paths must be given in /dir/dir/file.reg format.
; Wine will not understand dos file names here...
 
;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
; Global registries (stored in /etc)
"LoadGlobalRegistryFiles" = "Y"
; Home registries (stored in ~user/.wine/)
"LoadHomeRegistryFiles" = "Y"
; Load Windows registries from the Windows directory
"LoadWindowsRegistryFiles" = "Y"
; TRY to write all changes to home registries
"WritetoHomeRegistryFiles" = "Y"
; Registry periodic save timeout in seconds
; PeriodicSave=600
; Save only modified keys
"SaveOnlyUpdatedKeys" = "Y"
 
[Tweak.Layout]
;; WineLook=xxx  (supported styles are 'Win31'(default), 'Win95', 'Win98';)
"WineLook" = "Win98"
 
[Console]
;Drivers=tty
;XtermProg=nxterm
;InitialRows=25
;InitialColumns=80
;TerminalType=nxterm
 
[Clipboard]
"ClearAllSelections" = "0"
"PersistentSelection" = "1"
 
[WinMM]
"Drivers" = "wineoss.drv"
"WaveMapper" = "msacm.drv"
"MidiMapper" = "midimap.drv"
 
 
 
 
 
 
 
 
 
 
[Drive N]
"Path" = "/mnt/win_d"
"Type" = "hd"
"Device" = ""
 
[Drive E]
"Path" = "/cdrom"
"Type" = "cdrom"
"Device" = "/dev/cdrom"
 
[Drive D]
"Path" = "/mnt/win_c"
"Type" = "hd"
"Device" = ""
 

Reply

Marsh Posté le 23-10-2001 à 22:47:48    

et ou je peux trouver winsetup ?
j'ai redhat 7.1
 
PS: t'as win installé ou pas ?

Reply

Marsh Posté le 23-10-2001 à 22:49:56    

oui mais je m'en sers pas.

Reply

Marsh Posté le 23-10-2001 à 23:05:36    

Je l'ai trouvé que sous Debian.
ca a été développé par http://wine.codeweavers.com/
ils ont une version de wine qui l'inclus (en RPM)
sinon, y a l'option d'utiliser le package .deb via alien :/ (déconseillé même si c'est pas une appli critique)

Reply

Marsh Posté le 23-10-2001 à 23:21:11    

Super, merci je vais tout de suite essayer

Reply

Marsh Posté le 23-10-2001 à 23:46:18    

Ca marche nickel, merci!
 
Parcontre, il veut pas installer half-life, l'install me dit que j'utilise une mauvaise version de windows...

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed