LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-09-2004, 09:02 PM   #1
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
Wine + Warcraft III....can't initialize DirectX?


Hello, I'm running Wine version 20040408 and trying to get Warcraft III working. I've tried running "wine War3.exe -- -opengl", "wine War3.exe -- -d3d", "wine -- War3.exe -opengl", "wine -- War3.exe -d3d", and I get the same error every time: "Warcraft III was unable to initialize DirectX. Please ensure you have DirectX 8.1 or newer installed and that you display drivers are current. DirectX may be found on your Warcraft III install CD under Options." So I try installing DirectX from the Warcraft program and then running it again...same error! I check out where it "installed" DirectX, and it turns out the folders were completely empty, not even any hidden files. As for the display drivers...I have an ATI Radeon 7500, and can't find drivers for it. Can anyone help me out?
 
Old 06-10-2004, 07:12 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Wine doesn't do directx. For that you need to purchase WineX.
 
Old 06-10-2004, 12:49 PM   #3
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Original Poster
Rep: Reputation: 40
I've gotten it working before, but really slowly. I'm sure there's a way to do it again.
 
Old 06-10-2004, 01:13 PM   #4
odd
Member
 
Registered: Apr 2004
Location: England
Distribution: Redhat 9
Posts: 123

Rep: Reputation: 15
Follow these instructions:

http://frankscorner.org/modules.php?...rtid=99&page=1
 
Old 06-10-2004, 02:15 PM   #5
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Original Poster
Rep: Reputation: 40
Thank you odd, I'll try renaming the movies directory. I made a change to one of the registry files that was supposed to fix the movie issue, but maybe that didn't do it...
 
Old 06-10-2004, 02:21 PM   #6
derfaust
Member
 
Registered: Feb 2004
Location: TX, USA
Distribution: slack 9.1, 10, and 10.2
Posts: 144

Rep: Reputation: 15
if i were you i would just get winex....it is a greast program and a great company to support.....and it is pretty inexpensive for what you get....

warcraft III installs and plays great in winex....so does Battlefield 1942

sweet...

so goto http://www.transgaming.com/ and get it....

TOP NOTCH!!!!
 
Old 06-10-2004, 02:28 PM   #7
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Original Poster
Rep: Reputation: 40
Thanks derfaust, I would do that if I wasn't broke LOL. I also don't know how the cvs think works, so that's out of the question.
 
Old 06-10-2004, 02:59 PM   #8
odd
Member
 
Registered: Apr 2004
Location: England
Distribution: Redhat 9
Posts: 123

Rep: Reputation: 15
I think you can get a free version of winex somewhere that you have to compile yourself though. I can't remember. Anyway, if wine does the job ok for you, why pay.
 
Old 06-10-2004, 06:27 PM   #9
derfaust
Member
 
Registered: Feb 2004
Location: TX, USA
Distribution: slack 9.1, 10, and 10.2
Posts: 144

Rep: Reputation: 15
Quote:
Originally posted by odd
I think you can get a free version of winex somewhere that you have to compile yourself though. I can't remember. Anyway, if wine does the job ok for you, why pay.
why pay???....because Transgaming is an awesome company...and worth supporting...not everything is free...i wish....and besides that with the money you save using linux buying a program here and there is ok...(for one you are not out 200 bucks just for the OS...not to mention the 350 bucks for MS Office)..i think 15 bucks to support a linux company is cool...actually if a few more cats would support them, it would get that much better....ROCK!!!

Quote:
Originally posted by Aborted Fetus
Thanks derfaust, I would do that if I wasn't broke LOL. I also don't know how the cvs think works, so that's out of the question.
you dont have to get it via cvs...and a 3 month account is only 15 bucks....you can play a larger set of good games(at least ones that are new...not ported a year later....lol)...and you get the oppurtunity to vote on the games.....

it is worth it....

but i understand the deal with money....lol....i hate that stuff....

Last edited by derfaust; 06-10-2004 at 06:29 PM.
 
Old 06-10-2004, 11:00 PM   #10
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Original Poster
Rep: Reputation: 40
It doesn't matter how cheap it sounds. I am completely broke, I have one dollar. It's hard to get a job at my age. Speaking of that, I need to call Baker's tomorrow... Now, about the Wine thing, I found something that was probably a big problem. I didn't have Wine compiled with OpenGL support! OK, got that fixed. Now when I try to run it, it doesn't give me that annoying ass error, but I get a black screen and a cursor...that's about it. No HDD activity, nothing.
 
Old 06-11-2004, 03:51 PM   #11
derfaust
Member
 
Registered: Feb 2004
Location: TX, USA
Distribution: slack 9.1, 10, and 10.2
Posts: 144

Rep: Reputation: 15
you should holler at me on icq....22596888....
 
Old 06-11-2004, 06:35 PM   #12
goldeneyexs
LQ Newbie
 
Registered: Jan 2004
Distribution: SuSE 9 Pro
Posts: 29

Rep: Reputation: 15
if you want wineX for free..you can get it from cvs very easily...with a script that will download and install it automatically for you...you run it and it does it all for you ...(written by elmer fudd )

ting.homeunix.org/cvs_wine/GetCVSWineX_Pthreads

copy that into VI (or whatever editor) then chmod +x it...

run the script and your done...

start wine by typing

cvswinex <program.exe>
 
Old 06-11-2004, 06:38 PM   #13
Jimbo99
Member
 
Registered: Nov 2003
Distribution: Ubuntu 7.04
Posts: 241

Rep: Reputation: 31
Try:

nice -5 winex3 "Warcraft III.exe" -opengl

I personally don't try to get the games running with cracks that remove the need for CD Keys. I have made copies of the CDs that matter and use those copies to play. That way I'm not hit with the need for a new crack whenever they update the games.

I installed Warcraft III this morning and struggled with it till I had it working. I already new my linux video was working correctly due to that I have D2, enemy-territory, ut2004 running already.

The problem I had first was the error 21 (or 22) and then after that I had the message about the CD missing from the drive.

I uninstalled WCIII and reinstalled it and that seemd to get rid of the error but the message about the CD being required still frustrated me.

I edited the config file in the .transgaming directory to put in the drive letter (actually it was there already) but I confirmed all was right with it. I then did something with prelink (as per an obscure reference found on transgaming's site). Then I rebooted.

I gave up on the icons created by the installer and just created a script instead.

The script changes me into the directory where WCIII is and then issues:

nice -5 winex3 "Warcraft III.exe" -opengl

That seems to run the games for me.

After that I tried to make copies of the expansion but was unlucky at getting it to work. If friends borrow my cd to play on my computes I don't want them scratched, damaged, or lost so I make copies. I haven't been able to get the expansion copied but the Reign of Chaos CD is copyable and it can be used to start the expansion instead of having to have the expansion cd in the drive.
 
Old 06-11-2004, 07:17 PM   #14
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Original Poster
Rep: Reputation: 40
I don't have icq, derfaust, sorry.

goldeneyexs, thank you very much, I'm getting WineX right now.

Jimbo99, thanks for the suggestion, but I tried and it didn't help.
 
Old 06-11-2004, 08:04 PM   #15
goldeneyexs
LQ Newbie
 
Registered: Jan 2004
Distribution: SuSE 9 Pro
Posts: 29

Rep: Reputation: 15
make sure you go through the config file as the defaults the script sets are not always what you want (in paticular the drives) its pretty self-explanatory (if you don't know config will be in ~/.cvswinex) also I find it helpful to run wine inside a desktop...of resolution of 1024x768 while kde is 1280...this way...(at least in the initial stages) if something freezes...its a lot easier than re-starting X..(less headaches..)

the line is commented out in the config..and there you can also specify the size (under the X11drv (I think)) section.. note some games will NOT (RTCW is one of 'em) and that you will have to make run in a full screen..(there is a way to make an exception...but complicated...)


NOTE: CVS version does not include ANY copy protection things, you may have to crack your games..(no-cd)...and this could be considered piracy...so your on your own check the usual places...
 
  


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
noob + Warcraft III + WINE = failure a thing Linux - Games 1 01-08-2005 03:22 PM
Warcraft III with wine Blue Cobold Linux - Software 2 08-21-2004 05:25 AM
Warcraft III /wine win95 issue teona Linux - Games 27 08-15-2004 04:30 PM
Warcraft III on Wine Marus Linux - Games 24 07-01-2004 11:33 PM
Warcraft III hanleychan Linux - Newbie 13 10-23-2003 04:07 AM

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

All times are GMT -5. The time now is 08:04 PM.

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