Linux - GamesThis forum is for all discussion relating to gaming in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I don't really know starcraft... But yes you can do a script which mount your CD, and if like CS you can have resolution as an argument of your command line... yes.
"yes you can do a script which mount your CD"
But I more think what I need is a script to check if my CDROM drive is mounted or not. Else wont I get an error if I try to mount a mounted drive?
"if like CS you can have resolution as an argument of your command line"
Good!, how?
[quote]For CS I use the following option: wine hl.exe -w 1280 -h 1024 -game cstrike...
it forces screen width to 1280 and heigth to 1024[quote]
Nice! I'm quite a noob, but how can I get that in my "(wine /home/thomas/windows/Spil/Starcraft/StarCraft.exe &) ; sleep 120 ; killall wine" Comand?
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795
Rep:
you can use just make a script like this:
cd /where/you/installed/starcraft
mount /mnt/cdrom
wine StarCraft.exe
umount /mnt/cdrom
if the cdrom is already mounted, itll say so, but it wont stop completely.
"it'll say so, but it wont stop completely."
because i'm nor running my script by the terminal, it doesn't say anything at all!
But it doesn't unmount it after closing. (?)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.