ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Вопросы по Wine
@ 2005-04-27  4:38 anterior
  2005-05-03  8:07 ` Vitaly Lipatov
  0 siblings, 1 reply; 6+ messages in thread
From: anterior @ 2005-04-27  4:38 UTC (permalink / raw)
  To: community

[-- Attachment #1: Type: text/plain, Size: 1118 bytes --]

1.) Как заставить работать MIDI. Например я запускаю программу GuitarPro4, в 
настройках выбираються MIDI порты:
	Emu10k1
	MIDI 0-0
	Emu10k1 port 0
	Emu10k1 port 1
	Emu10k1 port 2
	Emu10k1 port 3
При выборе первого из них выдаеться сообщение: 'Невозможно открыть MIDI-порт 
[Emu10k1]. Закройте, пожалуйста другую программу, использующую MIDI, или 
измените настройки MIDI.' Остальные просто не играют не выдавая 
информационных сообщений.

2) Большинство программ не работает из-за такой ошибки: 'The file 
'OLEAUT32.DLL' is out of date. This program requires a newer version'

3) Можно ли увеличить скорость работы эмулятора. Почти каждую программу он 
открывает только через пол минуты, это минимум. И вообще программы работают 
медленно. Как игры работают я даже не проверял ;)

4) Как это исправить в kde: например если в имени файла встречается пробел, то 
wine просто не находит ее.
'C:\Windows\Note Pad.exe' (Я установил связь *.exe с wine в kde чтобы он 
открывал мне её прям из Konqueror)

Звуковая карта SBLive, alsa драйвер. Версия Wine 20021031. WindowsXP SP2. 
AltLinux Master 2.2 Конфиг во вложении






[-- Attachment #2: config --]
[-- Type: text/plain, Size: 8765 bytes --]

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 '.'
;;
;; 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]
"Path" = "/mnt/floppy"
"Type" = "floppy"
"Label" = "Floppy"
"Filesystem" = "win95"
"Device" = "/dev/fd0"

[Drive C]
"Path" = "/mnt/windows"
"Type" = "hd"
"Label" = "Drive C"
"Filesystem" = "win95"

[Drive D]
"Path" = "/mnt/win_d"
"Type" = "hd"
"Label" = "Drive D"
"Filesystem" = "win95"

[Drive E]
"Path" = "/mnt/maxim"
"Type" = "network"
"Label" = "Home drive"
"Filesystem" = "win95"

[Drive F]
"Path" = "/mnt/cdrom2"
"Type" = "cdrom"
"Label" = "DVD-ROM"
"Filesystem" = "win95"
"Device" = "/dev/cdrom2"

[Drive G]
"Path" = "/mnt/cdrom"
"Type" = "cdrom"
"Label" = "DVD-RW"
"Filesystem" = "win95"
"Device" = "/dev/cdrom"

[Drive H]
"Path" = "/tmp/winetmp-${USER}"
"Type" = "hd"
"Label" = "Tmp Drive"
"Filesystem" = "win95"

[Drive I]
"Path" = "${HOME}"
"Type" = "network"
"Label" = "Home"
"Filesystem" = "win95"

[wine]
"Windows" = "C:\\WINDOWS"
"System" = "C:\\WINDOWS\\SYSTEM"
"Temp" = "H:\\"
"Path" = "C:\\WINDOWS;C:\\WINDOWS\\SYSTEM;C:\\WINDOWS\\SYSTEM32"
"Profile" = "c:\\windows\\Profiles\\Administrator"
"GraphicsDriver" = "x11drv"
;"ShowDirSymlinks" = "1"
;"ShowDotFiles" = "1"
"ShellLinker" = "wineshelllink"

# <wineconf>

[Version]
; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win20,win30,win31)
;;"Windows" = "nt40"
"Windows" = "winxp"
; 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"
"commdlg"      = "builtin, native"
"comdlg32"     = "builtin, native"
"shell"        = "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"
; 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" = "Y"
; Color depth to use on multi-depth screens
;;"ScreenDepth" = "24"
; Name of X11 display to use
;;"Display" = ":0.0"
; Allow the window manager to manage created windows
"Managed" = "Y"
; Use a desktop window of 640x480 for Wine
;"Desktop" = "800x600"
; Use XFree86 DGA extension if present
; (make sure /dev/mem is accessible by you !)
"UseDGA" = "Y"
; Use XShm extension if present
"UseXShm" = "Y"
; Use XVidMode extension if present
"UseXVidMode" = "Y"
; Use the take focus protocol
"UseTakeFocus" = "Y"
; Enable DirectX mouse grab
"DXGrab" = "Y"
; 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"
; Run in synchronous mode (useful for debugging X11 problems)
;;"Synchronous" = "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" = "-rfx-helvetica-"
"DefaultFixed" = "fixed"
"DefaultSerif" = "-rfx-times-"
"DefaultSansSerif" = "-rfx-helvetica-"

; the TrueType font dirs you want to make accessible to wine
[FontDirs]
"dir1" = "/mnt/windows/windows/Fonts"
"dir2"="/usr/X11R6/lib/X11/fonts"
;"dir2" = "/usr/X11R6/lib/X11/fonts/urw-ttf"
;"dir2" = "/usr/share/fonts/truetype"
;"dir3" = "/usr/X11R6/lib/X11/fonts/TT"
;"dir4" = "/usr/share/fonts/TT"

[serialports]
"Com1" = "/dev/ttyS0"
"Com2" = "/dev/ttyS1"
"Com3" = "/dev/ttyS2"
"Com4" = "/dev/modem"

[parallelports]
"Lpt1" = "/dev/lp0"

[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/winetmp-${USER} -q -"
"LPT3:" = "/dev/lp3"

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

[Debug]
;"RelayExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
;"RelayInclude" = "user32.CreateWindowA"
;"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"
; 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]
;; supported styles are 'Win31'(default), 'Win95', 'Win98'
;; this has *nothing* to do with the windows version Wine returns:
;; set the "Windows" value in the [Version] section if you want that.
"WineLook" = "Win98"

[Console]
;"Drivers" = "tty"
;"XtermProg" = "nxterm"
;"InitialRows" = "25"
;"InitialColumns" = "80"
;"TerminalType" = "nxterm"

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

; List of all directories directly contain .AFM files
[afmdirs]
"1" = "/usr/share/fonts/default/Type1"
"2" = "/usr/share/fonts/default/Type1-sharatype"
"3" = "/usr/share/fonts/default/Type1-dmtr40in"
"4" = "/usr/share/fonts/default/Type1-Decor"
"5" = "/usr/share/enscript"

[WinMM]
"Drivers" = "wineoss.drv"
#"Drivers" = "winearts.drv"
"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"

;; sample AppDefaults entries
[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"
;;[C:\\Windows\\Program Files\\DVDInfoPro\\DvdInfo.exe]
;;"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"

# </wineconf>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] Вопросы по Wine
  2005-04-27  4:38 [Comm] Вопросы по Wine anterior
@ 2005-05-03  8:07 ` Vitaly Lipatov
  2005-05-03  8:41   ` [Comm] " max
  0 siblings, 1 reply; 6+ messages in thread
From: Vitaly Lipatov @ 2005-05-03  8:07 UTC (permalink / raw)
  To: community

On Wednesday 27 April 2005 08:38, anterior wrote:
> 2) Большинство программ не работает из-за такой ошибки: 'The
> file 'OLEAUT32.DLL' is out of date. This program requires a
> newer version'
Можно пытаться установить DCOM98.
Типа как на etersoft.ru/wine/1crun

> 3) Можно ли увеличить скорость работы эмулятора. Почти каждую
Можно, модернизировав железо.
> программу он открывает только через пол минуты, это минимум. И
> вообще программы работают медленно. Как игры работают я даже
> не проверял ;)
Запускается медленно, потому что wine стартует. А остальное 
медленно не должно работать.

> 4) Как это исправить в kde: например если в имени файла
> встречается пробел, то wine просто не находит ее.
> 'C:\Windows\Note Pad.exe' (Я установил связь *.exe с wine в
> kde чтобы он открывал мне её прям из Konqueror)
Исправить скрипт /usr/bin/wine

> Звуковая карта SBLive, alsa драйвер. Версия Wine 20021031.
> WindowsXP SP2. AltLinux Master 2.2 Конфиг во вложении
К сожалению, даже не знаю чем помочь. Master 2.2 был так давно...

-- 
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! LaTeX! LyX!


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Comm] Re: Вопросы по Wine
  2005-05-03  8:07 ` Vitaly Lipatov
@ 2005-05-03  8:41   ` max
  2005-05-03  9:50     ` Andrey Rahmatullin
  0 siblings, 1 reply; 6+ messages in thread
From: max @ 2005-05-03  8:41 UTC (permalink / raw)
  To: community

В сообщении от 3 Май 2005 14:07 Vitaly Lipatov написал(a):

>
> > 3) Можно ли увеличить скорость работы эмулятора. Почти каждую
>
> Можно, модернизировав железо.
>
> > программу он открывает только через пол минуты, это минимум. И
> > вообще программы работают медленно. Как игры работают я даже
> > не проверял ;)
>
> Запускается медленно, потому что wine стартует. А остальное
> медленно не должно работать.

А у меня всё вроде нормально работает, а загрузка на проц доходит до 100%.
В основном это Х, так и должно быть?


-- 
MaX

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] Re: Вопросы по Wine
  2005-05-03  8:41   ` [Comm] " max
@ 2005-05-03  9:50     ` Andrey Rahmatullin
  2005-05-03 10:25       ` max
  0 siblings, 1 reply; 6+ messages in thread
From: Andrey Rahmatullin @ 2005-05-03  9:50 UTC (permalink / raw)
  To: community

[-- Attachment #1: Type: text/plain, Size: 350 bytes --]

On Tue, May 03, 2005 at 02:41:25PM +0600, max wrote:
> А у меня всё вроде нормально работает, а загрузка на проц доходит до 100%.
Всегда или иногда? На любых приложениях?

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(8):

Костя появится через неделю, а пакет с  ядром он уходя поставил
собираться :-)
		-- aen in devel@

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Comm] Re: Вопросы по Wine
  2005-05-03  9:50     ` Andrey Rahmatullin
@ 2005-05-03 10:25       ` max
  2005-05-03 21:51         ` Vitaly Lipatov
  0 siblings, 1 reply; 6+ messages in thread
From: max @ 2005-05-03 10:25 UTC (permalink / raw)
  To: Andrey Rahmatullin, community

В сообщении от 3 Май 2005 15:50 Andrey Rahmatullin написал(a):
> On Tue, May 03, 2005 at 02:41:25PM +0600, max wrote:
> > А у меня всё вроде нормально работает, а загрузка на проц доходит до
> > 100%.
>
> Всегда или иногда? На любых приложениях?

Я их немного пробовал. 
Загрузка явно наблюдается при изменениях размера окна. Всё обрабатывается с 
отставанием.
Наиболее ярко это видно в IChate (там есть анимированные смайлы). 
И крома Х ещё wine-preloader загрузку даёт.

-- 
MaX

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] Re: Вопросы по Wine
  2005-05-03 10:25       ` max
@ 2005-05-03 21:51         ` Vitaly Lipatov
  0 siblings, 0 replies; 6+ messages in thread
From: Vitaly Lipatov @ 2005-05-03 21:51 UTC (permalink / raw)
  To: community

On Tuesday 03 May 2005 14:25, max wrote:
> В сообщении от 3 Май 2005 15:50 Andrey Rahmatullin написал(a):
> > On Tue, May 03, 2005 at 02:41:25PM +0600, max wrote:
> > > А у меня всё вроде нормально работает, а загрузка на проц
> > > доходит до 100%.
> >
> > Всегда или иногда? На любых приложениях?
>
> Я их немного пробовал.
> Загрузка явно наблюдается при изменениях размера окна. Всё
> обрабатывается с отставанием.
Да, так и должно быть. Графические программы в WINE работают 
медленно (на порядок) при интенсивной отрисовке изображения.
Не так просто GDI совместить с иксовым протоколом...

-- 
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! LaTeX! LyX!


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-05-03 21:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-27  4:38 [Comm] Вопросы по Wine anterior
2005-05-03  8:07 ` Vitaly Lipatov
2005-05-03  8:41   ` [Comm] " max
2005-05-03  9:50     ` Andrey Rahmatullin
2005-05-03 10:25       ` max
2005-05-03 21:51         ` Vitaly Lipatov

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git