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, 11:26 AM   #1
InSane103
Member
 
Registered: Jul 2003
Location: Worst place on earth.
Distribution: MDK 10
Posts: 163

Rep: Reputation: 30
Warcraft 3 Problems


There's only one thing I miss from using Windows, Warcraft 3.

I read an article on the WineHQ site about how to run Warcraft 3. It installed ok, I got the NoCD patch, I renamed the movies folder, and tried to run it when I got this error:

$ wine War3.exe -- -opengl
fixme:ole:CoCreateInstance no classfactory created for CLSID {cda42200-bd88-11d0-bd4e-00a0c911ce86}, hres is 0x80040154
fixme:ole:CoCreateInstance no classfactory created for CLSID {e436ebb2-524f-11ce-9f53-0020af0ba770}, hres is 0x80040154

The same article on WineHQ said that I needed the newest version of wine, so I got it. Still the same error.

Anyone know how to fix this?
 
Old 06-19-2004, 11:50 PM   #2
Jimbo99
Member
 
Registered: Nov 2003
Distribution: Ubuntu 7.04
Posts: 241

Rep: Reputation: 31
Many ppl have warcarft iii running under Linux well. I don't personally use wine, instead I use winex (from transgaming.com). I would highly recommend you get it and use it instead of wine.

In that case, I set up winex (very similar to wine). I then ran the installer from the CD

At the terminal prompt type:

nice -5 winex3 /mnt/cdrom/install.exe

Note: if you are just using wine you would do:

nice -5 wine /mnt/cdrom/install.exe

Go through the setup options and it should be installed. The install process is usually pretty easy.

After the install, when you try to run it is when the problems begin.

Some people have problems at this point with the program not finding the correct CD in the drive and in trying to resolve that they run into the problem you are encountering.

So, who cares if the CD for the game has to be in the drive, right (at least for the purposed of a first time test run after a new install)?

Logically, if you installed it off the CD it has to be in the drive anyway, right? The problems start to popup when users run the game the first time and they get a message box from Warcraft telling them that the program can't find the CD in the drive so they go about this nightmarish quest to find out how to make it work. One of the suggestions is to replace the executable with a hacked version that is written to bypass the check for the CD. But this doesn't always work and if you don't care if the CD remains in the drive then it is unnecessary.

In winex there's a config file in the .transgaming directory. You can edit it with any text editor. In this file there are sections that are formatted similar to an .ini file (not exactly but you should be able to easily interpret it). Make sure there is a section there for your CD drive and that is using the right mount point and the correct device.

For instance:

[Drive D]
"Path" = "/mnt/cdrom"
"Type" = "cdrom"
"Filesystem" = "win95"
"Device" = "/dev/cdrom"

This section here needs to actually point to the correct mount point (that's the "Path" in the above example. The Device should also exist in the /dev directory.

If you only have one hard drive and you have only 1 cdrom then it should look like the example above given you have a directory called /mnt/cdrom and a file in the /dev directory called cdrom.

Yes, the file is called "cdrom". You can look in there and when you do a ls -al cdrom* it will show it.

Once this section in your .ini file is corrrect and the cdrom is in the drive, and as long as you aren't using the hacked verions of the executable, you should be able to start warcraft by executing:

Go into the directory where you installed warcraft (using the terminal prompt), and execute the following:

cd .transgaming/c_drive/Warcraft\ III
nice -5 winex3 Warcraft\ III.exe -opengl

Now, of course, this assumes you are using winex3. It is from transgaming. Otherwise, I would assume that you would just remove the x3 from the command and it should still work.

cd .transgaming/c_drive/Warcraft\ III
nice -5 wine Warcraft\ III.exe -opengl

Note: You may have installed warcraft under the programs files subdirectory (just like windows) and if so you will have to add that to the path in your CD command.

cd .transgaming/c_drive/Program\ Files/Warcraft\ III

(or if you want to be more windows like:

cd .transgaming/c_drive/"Program Files"/"Warcraft III"


The error you may be chasing may be a wild goose. No reason running around and doing 10,000 different things when you can just use the cd in the drive and use the original warcraft exe file. The movies are irrelevant to the whole. I have mine there and they play without a hitch.

You may have to run:

prelink -ua at the terminal prompt and then reboot and try again. Don't go looking for or making tons of changes to files that you don't know what they do or why without trying these things first.

I play WCIII (with expansion), diablo II (with expansion) , everquest, starcraft (with expansion), and many other windows games under winex with few troubles. Warcraft III plays exceptionally well and looks beautiful.

I also have ut2004, ut2003, enemy-territory, neverwinter night, quake III, etc all running as native linux games with zero headaches (except ut2003 due to neglect by the vendor in keeping up the master browser server).

Finally, all of this could be for nothing if you don't have your video drivers setup properly to run with 3d acceleration.

Last edited by Jimbo99; 06-20-2004 at 12:05 AM.
 
Old 06-20-2004, 11:44 AM   #3
InSane103
Member
 
Registered: Jul 2003
Location: Worst place on earth.
Distribution: MDK 10
Posts: 163

Original Poster
Rep: Reputation: 30
I set the wine config file to:
[Drive D]
"Path" = "/mnt/cdrom"
"Type" = "cdrom"
"Label" = "CD-Rom"
"Filesystem" = "win95"
"Device" = "/dev/hdd"

I have also tried /dev/cdrom, and /dev/cdroms/cdrom0 (the files are in the /dev/ directory and they all point to the same place).
I still get the "No CD In Drive" error.

Also, I believe the video driver is setup for 3D acceleration... how would I check?

I really don't care about the movies, so I renamed the folder to avoid them (already seen them all).

Last edited by InSane103; 06-20-2004 at 11:51 AM.
 
Old 07-01-2004, 11:31 PM   #4
Jimbo99
Member
 
Registered: Nov 2003
Distribution: Ubuntu 7.04
Posts: 241

Rep: Reputation: 31
try

prelink -ua
 
Old 07-02-2004, 12:07 AM   #5
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 659

Rep: Reputation: 30
I tried warcraft in wine and it failed. I can run warcraft properly in WineX. Try to get the CVS version of WineX and it will most probably run.
 
Old 07-02-2004, 12:46 AM   #6
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Moved: This thread is more suitable in Linux - Games and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


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
Problems with warcraft and cedega help plz!! lonrot_m Linux - Games 5 06-19-2005 04:50 PM
World of warcraft problems fleety08 Linux - Newbie 3 05-26-2005 04:22 AM
World Of Warcraft - Problems with OpenGL Teletubbie Linux - Games 1 04-22-2005 02:12 PM
Warcraft SuSeLiNuXn00B Linux - Software 2 08-30-2004 03:36 PM
3 Warcraft III problems tearinox Linux - Software 5 08-15-2003 03:21 AM

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

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