Konfiguration von Winex

Software besorgen und anwenden
Post Reply
Message
Author
Bussen

Konfiguration von Winex

#1 Post by Bussen »

Vor kurzem war hier ein Beitrag in dem das Problem mit einer fehlerhaftem Bildschirmdarstellung von Winex behandelt wurde.
Kann den Beitrag leider nicht mehr finden.
Auf jeden Fall bitte ich den Author von diesem Artikel darum, einfach mal den Inhalt der Datei ~./transgaming/config zu posten.
Werde den Inhalt dann einfach mal mit meiner Config vergleichen.
Bei mir klappt es nämlich.

User avatar
Lateralus
prolinux-forum-admin
Posts: 1238
Joined: 05. May 2004 7:35

#2 Post by Lateralus »

Hi

danke, das du dich der Sache annimmst.

Code: Select all

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 C]
"Path" = "${HOME}/.transgaming/c_drive/"
"Type" = "hd"
"Label" = "Dos Drive"
"Filesystem" = "win95"
 
[Drive D]
"Path" = "${HOME}"
"Type" = "hd"
"Label" = "My Home"
"Filesystem" = "win95"
 
[Drive E]
"Path" = "/media/dvd/"
"Type" = "cdrom"
"Label" = "DVD"
"Filesystem" = "win95"

[wine]
"Windows" = "c:\\windows"
"System" = "c:\\windows\\system32\\"
"Temp" = "e:\\"
"Path" = "c:\\windows\\;c:\\windows\\system32\\"
"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.
;
; Note: The WINESHELLLINK Environment variable will override this setting.
;       (which is set in the winex startup script)
;"ShowDirSymlinks" = "1"
"ShellLinker" = "/usr/lib/transgaming_winex3/winex/bin/wineshelllink"

# <wineconf>

&#91;DllDefaults&#93;
"DefaultLoadOrder" = "native, builtin, so"

&#91;DllOverrides&#93;
"commdlg"      = "builtin, native"
"comdlg32"     = "builtin, native"
"oleaut32"     = "builtin, native"
"ver"          = "builtin, native"
"version"      = "builtin, native"
"shell"        = "builtin, native"
"shell32"      = "builtin, native"
"shfolder"     = "builtin, native"
"shlwapi"      = "builtin, native"
"lzexpand"     = "builtin, native"
"lz32"         = "builtin, native"
"comctl32"     = "builtin, native"
"commctrl"     = "builtin, native"
"advapi32"     = "builtin, native"
"crtdll"       = "builtin, native"
"mpr"          = "builtin, native"
"winspool.drv" = "builtin, native"
"d3d8"         = "builtin, native"
"d3drm"        = "builtin, native"
"ddraw"        = "builtin, native"
"dinput"       = "builtin, native"
"dinput8"      = "builtin, native"
"dmusic"       = "builtin, native"
"dsound"       = "builtin, native"
"opengl32"     = "builtin, native"
"msvcrt"       = "native, builtin"
"rpcrt4"       = "native, builtin"
"msvideo"      = "builtin, native"
"msvfw32"      = "builtin, native"
"mcicda.drv"   = "builtin, native"
"mciseq.drv"   = "builtin, native"
"mciwave.drv"  = "builtin, native"
"mciavi.drv"   = "native, builtin"
"mcianim.drv"  = "native, builtin"
"msacm.drv"    = "builtin, native"
"msacm"        = "builtin, native"
"msacm32"      = "builtin, native"
"midimap.drv"  = "builtin, native"  
"wininet"      = "builtin, native"

&#91;Version&#93;
; Windows version to imitate. Valid versions are&#58; 'win20', 'win30', 'win31', 'win95', 'win98', 'winme', 'nt351', 'nt40', 'win2000', 'winxp'
"Windows" = "win98"
; DOS version to imitate
;"DOS" = "6.22"

&#91;x11drv&#93;
; Number of colors to allocate from the system palette
"AllocSystemColors" = "100"
; Number of colors to copy from the default palette
"CopyDefaultColors" = "0"
; 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" = "&#58;0.0"
; 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
; &#40;make sure /dev/mem is accessible by you !&#41;
"UseDGA" = "N"
; Use XShm extension if present
"UseXShm" = "Y"
; Enable DirectX mouse grab
"DXGrab" = "Y"
; Use XVidMode extension if present
"UseXVidMode" = "Y"
; Create the desktop window with a double-buffered visual
; &#40;useful to play OpenGL games&#41;
"DesktopDoubleBuffered" = "Y"
; Code page used for captions in managed mode
; 0 means default ANSI code page &#40;CP_ACP == 0&#41;
"TextCP" = "0"
; Use this if you have more than one port for video on your setup 
; &#40;Wine uses for now the first 'input image' it finds&#41;.
;; "XVideoPort" = "43"
; Use this to make your X server execute all commands
; sequentially rather than buffering commands. Will make
; everything really SLOW but can be nice for debugging.
;; "Synchronous" = "N"

&#91;d3dgl&#93;
"AnisotropicTextureFiltering" = "N"
"VertexShaders" = "Y"
"ClipSpaceFix" = "Y"

&#91;fonts&#93;
;Read documentation/fonts before adding aliases
"Resolution" = "96"
"Default" = "-adobe-times-"

&#91;FontPatterns&#93;
"Pattern0" = "-adobe-times*"
"Pattern1" = "-adobe-helvetica*"
"Pattern2" = "-adobe-courier*"
"Pattern3" = "-misc-fixed*"

&#91;memory&#93;
;; Attempt to make memory allocation more windows like.
;; Not for use with all applications. Best used in app default section.
; "MemoryLayoutOverride" = "0x10000000"



&#91;serialports&#93;
"Com1" = "/dev/ttyS0"
"Com2" = "/dev/ttyS1"
"Com3" = "/dev/ttyS2"
"Com4" = "/dev/modem"

&#91;parallelports&#93;
"Lpt1" = "/dev/lp0"

&#91;spooler&#93;
"LPT1&#58;" = "|lpr"
"LPT2&#58;" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
"LPT3&#58;" = "/dev/lp3"

&#91;ports&#93;
;"read" = "0x779,0x379,0x280-0x2a0"
; "write" = "0x779,0x379,0x280-0x2a0"

&#91;spy&#93;
"Exclude" = "WM_SIZE;WM_TIMER;"

&#91;registry&#93;
;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 &#40;stored in /etc&#41;
"LoadGlobalRegistryFiles" = "n"
; Home registries &#40;stored in ~user/.wine/&#41;
"LoadHomeRegistryFiles" = "Y"
; Load Windows registries from the Windows directory
"LoadWindowsRegistryFiles" = "n"
; TRY to write all changes to home registries
"WritetoHomeRegistryFiles" = "Y"
; Registry periodic save timeout in seconds
; "PeriodicSave" = "600"
; Save only modified keys
"SaveOnlyUpdatedKeys" = "Y"

&#91;Tweak.Layout&#93;
;; supported styles are 'Win31'&#40;default&#41;, 'Win95', 'Win98'
"WineLook" = "Win98"

&#91;Console&#93;
"Drivers" = "xterm"
;"Drivers" = "tty"
"XtermProg" = "konsole"
;"InitialRows" = "25"
;"InitialColumns" = "80"
;"TerminalType" = "nxterm"

&#91;Clipboard&#93;
"ClearAllSelections" = "0"
"PersistentSelection" = "1"

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

&#91;WinMM&#93;
"Drivers" = "wineoss.drv"
"WaveMapper" = "msacm.drv"
"MidiMapper" = "midimap.drv"

&#91;wineoss&#93;
"UseMMap" = "N"
"FullDuplex" = "N"

;; App default settings

;; Battle Field 1942 settings
&#91;AppDefaults\\bf1942.exe\\d3dgl&#93;
"ClipSpaceFix" = "N"

;; Medal Of Honor settings
&#91;AppDefaults\\mohaa.exe\\memory&#93;
"MemoryLayoutOverride" = "0x10000000"
&#91;AppDefaults\\mohaademo.exe\\memory&#93;
"MemoryLayoutOverride" = "0x10000000"

&#91;AppDefaults\\moh_spearhead.exe\\memory&#93;
"MemoryLayoutOverride" = "0x10000000"
&#91;AppDefaults\\moh_spearhead.exe\\Version&#93;
"Windows" = "win2k"
&#91;AppDefaults\\moh_spearhead_demo.exe\\memory&#93;
"MemoryLayoutOverride" = "0x10000000"

;; SimCity 4 settings
&#91;AppDefaults\\SimCity 4.exe\\Version&#93;
"Windows" = "win2k"

;; Warcraft 3
&#91;AppDefaults\\war3.exe\\transgaming&#93;
"cmdline" = "-opengl"

;; Civ 3
&#91;AppDefaults\\Civilization3.exe\\Version&#93;
"Windows" = "win2k"

# </wineconf>

Bussen

#3 Post by Bussen »

Bei mir sind folgende sachen anders.


;"Desktop" = "800x600"
;; "Synchronous" = "Y"


[wineoss]
"UseMMap" = "Y"
"FullDuplex" = "Y"

Ich glaube, daß das ändern der Auflösung bereits helfen sollte.
Das mit dem wineoss brauchst du nur, wenn du kein Sound hast. War bei mir der Fall.

Viel Spass beim Testen.

User avatar
Lateralus
prolinux-forum-admin
Posts: 1238
Joined: 05. May 2004 7:35

#4 Post by Lateralus »

Läuft leider immer noch nicht so ganz perfekt. Die Bidlschirmauflösung ist jetzt aber korrekt - so weit vielen Dank. (Kann man eigentlich Vollbild spielen, also Linux so konfigurieren, dass es die Bildschirm Auflösung ändert, je nachdem, was für ein Signal kommt?) Ich denke, es liegt mit daran, dass meine Grafikkarte 3D-mäßig nicht sorecht unterstützt wird...

oder hat jemand Treiber für 'ne Hercules 3D Prophet Kyro II 4500 64MB???

Bussen

#5 Post by Bussen »

Das mit der automatischen Anpassung der Auflösung hast du ja schon. Musst nur den X-Server vernünftig konfigurieren. Das kann man mit z.B. sax2 machen.

Nach den Treibern kannst du am besten mal bei www.freshmeat.net suchen.

Was läuft denn sonst nicht so toll bei dir?????
Eins ist klar, die Emulation wird wohl schlechter funtzen als das original.

Post Reply