LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 05-26-2004, 05:12 AM   #16
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46

Is your CD-ROM drive mounted when you do this? That would be the first reason that it could not be accessed. It doesn't matter what letter you make it in Wine (although I like to use the same drive letter as my CD-ROM under Windows, since that way the *.ini or *.cfg or Registry files for the game are the same as in Windows, so that they're interchangeable); the problem is that the drive is not available to Wine at all.

If you mount the drive manually using a short command such as mount /mnt/cdrom, that means that your CD-ROM drive is listed in /etc/fstab, and if the settings need to be changed, you will need to edit that file (as root) to do so.

Of course, you could always mount it with a full command (even if it's listed in /etc/fstab), such as mount -t iso9660 -o users,exec /dev/hdc /mnt/cdrom.

Basically, the three problems may be that you as a user do not have rights to mount the drive (which you need), you may not have rights to read the contents of the drive (which you obviously need), or you may not have rights to execute programs on the drive (which you also likely need).

So in general, what you want to do is unmount the drive if mounted, then open a file manager as root and first check the permissions on the mount point for the CD-ROM drive. It will be owned by root and the root group, but do "others" (that's you as a user) have read and execute permissions to this mount point? If not, enable those for the folder in question.

Then open up a text editor and open /etc/fstab. Post the line related to the CD-ROM drive here; I'm not going to guess what you need to change to enable user-level mounting of this drive.

And please calm down. This is not IRC or an SMS where you have to type quickly so that capitals, spaces and full stops fall by the wayside, and this is not such a serious problem that multiple ??? s are necessary. You post as if you're running around a room screaming, "Help me! Help me!" with your arms waving wildly. It's a little annoying. Calm down. If you were calm, you could read some of the help provided by Wine, both in the man pages (man wine-- yes, there is one, who knew?), on the Wine homepage, or on Frank's Corner, which would have answered many of your questions already.
 
Old 05-26-2004, 05:34 PM   #17
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Original Poster
Rep: Reputation: 30
OK i'm sorry about the quick replys. Yes i do have my cd drive mounted when i try to play starcraft. What permissions do they have to be inorder to access the cddrive in user? First of all my cddrive is /dev/hdc, but for burning i use scsi emulation so in the fstab its /dev/sr0. I was reading and doing some googleing and i came across a page that says inorder to play starcraft. The permissions need to be chown 666 /dev/sr0 and chmod 666 /dev/sr0 i did that and I still dont have access rights. In my fstab I put users,exec. That didnt do anything, About adding it in my config file using winesetuptk it doesnt do anything like i add it in there and it doesnt show up? I dont know why its doing that? Anyone know why? Im sorry if i didnt understand ur reply i tried to do everything u suggested in there anyways i hope i get this working Thanx for ur help.

As well i check out winehq.com and i couldnt find anything related to starcraft i also checked the other dude and there wasnt starcraft there......

Matt3333

Last edited by matt3333; 05-26-2004 at 05:35 PM.
 
Old 05-27-2004, 04:57 AM   #18
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Have you rebooted/unmounted remounted the drive after doing these various chmods and edits to /etc/fstab? The users,exec options in /etc/fstab allow a user to mount/unmount drives, and execute programs on the drive, but will not become active until /etc/fstab is re-read via either a reboot, or a unmount/remount.

Is there a symlink in ~/.wine/dosdevices to d: (which in this case is the CD-ROM drive, as you have set it in ~/.wine/config)? If the symlink to the D:\ drive is not there, then Wine won't know where to find theCD-ROM.

I don't think that changing the device ownership is what you want; you want to change the ownership of the mount point... in this case /mnt/cdrom:

Quote:
Originally posted by motub
So in general, what you want to do is unmount the drive if mounted, then open a file manager as root and first check the permissions on the mount point for the CD-ROM drive. It will be owned by root and the root group, but do "others" (that's you as a user) have read and execute permissions to this mount point? If not, enable those for the folder in question.
Lastly, Starcraft itself is not the problem. Your problem is that your basic configuration of Wine is not working. So go back to the sites you left behind and read the docs provided there on how to set up Wine in the first place, then we'll worry about Starcraft if it still does not work.
 
Old 05-29-2004, 05:42 PM   #19
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Original Poster
Rep: Reputation: 30
Ok i got it working... Dont ask me how but its working. But.... i got a few other issues sucha as B.net goes really slow and its all messed up "Black". Then it stoped doing anything and froze so i tried killing wine and my graphics was all messed up... How would i of fixed it instead of rebooting? Thanx for u help

Matt3333
 
Old 05-29-2004, 06:10 PM   #20
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Yeah, well, nobody knows how they got Wine(X) working half the time, so don't worry about it. Just enjoy it .

The other way to fix the problem (your graphics were all messed up because Wine was stopped abnormally, so couldn't reset your graphics) would have been to logout and back in (which restarts the X server) or restart the X server using CTRL+Alt+Backspace (which will log you out as well).

Don't know a thing about Battle.net, so no idea if the problem can be solved with further Wine tweaking, sorry.
 
Old 06-21-2004, 10:23 PM   #21
AquaRichy
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Rep: Reputation: 0
Hello. Over here,
I and another fellow are also experiencing the problems with accessing the CDROM. Running through the suggestions here, nothing has helped me so far. I am distraught that matt managed a miracle, since being miraculous, it is light on explanation
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
starcraft and maps inpt Linux - Games 1 03-30-2005 09:32 PM
Starcraft unixed Linux - Games 0 10-17-2004 06:43 PM
Starcraft in LINUX w0lv3rin3 Linux - Games 17 09-04-2004 09:05 PM
StarCraft and iptables sqbell Linux - Networking 6 03-13-2004 06:52 PM
starcraft Agent_L Linux - Software 2 01-29-2001 07:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 07:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration