Re: wineprefix: Create a cdrom drive if it exists at /media/cdrom

2006-06-01 Thread Mike Hearn

On 6/1/06, Jesse Allen <[EMAIL PROTECTED]> wrote:

What about the device node symlink? It's needed for the games alot and
it's the number one thing I get asked for help for now. We don't have
an easy way to detect it, although HAL should be able fix it.


Right well that's us being borked somewhere ... Alexandre has said on
IRC that we shouldn't actually need the x:: symlink anymore :)




Re: wineprefix: Create a cdrom drive if it exists at /media/cdrom

2006-06-01 Thread Jesse Allen

On 6/1/06, Mike Hearn <[EMAIL PROTECTED]> wrote:

The location CD drives are mounted changes between systems, this patch is
essentially specific to yours. Wine already supports HAL, which should
solve this in a more correct manner (though we have reports it doesn't
work for some games!), so how comes that's not enough?

thanks -mike




What about the device node symlink? It's needed for the games alot and
it's the number one thing I get asked for help for now. We don't have
an easy way to detect it, although HAL should be able fix it.

Jesse




Re: wineprefix: Create a cdrom drive if it exists at /media/cdrom

2006-06-01 Thread Alexandre Julliard
"Vincent Povirk" <[EMAIL PROTECTED]> writes:

> So the HAL thing doesn't work for everyone, and this works for a lot
> of people. When you see /media/cdrom, you can be sure it's a cd-rom
> drive. So why not use it?

Because HAL is supposed to work (assuming you have the proper
libraries), and if it doesn't work this should be investigated and
fixed. And once it's fixed, the drives created manually are going to
interfere with it.

-- 
Alexandre Julliard
[EMAIL PROTECTED]




Re: wineprefix: Create a cdrom drive if it exists at /media/cdrom

2006-06-01 Thread Vincent Povirk

On 6/1/06, Mike Hearn <[EMAIL PROTECTED]> wrote:

The location CD drives are mounted changes between systems, this patch is
essentially specific to yours. Wine already supports HAL, which should
solve this in a more correct manner (though we have reports it doesn't
work for some games!), so how comes that's not enough?

thanks -mike


I think /media/cdrom is actually some sort of standard. A google
search led me to
http://www.pathname.com/fhs/pub/fhs-2.3.html#MEDIAMOUNTPOINT
I don't know where this standard gets any authority, but most modern
linux distros I've seen do have a /media/cdrom directory. If there is
a /media/cdrom, one can assume that it is the cd-rom drive (whichever
has a cd in it) without relying on HAL at all.

A quick test shows that wine 0.9.14, with a clean .wine directory, can
install worms: armageddon but not run it (it couldn't find the cd,
probably because wine didn't find it). Simply /media/cdrom as d: and
using autodetection is enough to make it work.

So the HAL thing doesn't work for everyone, and this works for a lot
of people. When you see /media/cdrom, you can be sure it's a cd-rom
drive. So why not use it?

--
Vincent Povirk




Re: wineprefix: Create a cdrom drive if it exists at /media/cdrom

2006-06-01 Thread Mike Hearn
The location CD drives are mounted changes between systems, this patch is
essentially specific to yours. Wine already supports HAL, which should
solve this in a more correct manner (though we have reports it doesn't
work for some games!), so how comes that's not enough?

thanks -mike





Re: wineprefix: Create a cdrom drive if it exists at /media/cdrom

2006-06-01 Thread Francois Gouget

On Thu, 1 Jun 2006, Mike McCormack wrote:

+ln -s /media/cdrom "$WINEPREFIX/dosdevices/m:"


Wouldn't it be better to create it as the d: drive?
That's usually where CD-ROM drives end up on Windows...

--
Francois Gouget <[EMAIL PROTECTED]>  http://fgouget.free.fr/
War doesn't determine who's right.  War determines who's left.