LinuxQuestions.org
Review your favorite Linux distribution.
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 06-19-2004, 12:44 AM   #1
Tsumeone
Member
 
Registered: Jun 2004
Posts: 26

Rep: Reputation: 15
WINE and Starcraft... Please insert disk?


After I do
wine install.exe
I follow the Starcraft setup to install the game... It ends with two errors but those are only for placing start menu shortcuts so I ignored those. When I click Play Starcraft, however, it tells me to put my starcraft CD in. Well, it is in, I can assure you that... how do I make it load? I tried to run the patch from www.blizzard.com with wine to update starcraft and apply a nocd crack, but when I run the patch wine does some sort of lock up.

Help a linux newbie please I want to game!
 
Old 06-19-2004, 05:56 PM   #2
sonesay
Member
 
Registered: May 2004
Location: AUCKLAND
Distribution: Fedora core 2 , RH9
Posts: 64

Rep: Reputation: 15
hey thats a cool game.. I lost cd key . have you treid using winex or what ever? I'm new to wine etc so i cant help sorry.

have you got anyother games to run ?
 
Old 06-20-2004, 05:04 PM   #3
xconspirisist
Member
 
Registered: Dec 2002
Location: United Kingdom
Distribution: Ubuntu
Posts: 276

Rep: Reputation: 30
Wine cant read from cd's very well.

*cough* you need a no cd crack *cough*. chmod it, too.
 
Old 06-21-2004, 04:26 AM   #4
sonesay
Member
 
Registered: May 2004
Location: AUCKLAND
Distribution: Fedora core 2 , RH9
Posts: 64

Rep: Reputation: 15
if you use the no cd crack.. you wont be able to update? so no more bnet games?
 
Old 06-21-2004, 05:27 AM   #5
xconspirisist
Member
 
Registered: Dec 2002
Location: United Kingdom
Distribution: Ubuntu
Posts: 276

Rep: Reputation: 30
Dont use the auto updater from within starcraft, that wont work. Download the patch manually. Then crack it.
 
Old 06-21-2004, 10:16 PM   #6
AquaRichy
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Rep: Reputation: 0
I get this message.

Quote:
Data File Error
Starcraft is unable to read a required file. Your Starcraft CD may not be in the CDROM drive. Please ensure that the Starcraft disc is in the CDROM drive and press OK. To leave the program, press Exit.
and right before that,

Quote:
System Warning
Your system does not appear to be correctly configured. This problem may be corrected by changing the virtual memory settings for Windows. Ensure that your system has at least 20 megabytes of free disk space, then check your virtual memory settings:

For Windows 95:
Select "Settings - Control Panel" from the "Start" menu
Run the "System" control panel applet
Select the "Performance" tab, and press "Virtual Memory"
Use the "Let Windows manage my virtual memory..." option

For Windows NT:
Select "Settings - Control Panel" from the "Start" menu
Run the "System" control panel applet
Select the "Performance" tab
Press "Change" in "Virtual Memory" settings
Ensure that the virtual memory file is at least 32 megabytes

Press "Continue" to play Starcraft or "Exit" to leave the program.
However, the second is irrelevant to this thread.

I have likewise tried a NoCD hack. The one I used required version 1.10 of Starcraft. Even when downloading the patch manually from their website, it freezes up during updating. If I wait long enough, strings of error messages about 'failing to allocate' stream through my terminal.

I do not understand why it cannot find the CD though.
In my .wine/config file, I have an entry:

Quote:
[Drive D]
"Path" = "/mnt/cdrom"
"Type" = "cdrom"
"Label" = "cdrom"
"Filesystem" = "win95"
as was suggested in
here

Before that I tried

Quote:
[Drive E]
"Path" = "/mnt/cdrom"
"Type" = "cdrom"
"Device" = "/dev/cdrom"
which I found at WineHQ

Neither have had any effect. In my .wine/dosdevices directory, I have a symlink "d\:" that links to /mnt/cdrom. d\: and /mnt/cdrom have the permissions 555 for all read and execute.

Currently, I am considering setting my C\: drive onto a FAT partition my Windows and Linux partitions share and installing it through Windows there. In case you are wondering why I am installing Wine and StarCraft if I still have a Windows partition, I want to eliminate another reason to use that Windows partition, and I want to run StarCraft in a window

I hope someone can help me resolve my and Tsumeone's CD rom problems though The guy here ran into a similar problem partway through the discussion, and miraculously, his has cleared up. I wish he could have detailed the miracle, but oh well Thanks in advance for any input.

Last edited by AquaRichy; 06-21-2004 at 10:21 PM.
 
Old 06-22-2004, 07:38 AM   #7
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Quote:
Originally posted by xconspirisist
Wine cant read from cd's very well.

*cough* you need a no cd crack *cough*. chmod it, too.
My Wine reads CDs perfectly well... but then again, I have a backed-up Win98 \system and \system32 folder (not to mention \Program Files\Application Data\InstallShield (which had been updated to reasonably current at the time I uninstalled Win 98), so maybe that helps, too.

The problem, of course, is generally the copy protection, rather than the ability to read the CD itself. But that, you already know how to work around. Can you read the CD if you just mount it and try to look at it in a file manager? Maybe the problem is the CD itself.

In any case, I'm curious if you did a full install of Starcraft, or is it supposed to be reading actual game data from the CDs? You don't want that.

I'm also wondering if there is an *.ini or *.cfg file that refers to what CD-ROM is being used, and if that needs to be edited to reflect the correct CD.

Lastly, I'm wondering about the Registry entries, and if they were created properly. You might want to run wine regedit and see if there are Registry entries for Starcraft, and whether they look correct as opposed to the Windows Registry entires you might have on another install.

If Starcraft is installed and working under Windows, you might even want to export the Windows Registry entries and import them into the Wine registry (but you'll probably have to change the CD-ROM entry, if it exists, unless your CD-ROM is D:\ under both Windows and Wine. I actually make sure to make my Wine drives mirror the layout of the Windows drives, solely so that I can import Windows Registry files-- which I export for all Windows-installed games that I might want to install/play under Wine-- without the need to edit them for conformity).

General questions:

What version of Wine?

May we see the ~/.wine/config file?

Hope this helps. I don't play Starcraft, but you might also find some of the several links to Wine + Starcraft HOW-TOs on the Wine Application Database Starcraft page helpful, so you should check those out too.
 
Old 06-22-2004, 05:09 PM   #8
AquaRichy
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Rep: Reputation: 0
I can access my StarCraft CD alright in Linux, and look at anything visible in it. I can use Wine to run executables on it, or Winefile to view its contents. In Winefile, its drive icon is even that of a CDROM.
I am currently using Wine's provided files. I could borrow files from either Windows 98 or XP. I hear that 98 is better for Wine; is that true? If so, do I just copy the Win98 dll's from \system, \system32 and InstallShield directly into Wine's directory (with relevant structure)?

It is a Full install. The game does not want to play without access to its music, video, and probably some other unnecessary stuff, which are all found in the install.exe on the CD. NoCD cracks require you to copy the huge install.exe from the disc into StarCraft's folder. However, I did find one enterprising crack named SCLoader at "Canzig's Hacks" (which no longer exists, but the crack can be found here) that had its own install.exe that excludes all the music and video. The only version I can find requires Broodwar v1.10, but having downloaded the BW1.10 patch, it does not finish updating, so the hack never detects the correct version.

Quote:
I'm also wondering if there is an *.ini or *.cfg file that refers to what CD-ROM is being used, and if that needs to be edited to reflect the correct CD.
I am not quite sure what you mean. I came across one post that suggested setting "Label" = "STARCRAFT" in the Drive's reg. entry. It did not work then, but I have made other changes since and will try it again.

There are registry entries for StarCraft, but I have not compared them yet. Will update on this. Perhaps I will just import the WHOLE registry

My Wine version is 20040615.

I am mostly using the sample config with
Quote:
[Drive C]
"Path" = "/home/richard/.wine/dosdevices/c\:"
"Type" = "hd"
"Label" = "MS-DOS"

[Drive D]
"Path" = "/mnt/dvdrom"
"Type" = "cdrom"
"Label" = "cdrom"
added, and
Quote:
"Windows" = "win98"
altered.

Thanks so far. Will update briefly.
 
Old 06-22-2004, 07:58 PM   #9
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Looking at my .wine directory, my path is ~/.wine/dosdevices/c: (no slash).

You might want to check and make sure that path is accurate (I really doubt that there's a slash in the symlink name, but I could be wrong).
 
Old 06-23-2004, 02:25 AM   #10
AquaRichy
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Rep: Reputation: 0
The slash is used to achieve the ':'. It has to use \: in the string, even though it only appears as a ':' to my file managers and such.
 
Old 06-23-2004, 04:01 AM   #11
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Well, I don't know why your Wine does that, because my ~./wine/config says:

Quote:
[Drive C]
"Path" = "/home/hbgentoo/lindata/c"
"Type" = "hd"
"Label" = "/home/hbgentoo/lindata/c"
"Filesystem" = "win95"
and apparently does not need a :\ to display/find correctly, since the symlink in dosdevices is named "c:", clicking it takes me to c:, and the real target of the symlink is called "c".

I have not had any problems with finding "C:\Program Files" with any installers that I allow to use the default install location, and I did not have any problems browsing directories to install to C:\games instead.

Maybe it's a difference in our versions of Wine; mine is 20040408, what's yours?
 
Old 06-23-2004, 12:54 PM   #12
AquaRichy
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Rep: Reputation: 0
Thanks. I will give it a whirl.
 
Old 06-26-2005, 07:08 PM   #13
giraffe
LQ Newbie
 
Registered: Jun 2005
Posts: 1

Rep: Reputation: 0
So have you found a solution to Starcraft asking for the cd after a successful install under wine? I've tried a bunch of things which I could post but I'd be interested in trying anything you've done. I got the 'please insert cd' message after my first install, and then also after trying the no cd thing.

starcraft broodwar version 1.12
wine version 20050310-1.1
running ubuntu hoary 5.04

thanks
B
 
Old 08-19-2005, 07:45 PM   #14
jayhags
LQ Newbie
 
Registered: Aug 2005
Location: Exiled in Virginia
Posts: 3

Rep: Reputation: 0
I just tried to run Stracraft on my ubuntu machine. After installing wine and getting the Starcarft installation to work fine and ending with the same result (Please insert the CD). I started searching and found this thread...

Then I found this (look for July 5 2005 entry - Starcarft on Ubuntu using Wine):

http://www.firesnake.net/modules.php...=index&catid=8

Following the setup for wine and execution of Starcarft, I was able to play, with sound.

Just a guess - it was the "sudo mount" of the cdrom which allows wine/starcraft to access the cd.

Good Luck
 
Old 08-27-2005, 03:34 PM   #15
brainlesspinkey
Member
 
Registered: Jul 2004
Distribution: Debian Unstable
Posts: 66

Rep: Reputation: 15
For the record, it seems that in later versions of wine, the ~/.wine/config file is deprecated. Instead you must edit settings through the command "winecfg"

From my experience, you must make sure that the cdrom is added to the list of drives in order for starcraft to work: By default, it is not there. Go into winecfg, click the "drives" tab, and add your cdrom as a drive (with "/mnt/cdrom" as the path or wherever you mount it"). Then try to run the game.

To do this manually, cd into ~/.wine/dosdevices and run
Code:
ln -s /mnt/cdrom ./d:
Also, be sure that your cdrom is mounted prior to starting the game.

I've experimented with some nocd patches, but have had no success.
 
  


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 in WINE Nebetsu Linux - Games 6 03-08-2007 07:03 PM
Starcraft and wine bird603568 Slackware 2 08-16-2005 08:03 AM
Starcraft and Wine Belegdol Linux - Games 6 11-10-2003 07:55 AM
starcraft w/ wine in RH 8.0 EmberWhite Linux - Software 1 02-15-2003 07:32 PM

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

All times are GMT -5. The time now is 02:21 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