Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 04-22-2003, 09:11 AM   #16
Registered: Apr 2003
Posts: 68

Rep: Reputation: 15

just in case: Did you get to see this note:

Running Warcraft 3 under Wine - HowTo
by Jesse Allen
uh_ja {at}

Game Requirements:

The latest Wine CVS (or as of ~ 07/2002)
A working opengl configuration

Installing the Game:

1. Make sure your windows version is listed as anything but win95. (The
setup program is picky about this.)
"windows" = "win98"
1. Mount your cdrom.
2. Run install.exe on the cd. Ex: wine /mnt/cdrom/install.exe
3. Answer the installation questions like normal.
4. After installing, close the setup program. Don't run the game.

Getting Ready to Run the Game:

1. Download the latest NoCD patch for Warcraft 3 and
2. Download the corresponding official Warcraft 3 patch from
"" Run this patch under wine. It will
patch the game, and it will run the game after you close it. The game
won't do anything, but sit there. Open a bash console, do a "killall
wine" to close the game.
3. In the open bash console, cd to the directory you installed Warcraft 3
4. Rename the "Movies" directory.
Ex: "mv Movies Movies_backup"
5. Rename War3.exe to War3_original.exe, and Worldedit.exe to
6. Extract the NoCD patch, and place the fixed exe files in the War3
7. Rename the NoCD exe's to War3_nocd.exe and Worldedit_nocd.exe.
8. Set a symbolic link called "War3.exe" to link to "War3_nocd.exe", and
another symbolic link called "Worldedit.exe" to link to
Ex: "ln -s War3_nocd.exe War3.exe"

To run the game, open an xterm, simply run "wine War3.exe -- -opengl" from
the game folder. You can run it however you wish now, but remember to add
"-- -opengl" to the end of the command to make the game enter opengl mode.

Playing on

You need to make a bash script that will fool the exe check. Here is what
I use. This is found for example, in the game folder as "set_links"

cd ~/c/War3
rm War3.exe
ln -s War3_original.exe War3.exe
sleep 6
rm War3.exe
ln -s War3_nocd.exe War3.exe

"chmod +x set_links" to make it executable.

I open the game to the main menu where you can connect to
Before connecting, I switch to a console, like tty1 "ctrl-alt-f1", run the
command, and immediately switch back "alt-f7" to connect within 6 seconds.
It sets the link to the original exe so when the game check its size, it
sees it as it should, then changes it back. If it doesn't pass the exe
check within 6 seconds (from realm lag or something) it will fail.

I got this idea from someone who said (for Diablo 2) to copy the original
exe over the no cd when connecting to This, unfortunately,
can crash the game, because the physical code locations change due to
differences between the nocd and original exe's. I brainstormed the idea
to use symbolic links, with the idea that wine would keep the nocd and
original exe's physical code seperate if they actually have different
names. The game will only see the game as the simply as the original game
file "war3.exe", because it doesn't know about symbolic links.

You might be able to make a script to set the symbolic link to the nocd
exe, run the game, sleep about 20 seconds, then set the symbolic link to
the original exe after the game is running, and leave it like that. I'm
not sure how safe it is though. My method works for me, so I'll stick to
it for now. If you want to try out this different method, let me know if
it works. =)

Playing the Game Cinematics:

The game has 3d cinematics that are supposed to play when the game loads,
and when you start certain missions. But the movies don't play in the
game, and the reason is not sure (see Problems... below). Luckily you
can still play the movies under mplayer (or xine if you so choose)! The movies are found in the movies folder as mpq's.
They are really divx's, so just load em up. But make sure in your mplayer
codecs.conf you change a line

fourcc DV50


fourcc DX50, BLZ0 dx50

Then it will play the movies! Mplayer plays them with no-skipping on my
333 Mhz processor even when blizzard says I should have at least a 400 Mhz
processor to view the movies. =)

Patching the Game with New Official Patches:

Set your symbolic links to the original exe's, then patch the game.
Remember that Blizzard patches like to run the game, which will hang
without the NoCD exe's. Do a "killall wine" after patching.

Problems while running Warcraft 3 under linux:

1. When starting the game, it just sits there. (No real error messages)

Possible causes: The game's copy protection causes the game not to
load because no support exists for it (SecuRom or SafeDisc v2). The
game doesn't display "Insert the Game CD" error message like it
suppose to (an actual game bug? which exists under Windows and Wine)

Solution: Make sure you correctly followed the steps in "Getting
Ready to Run the Game". If my steps don't work, you might need to
seek help.

2. When starting the game or when I starting a campaign, game hangs with
wine displaying a message similar to:

fixmele:CoCreateInstance no classfactory created for CLSID
{e436ebb3-524f-11ce-9f53-0020af0ba770}, hres is 0x80040154
[FAIL] CoCreateInstance(CLSID_FilterGraph, NULL, CLSCTX_INPROC,
IID_IGraphBuilder, (void **)&s_pGraph) = -2147221164X

Possible causes: The games uses quartz32.dll, which is only a stub in
current wine releases.
The problem is a game bug that some windows users experience
as well.

Solution: Temporarly rename the Movies folder to skip the movies. If
it's a game bug, it will probably get fixed in future official
patches. If not, there's alot of work to do on quartz32.dll =). If
you want to, you can just play the movies in xine or mplayer.

3. When playing the game, it closes with an error message like:

This application has encountered a critical error:


Program: c:\program files\warcraft iii\war3.exe
Exception: 0xC0000005 (ACCESS_VIOLATION) at 001B:6E82DCE0

The instruction at '0x6E82DCE0' referenced memory at '0x6E82DCE0'.
The memory could not be 'read'.

Possible causes: Copy Protection related, or serious game bug. Many,
many windows users get this error message.

Solution: None (Wait for a patch). You might consider reporting your
computer specs to blizzard as they are having trouble reproducing the
Old 04-22-2003, 03:01 PM   #17
LQ Newbie
Registered: Apr 2003
Distribution: Red Hat 9.0
Posts: 23

Original Poster
Rep: Reputation: 15
Humm....didn't get down that far before, just the top half....

Maybe it does not work after all . Has anybody gotten it to work?
Old 04-23-2003, 02:25 PM   #18
LQ Guru
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
If it has an opengl mode you should be able to get it working, I didn't realise it could do both
Old 06-10-2003, 01:11 AM   #19
LQ Newbie
Registered: Apr 2002
Location: North Carolina
Distribution: Mandrake 8.2 and 9.1
Posts: 12

Rep: Reputation: 0
"Windows" = "file:/home/r-lass/.wine/c/Windows"
"System" = "file:/home/r-lass/.wine/c/Windows/System32"
"Temp" = "file:/home/r-lass/.wine/c/Windows/Temp"
"Path" = "file:/home/r-lass/.wine/c/Windows;file:/home/r-lass/.wine/c/Windows/System32;${HOME};${HOME}"
"Profile" = "C:\\windows\\Profiles\\Administrator"
"GraphicsDriver" = "x11drv"
;"ShowDirSymlinks" = "1"
;"ShowDotFiles" = "1"
"ShellLinker" = "wineshelllink"
that is my config file for wine... all directories are correct, checked and double checked them, but i still get this error message when i try and run wine:
[r-lass@localhost r-lass]$ wine
Invalid path L"file:/home/r-lass/.wine/c/Windows" for L"windows" directory: does not exist.
Perhaps you have not properly edited or created your Wine configuration file,
which is (supposed to be) '/home/r-lass/.wine/config'.

nehelp would be sweet... thanx
Old 06-11-2003, 01:42 PM   #20
LQ Guru
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
Do you have a ~/.wine/c drive?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slight problem with Apache Basslord1124 Slackware 5 11-01-2005 03:30 AM
Just a slight problem. Pendu Debian 6 09-10-2005 07:22 PM
Slight problem installing lg_alucard Arch 0 01-18-2005 10:11 PM
Slight swaret problem revenant Slackware 6 04-06-2004 03:16 PM
Slight problem with my TV-Out traku Linux - Newbie 0 10-27-2003 08:25 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:11 AM.

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