View previous topic :: View next topic |
Author |
Message |
Runlevel 3 n00b
Joined: 26 Jul 2004 Posts: 33 Location: 51°00'N/06°47'O
|
Posted: Sat Jan 14, 2006 5:27 pm Post subject: |
|
|
I have one question when i start the game, yes it works good btw but the bottom border is truncated, i can not scroll with my mouse down how can i solve this?
I have tried different resolutions but it is the same. _________________ Its not a Bug, its Me !!!!
Es gibt keine dummen Fragen,
es gibt nur dumme Antworten!!! |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Sat Jan 14, 2006 6:37 pm Post subject: |
|
|
Runlevel 3 wrote: | I have one question when i start the game, yes it works good btw but the bottom border is truncated, i can not scroll with my mouse down how can i solve this?
I have tried different resolutions but it is the same. |
I had this problem too, if you launch the game on an other screen (other X I mean) you should be able to have fullscreen and to use your mouse , (it also allow me to run warcraft in 32bits color instead of the 16 )
Here is what I do:
The full post can be seen here (just be aware that the patch we were talking about is no longer needed with wine-0.9.5)
truc wrote: |
For those who would like to have it in full screen(because if my mouse leaves the window then, it switches to an other desktop, then blahblahbahlblah --> really annoying..) , here is how I did: ( it's better than a work around since after that, you will be able to switch from the game to your desktop (ctrl+F7 or ctrl +F8 by default) for more information juste search alt+tab in this great forum)
It's also soved the problem with the 16bits color (couldn't get higher before! )
so
here is a script to launch to game on your desktop:
Code: | #! /bin/bash
cd ~/wine/drive_c/Program\ Files/Warcraft\ III
exec `wine Warcraft\ III.exe -opengl`
exit 0
|
copy it in ~/scripts/warcraft3
then Code: | chmod ug+x ~/scripts/warcraft3 |
Now we gonna make an other script to launch this one on an other X
Code: | #! /bin/bash
xinit ~/scripts/warcraft3 -- :1
exit 0
|
Save it under ~/scripts/xwarcraft3
then again Code: | chmod ug+x ~/scripts/xwarcraft3 |
Now this is done:)
Juste try it now!
(if it's not already done put ~/scripts in your PATH in ~/.bashrc for bash users:) )
And this is it:), Now I can move my mouse wherever I want , and.. I can switch to my desktop with ctrl+F7 and switch back to the game with ctrl+F8
For those who still didn't know that trick, I hope you'll find it as usefull as I do!
EDIT: same thing with TFT:
Code: | cat scripts/frozenthrone
#! /bin/bash
cd ~/wine/drive_c/Program\ Files/Warcraft\ III
exec `wine Frozen\ Throne.exe -opengl`
exit 0 |
And
Code: | cat scripts/xfrozenthrone
#! /bin/bash
xinit ~/scripts/frozenthrone -- :1
exit 0 |
|
|
|
Back to top |
|
|
Runlevel 3 n00b
Joined: 26 Jul 2004 Posts: 33 Location: 51°00'N/06°47'O
|
Posted: Sat Jan 14, 2006 10:39 pm Post subject: |
|
|
Thanks for quick reply, that trick helps me
eventual for thos people who have probs with "connection refused to display :1.0"
Here a little guide:
Code: | Trouble with permissions
You get something like this:
Xlib: connection to ":1.0" refused by server
Xlib: No protocol specified
Xt error: Can't open display: :1.0
This indecates your writes are not enough to access this screen. If you don't now: It's deny to start any applications on the X of somebody else by default. Even root's access is restricted.
But we can solve that problem by editing the .Xauthority-file using xauth.
linux $ xauth
xauth>
How you have an auth-prompt to edit the accesfiles. First lets see all entry for now:
xauth> list
0.0.0.0:0 MIT-MAGIC-COOKIE-1 68d682a4f137b4f4679248eybc36a7c5
xeroc/unix:0 MIT-MAGIC-COOKIE-1 68d682a4f137b4f4679248eybc36a7c5
As we can see we are only allowed to use :0. My MIT-MAGIC-COOKIE-1-Code is this: 68d682a4f137b4f4679248eybc36a7c5.
Of course your MAGIC-COOKIE may look different. Please use yours.
We now have to add Display :1.0:
xauth> add :1.0 MIT-MAGIC-COOKIE-1 68d682a4f137b4f4679248eybc36a7c5
and save:
xauth> exit
Note that 'quit' removes changes and exits then.
|
Hope it helps !!! _________________ Its not a Bug, its Me !!!!
Es gibt keine dummen Fragen,
es gibt nur dumme Antworten!!! |
|
Back to top |
|
|
cypherscout n00b
Joined: 25 Aug 2004 Posts: 13
|
Posted: Sat Jan 21, 2006 7:06 pm Post subject: |
|
|
So I am having a problem with GLX, or at least it appears. I had War3 working correctly at one point, but now it is not. I tried to backtrack the differences in system configuration that could have possibly changed and no dice. Really, I don't mind spending the time to try to debug the problem I am having. It's just finding documentation on the error that is issued whenever I try to run War3.
Code: |
>wine War3.exe -opengl
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 143 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 389
Current serial number in output stream: 389
>wine --version
Wine 0.9.5
|
It appears there is a problem with GLX, but grep "(EE)" /var/log/Xorg.0.log yields nothing. glxinfo correctly reports that I have direct rendering and glxgears runs as it should with no problems. Is there any documentation for troubleshooting wine errors like this? I tried looking at: Wine Mailing List, but that didn't really seem to apply when I checked it out on my box:
Code: |
> ls -l /usr/lib/ | grep libGL
-rw-r--r-- 1 root root 709 Jan 21 13:48 libGL.la
lrwxrwxrwx 1 root root 35 Jan 21 13:48 libGL.so -> /usr/lib/opengl/nvidia/lib/libGL.so
-rw-r--r-- 1 root root 604216 Jan 12 21:04 libGLU.a
-rw-r--r-- 1 root root 752 Jan 12 21:04 libGLU.la
lrwxrwxrwx 1 root root 13 Jan 12 21:04 libGLU.so -> libGLU.so.1.3
lrwxrwxrwx 1 root root 13 Jan 12 21:04 libGLU.so.1 -> libGLU.so.1.3
-rwxr-xr-x 1 root root 506835 Jan 12 21:04 libGLU.so.1.3
lrwxrwxrwx 1 root root 39 Jan 21 13:48 libGLcore.so -> /usr/lib/opengl/nvidia/lib/libGLcore.so
-rw-r--r-- 1 root root 26414 Jan 12 21:04 libGLw.a
lrwxrwxrwx 1 root root 13 Jan 12 21:04 libGLw.so -> libGLw.so.1.0
lrwxrwxrwx 1 root root 13 Jan 12 21:04 libGLw.so.1 -> libGLw.so.1.0
-rwxr-xr-x 1 root root 25006 Jan 12 21:04 libGLw.so.1.0
|
I also visited: Viewing App- Warcraft III Version - Reign of Chaos: 1.x to see specifics for perhaps a small clue. I skimmed through there and nothing seemed to fit.
This problem seems more of a general WINE library issue to me than a specific War3 issue. But then again, I am no wine or opengl guru. If anyone has any information either regarding the specific error or has seen a similar issue before, please let me know. _________________ http://www.roughequipment.com/ |
|
Back to top |
|
|
niskel Guru
Joined: 17 Nov 2004 Posts: 457 Location: Fredericton, NB, Canada
|
Posted: Sun Jan 22, 2006 3:04 pm Post subject: |
|
|
I am having the same problem as cypherscout when using the -opengl flag. When I try to launch the game without the -opengl flag, The opening FMV runs fine visually but the sound is %100 garbled and corrupted. Once the FMVs finish, the screen becomes completely corrupted with some blocks showing portions of FMV som black blocks and some blocks of my desktop. I am able to ALT+TAB to change to the terminal I started the game on and kill it and then I am back at the desktop (in the smaller War3 resolution). |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Sun Jan 22, 2006 3:45 pm Post subject: |
|
|
I just realize that I've got the same error than you:
Code: | warcraft3
err:dsound:DSOUND_MixOne underrun on sound buffer 0x7fd7a628
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 144 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 469
Current serial number in output stream: 469
|
But it's only with warcraft 3 Reign Of Chaos and only when I try to play in the campagn
Multiplayer works good for me, The Frozen Throne works good too. Did you find something interesting about that?
EDIT: I do think too the problem is with wine since it works with wine-0.9.4 |
|
Back to top |
|
|
Jengu Guru
Joined: 28 Oct 2004 Posts: 384
|
Posted: Sun Jan 22, 2006 5:10 pm Post subject: |
|
|
Try renaming your Warcraft3 movies folder to stop it from playing cinematics. That would explain why you'd only get into trouble with campaigns. I recall reading on the wine mailing list recently that the movies crash the game for some people. |
|
Back to top |
|
|
ribx Apprentice
Joined: 20 Nov 2003 Posts: 219 Location: germany
|
Posted: Sun Jan 22, 2006 6:05 pm Post subject: |
|
|
if you get this error at startup, be sure the registry string in
Code: | HKEY_CURRENT_USER/Software/Blizzard Entertainment/Warcraft III/Misc/seenintromovie |
is set to 1 _________________ The adopt an unanswered post initiative |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Sun Jan 22, 2006 7:00 pm Post subject: |
|
|
Jengu wrote: | Try renaming your Warcraft3 movies folder to stop it from playing cinematics. That would explain why you'd only get into trouble with campaigns. I recall reading on the wine mailing list recently that the movies crash the game for some people. |
My movie folder is already renamed :'(
ribx wrote: | if you get this error at startup, be sure the registry string in
Code: | HKEY_CURRENT_USER/Software/Blizzard Entertainment/Warcraft III/Misc/seenintromovie |
is set to 1 |
Checked that too, but it's correct.. |
|
Back to top |
|
|
cypherscout n00b
Joined: 25 Aug 2004 Posts: 13
|
Posted: Mon Jan 23, 2006 12:42 am Post subject: |
|
|
ribx wrote: | if you get this error at startup, be sure the registry string in
Code: | HKEY_CURRENT_USER/Software/Blizzard Entertainment/Warcraft III/Misc/seenintromovie |
is set to 1 |
This fix does in fact correct the intial error I was receiving. However, if I attempt to alt+tab out of the application, it crops up again. Is there any documenation on these kinds of errors? Perhaps a serial code lookup or something similar?
Code: |
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 143 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 387
Current serial number in output stream: 387
|
_________________ http://www.roughequipment.com/ |
|
Back to top |
|
|
LXj Tux's lil' helper
Joined: 03 Dec 2005 Posts: 107
|
Posted: Wed Jan 25, 2006 1:37 pm Post subject: |
|
|
ribx wrote: | maybe you could use xgamma instead? did you try that?
and you HAVE to fill a bug report. the wine devs will not change something they doesnt know |
I have the same problem with TFT. So I filed a bug
http://bugs.winehq.org/show_bug.cgi?id=4416 |
|
Back to top |
|
|
SenatorKane n00b
Joined: 22 Jan 2006 Posts: 16
|
Posted: Thu Jan 26, 2006 7:56 pm Post subject: |
|
|
I have a problem with wine.
I emerged it and could easily install WC3:RoC and WC3:TFT
I downloaded the patch and ran it. Right when the patching was done and the task was supposed to close itself it didn't and
the GNOME workspace I ran it on stalled.
After restarting GNOME everything I started with wine simply stalled and wouldn't do anything.
even
wouldn't do anything. I even re-emerged it and rebooted. It still didn't do anything.
what am I doing wrong?
regards |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Thu Jan 26, 2006 8:42 pm Post subject: |
|
|
Quote: | I have a problem with wine.
I emerged it and could easily install WC3:RoC and WC3:TFT |
What version of wine?
Quote: | I downloaded the patch and ran it. Right when the patching was done and the task was supposed to close itself it didn't and
the GNOME workspace I ran it on stalled. |
What patch are you talking about? The blizzard update to the latest version?
If this is so this will not do any harm to wine so I'm a bit confused... _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
chrisashton84 Apprentice
Joined: 12 Aug 2003 Posts: 192 Location: Peoria, IL (home) Urbana, IL (school)
|
Posted: Thu Jan 26, 2006 8:48 pm Post subject: |
|
|
Wine and I don't seem to get along.. I'm using 0.9.6, with the WoW fix patch. I cannot get it to recognize my disk is in the drive. In winecfg the drive is set as CDROM. I've tried a couple of no-cd hacks (though I know with the newer versions of wine aren't supposed to need that) but they are detected by battle.net and I can't get on. Has anyone figured out how to fix the cd problem in the new versions of wine? I've looked on winehq but none of the suggestions there worked either. |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Thu Jan 26, 2006 9:07 pm Post subject: |
|
|
Are you sure you are çj the cdrom group?
|
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Thu Jan 26, 2006 9:29 pm Post subject: |
|
|
Quote: | Has anyone figured out how to fix the cd problem in the new versions of wine? |
Do not use any microsoft dlls, and only use the ones built in to wine. _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
chrisashton84 Apprentice
Joined: 12 Aug 2003 Posts: 192 Location: Peoria, IL (home) Urbana, IL (school)
|
Posted: Fri Jan 27, 2006 5:11 pm Post subject: |
|
|
truc wrote: | Are you sure you are �j the cdrom group?
|
Code: | (Chris@localhost)(1313/pts/9)(11:08am:01/27/06)-
(%:~)- groups
disk wheel audio cdrom video games mysql cdrw usb users share wine plugdev windows CS418MP3
|
drescherjm wrote: | Quote: | Has anyone figured out how to fix the cd problem in the new versions of wine? |
Do not use any microsoft dlls, and only use the ones built in to wine. |
Fresh install, using the windows directory created in .wine/dosdevices/c:/ so I don't have any extra dlls |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Fri Jan 27, 2006 5:52 pm Post subject: |
|
|
What version of windows do you have wine setup as for War3?
Mine is winows 2000.
Do you have the correct links for the cd rom in your .wine/dosdevices?
What are the permissions on that link and the /dev node that it points to?
What is your kernel version? _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
chrisashton84 Apprentice
Joined: 12 Aug 2003 Posts: 192 Location: Peoria, IL (home) Urbana, IL (school)
|
Posted: Fri Jan 27, 2006 6:12 pm Post subject: |
|
|
drescherjm wrote: | What version of windows do you have wine setup as for War3?
Mine is winows 2000.
Do you have the correct links for the cd rom in your .wine/dosdevices?
What are the permissions on that link and the /dev node that it points to?
What is your kernel version? |
I have windows 2000 set as default. The CDROM is linked correctly:
Code: | (Chris@localhost)(1321/pts/9)(12:10pm:01/27/06)-
(%:~)- ls -l .wine/dosdevices/*
lrwxrwxrwx 1 Chris users 9 2006-01-24 00:34 .wine/dosdevices/c: -> /mnt/wine
lrwxrwxrwx 1 Chris users 8 2006-01-24 00:34 .wine/dosdevices/d: -> /mnt/dvd
lrwxrwxrwx 1 Chris users 1 2006-01-24 00:32 .wine/dosdevices/z: -> /
(Chris@localhost)(1328/pts/9)(12:11pm:01/27/06)-
(%:~)- ls -l /mnt/
total 40
drwxr-xr-x 2 root root 48 2005-12-29 02:23 camera
drwxr-xr-x 2 root cdrom 48 2006-01-02 23:10 dvd
drwx------ 2 root root 72 2005-07-27 11:17 floppy
drwxrwx--- 18 Chris share 32768 1969-12-31 18:00 share
drwxrwx--- 11 Chris windows 4096 1969-12-31 18:00 windows
drwxr-xr-x 6 Chris users 4096 2006-01-24 00:33 wine
|
I was using gentoo-sources 2.6.14-r6 but just updated to 2.6.15-r1. Haven't rebooted yet to see if it helps though.
EDIT: OOOOOOOOOOOOOOOOOOOH are you saying the cdrom is supposed to be linked to /dev/dvd? |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Fri Jan 27, 2006 9:25 pm Post subject: |
|
|
I had problem too if the cdrom was named dvd, try with the good old /dev/cdrom |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Sat Jan 28, 2006 2:31 am Post subject: |
|
|
This is what I have:
Code: |
drwxr-xr-x 2 john users 240 Dec 4 19:58 .
drwxr-xr-x 4 john users 312 Jan 11 21:25 ..
lrwxrwxrwx 1 john users 10 Oct 29 00:57 c: -> ../drive_c
lrwxrwxrwx 1 john users 23 Dec 3 23:58 d: -> /mnt/vg/emulation/wine/
lrwxrwxrwx 1 john users 20 Oct 29 00:57 f: -> /home/john/winetools
lrwxrwxrwx 1 john users 4 Oct 29 00:57 t: -> /tmp
lrwxrwxrwx 1 john users 18 Oct 29 00:57 v: -> /mnt/vg/emulation/
lrwxrwxrwx 1 john users 1 Oct 29 00:57 w: -> /
lrwxrwxrwx 1 john users 8 Oct 29 00:57 z: -> /mnt/dvd
lrwxrwxrwx 1 john users 8 Dec 4 19:58 z:: -> /dev/hda
|
Code: | ls -al /dev/hda
brw-rw-rw- 1 root cdrom 3, 0 Dec 7 16:19 /dev/hda
|
Code: | ls -ald /mnt/d*
drwxrwxrwx 2 root root 48 Sep 14 07:50 /mnt/dvd
|
[EDIT]
One other thing that I have not mentioned. Warcraft III for me does not run currently through the shortcut on the desktop. If I click the shortcut I get the familiar cd not found error but if I manually change my folder to ~/.wine/dosdevices/c:/Program Files/Warcraft III and then execute wine War3 or wine War3 -opengl it works fine.
[/EDIT] _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Sat Jan 28, 2006 2:59 am Post subject: |
|
|
Ok I figured out the problem with the shortcut. My shortcut was calling wine "Warcraft III". Which does not work for me. wine War3 does. _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Sat Jan 28, 2006 12:28 pm Post subject: |
|
|
the shortcut? What are you talking about? isn't it a shortcut you made on your own |
|
Back to top |
|
|
SenatorKane n00b
Joined: 22 Jan 2006 Posts: 16
|
Posted: Sat Jan 28, 2006 1:21 pm Post subject: |
|
|
hello,
I installed both the game and the addon following the instructions taken from the HOWTO and using Cedega
Code: |
cedega /mnt/cdrom/install.exe
|
installing both went fine and I can even start the game, but the CD is not found. I therefore used the script provided in the HOWTO making sure I had the same file names and correct directories.
Starting it I get following error:
Code: |
alex@localhost ~ $ ./w3set& ./war3 [1] 21006
wine: Call from 0x41180b to unimplemented function storm.dll.570, aborting
wine: Unimplemented function storm.dll.570 called at address 0x41180b (thread 0009), starting debugger...
Usage: winedbg [--command cmd|--file file|--auto] [--gdb [--no-start] [--with-xterm]] cmdline
|
I tried to start the warnocd.exe and the war3.exe with cedega, here again i got the "missing cd" error.....
Can anybody help me fixing this?
thanks,
Kane
EDIT: some additional info:
Code: | [ebuild R ] app-emulation/wine-0.9.5-r1 |
Code: | [ebuild Rf ] app-emulation/cedega-5.0.1 |
Code: |
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 C]
"Path" = "/home/alex/.wine/fake_windows"
"Type" = "hd"
"Label" = "/home/alex/.wine/fake_windows"
"Filesystem" = "win95"
[Drive D]
"Path" = "/home/alex/linuxfiles"
"Type" = "hd"
"Label" = "/home/alex/linuxfiles"
"Filesystem" = "win95"
[Drive E]
"Path" = "/mnt/cdrom"
"Type" = "cdrom"
"Device" = "/dev/cdrom1"
"Filesystem" = "win95"
[Drive X]
"Path" = "/tmp"
"Type" = "hd"
"Label" = "Tmp Drive"
[Drive Y]
"Path" = "%HOME%"
"Type" = "network"
"Label" = "Home"
"Filesystem" = "win95"
[Drive Z]
"Path" = "/"
"Type" = "hd"
"Label" = "Root"
"Filesystem" = "win95"
[wine]
"Windows" = "C:\\Windows"
"System" = "C:\\Windows\\System"
"Temp" = "X:\\"
"Path" = "C:\\Windows;C:\\Windows\\System;X:\\;X:\\test;Y:\\"
"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"
;"ShowDotFiles" = "1"
"ShellLinker" = "wineshelllink"
# [wineconf]
[Version]
; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win2k3,win20,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"
"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"
"msi" = "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"
; 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" = "640x480"
; Use XFree86 DGA extension if present
; (make sure /dev/mem is accessible by you !)
"UseDGA" = "Y"
; 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" = "Y"
; Run in synchronous mode (useful for debugging X11 problems)
;
; 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"
;
"Desktop" = "N"
[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/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/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"
; 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"
[Clipboard]
"ClearAllSelections" = "0"
"PersistentSelection" = "1"
; 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\Control\ComputerName\ComputerName, too.
;"UseDnsComputerName" = "N"
#########################################
# Application dependent sections follow #
#########################################
[AppDefaults\\_INS5576._MP\\x11drv]
; Lotus Notes R5 installer
; I'm quite not sure this will run on some other machine than mine, but it
; can't hurt
"Managed" = "N"
"Desktop" = "N"
[AppDefaults\\nlnotes.exe\\x11drv]
"Desktop" = "800x600"
[AppDefaults\\explorer.exe\\x11drv]
"Desktop" = "800x600"
[AppDefaults\\notes.exe\\DllOverrides]
"msvcrt" = "native"
"msvcrt40" = "native"
"crtdll" = "native"
"imagehlp" = "native"
"rnaph" = "native"
[AppDefaults\\nlnotes.exe\\DllOverrides]
"msvcrt" = "native"
"msvcrt40" = "native"
"crtdll" = "native"
"imagehlp" = "native"
"rnaph" = "native"
[AppDefaults\\nlnotes.exe\\DllOverrides]
"msvcrt" = "native"
"msvcrt40" = "native"
"crtdll" = "native"
"imagehlp" = "native"
"rnaph" = "native"
[AppDefaults\\nhldaemn.exe\\DllOverrides]
"msvcrt" = "native"
"msvcrt40" = "native"
"crtdll" = "native"
"imagehlp" = "native"
"rnaph" = "native"
# [/wineconf]
|
Code: |
localhost alex # ls -la .wine/dosdevices/
total 0
drwxrwxrwx 2 alex users 96 Jan 26 22:16 .
drwxrwxrwx 5 alex users 344 Jan 28 16:01 ..
lrwxrwxrwx 1 alex users 10 Jan 26 22:16 c: -> ../drive_c
lrwxrwxrwx 1 alex users 1 Jan 26 22:16 z: -> /
|
which is somehow strange because it doesnt show up my cdrom drive....?!? |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Sat Jan 28, 2006 3:07 pm Post subject: |
|
|
If you're using wine-0.9xx then you don't need the config file anymore, juste use winecfg, and for cd detection problem, read some of the previous posts, it might help |
|
Back to top |
|
|
|