Hi,
Here's how to get Warcraft 3 running under wine:
1. Use the latest wine cvs. Only that will work.
2. Mount the CD, and run install.exe on the CD with the winver set to win98 under config. (even though 95/98 are exactly the same when playing the game--i hate that) You should disable the ide-scsi thing because it seems to cause problems =(
3. Close the install program. Go to the directory where war3 is installed. mv the Movies folder to Movies backup. The game tries to display a movie clip on start in the retail, and it hangs wine =(
4. Download the NoCD patch for Warcraft 3 v1.00 (I don't know if 1.01 is out yet) at www.gamecopyworld.com. mv war3.exe and worldedit.exe to backup names. Copy in the patched program exe's. You may now run War3 if you wish. Warcraft 3 uses Safedisc v2. With this patch it will bypass it. Run war3 with the command "wine war3.exe -- -opengl".
5. To login battle.net, you need to bypass the exe check. With the patched version of the game, it won't work. So what I did to get it to work is moved the patched exe's to something like "war3_patched.exe" and create a symbolic link "war3.exe" that links to it. Start the game "war3.exe". To login to battle.net, open bash console. Change to the war3 directory, and reset the symbolic link to the original war3 exe, let it sleep 5 seconds, and then reset the symbolic link back to the patched version. While it's sleeping, you need to login into battle.net immediately. This is what I did to get D2 battle.net to work under wine. It should work for war3. You need to be the same version as battle.net for it to work though. (currently only 1.00 is availible for linux, and battle.net is 1.01)
6. To patch the game, you need to get the standalone patches. Set your symbolic link to the real exe's, and patch away =)
The beta in contrast worked perfectly. The retail has a couple problems =(. The advantages I find running War3 under linux/wine/opengl, are higher framerates than on both real windows, and winex. And no graphics errors in comparison to winex d3d8, and no sound problems like under real windows. My three button mouse also works unlike windows. All these advantages =)
Jesse
"Jesse Allen" uh_ja@gmx.net writes:
- Close the install program. Go to the directory where war3 is
installed. mv the Movies folder to Movies backup. The game tries to display a movie clip on start in the retail, and it hangs wine =(
Hmm. Sounds suspiciously like the Baldur's Gate movie problem.
Hmm. Sounds suspiciously like the Baldur's Gate movie problem.
Warcraft 3 uses Divx for it's movies. If Baldur's Gate uses it as well, then it definately related.
Because War3 uses Divx (http://www.divx.com), it might be easy to debug because I think it's open source. I might as well try fixing it.
Another thing that's interesting to me, like nearly a year ago, I would guess, I and a couple other people were asking blizzard to release their trailers in a better format than quicktime. Most people in the forums would say quicktime was the best, and we would say, "have you ever heard of divx?" We suggested divx because of superior compression and quality. (And for me, it works in linux =) And a couple weeks later, they rerelease a bunch of trailers under divx, and announced they licensed it. Even on their website they list for the divx trailers "PC/Linux" which is a big deal for me =) And they like it so much they use it in their latest game. Maybe this is another reason I got the beta =)
(and another thing, open the first page of the game manual, it lists they use divx, Freetype 2.0, and zlib. No wonder it works so well under linux. Maybe one of these days they will use SDL ? =)
Jesse
"Jesse Allen" uh_ja@gmx.net writes:
Hmm. Sounds suspiciously like the Baldur's Gate movie problem.
Warcraft 3 uses Divx for it's movies. If Baldur's Gate uses it as well, then it definately related.
Not sure -- cd1's moviecd1.bif claims in the first chunk of the file that it's an "Interplay MVE File", whatever that is, and the first bytes claim BIFFV1.
FWIW
On Mon, Jul 08, 2002 at 04:32:30PM -0500, Rob Browning wrote:
"Jesse Allen" uh_ja@gmx.net writes:
Hmm. Sounds suspiciously like the Baldur's Gate movie problem.
Warcraft 3 uses Divx for it's movies. If Baldur's Gate uses it as well, then it definately related.
Not sure -- cd1's moviecd1.bif claims in the first chunk of the file that it's an "Interplay MVE File", whatever that is, and the first bytes claim BIFFV1.
All the movies in the "Movies" directory have extension .mpq, but they are just avi files with divx5 video. but instead of normal "DIVX" fourcc code, they use "BLZ0", but mplayer plays it fine once tweaked for the different fourcc.
On Mon, Jul 08, 2002 at 10:54:53AM -0700, Jesse Allen wrote:
Hi,
Here's how to get Warcraft 3 running under wine:
Wrong place.
This should have been appdb.codeweavers.com instead ;-)
Well, OK, I'll better add a HOWTO note to it soon. Thanks for this description !
Jesse Allen wrote:
Hi,
Here's how to get Warcraft 3 running under wine:
Use the latest wine cvs. Only that will work.
Mount the CD, and run install.exe on the CD with the winver set to
win98 under config. (even though 95/98 are exactly the same when playing the game--i hate that) You should disable the ide-scsi thing because it seems to cause problems =(
- Close the install program. Go to the
directory where war3 is installed. mv the Movies folder to Movies backup. The game tries to display a movie clip on start in the retail, and it hangs wine =(
- Download the NoCD patch for Warcraft 3 v1.00 (I don't
know if 1.01 is out yet) at www.gamecopyworld.com. mv war3.exe and worldedit.exe to backup names. Copy in the patched program exe's. You may now run War3 if you wish. Warcraft 3 uses Safedisc v2. With this patch it will bypass it. Run war3 with the command "wine war3.exe -- -opengl".
- To login battle.net, you need to bypass the exe check. With
the patched version of the game, it won't work. So what I did to get it to work is moved the patched exe's to something like "war3_patched.exe" and create a symbolic link "war3.exe" that links to it. Start the game "war3.exe". To login to battle.net, open bash console. Change to the war3 directory, and reset the symbolic link to the original war3 exe, let it sleep 5 seconds, and then reset the symbolic link back to the patched version. While it's sleeping, you need to login into battle.net immediately. This is what I did to get D2 battle.net to work under wine. It should work for war3. You need to be the same version as battle.net for it to work though. (currently only 1.00 is availible for linux, and battle.net is 1.01)
- To patch the game, you need to get the
standalone patches. Set your symbolic link to the real exe's, and patch away =)
The beta in contrast worked perfectly. The retail has a couple problems =(. The advantages I find running War3 under linux/wine/opengl, are higher framerates than on both real windows, and winex. And no graphics errors in comparison to winex d3d8, and no sound problems like under real windows. My three button mouse also works unlike windows. All these advantages =)
Jesse
hi, after i follow these steps, I can't make it working with both winex and wine :
Using winex using d3d (compiled from cvs), start using wine path/War3.exe : err:win32:_EnterSysLevel (0x407e74a8, level 2): Holding 0x40887fec, level 3. Expect deadlock! fixme:ddraw:D3D_GL_sync_render_state unsupported render state 161 fixme:ddraw:D3D_GL_sync_render_state unsupported render state 162 fixme:ddraw:D3D_GL_sync_render_state unsupported render state 168 fixme:ddraw:D3D_GL_sync_render_state unsupported render state 171 fixme:ddraw:D3D_GL_sync_render_state unsupported render state 172 fixme:ddraw:D3D_GL_sync_render_state unsupported render state 173 fixme:ddraw:D3D_GL_texture_stage_state unsupported texture stage state 28 fixme:ddraw:D3D_GL_texture_stage_state unsupported texture stage state 25 fixme:ddraw:D3D_GL_texture_stage_state unsupported texture stage state 28 fixme:ddraw:D3D_GL_texture_stage_state unsupported texture stage state 25 Erreur de segmentation err:ntdll:RtlpWaitForCriticalSection section 0x40c2a314 "x11drv_main.c: X11DRV_CritSection" wait timed out, retrying (60 sec) fs=2307
Using winex using opengl (compiled from cvs), start using wine path/War3.exe -- -opengl : it prints : fixme:opengl:wglSwapLayerBuffers (): stub ! fixme:opengl:wglSwapLayerBuffers (): stub ! fixme:opengl:wglSwapLayerBuffers (): stub !
over and over ...
Using wine using opengl (compiled from cvs), start using wine path/War3.exe -- -opengl :
fixme:dsound:IDirectSoundImpl_SetCooperativeLevel (0x403aad78,00010023,2):stub fixme:win32:CreateIoCompletionPort (ffffffff, 0000, 00000000, 00000000): stub.
then it seems to start fullscreen but does not display anything, so that i must kill it.
any ideas ?
Using wine using opengl (compiled from cvs), start using wine path/War3.exe -- -opengl :
fixme:dsound:IDirectSoundImpl_SetCooperativeLevel (0x403aad78,00010023,2):stub fixme:win32:CreateIoCompletionPort (ffffffff, 0000, 00000000, 00000000): stub.
then it seems to start fullscreen but does not display anything, so that i must kill it.
any ideas ?
ps -ef |grep wine to see if it has gone to debugger (winedbg). if so, you should put "Desktop" = "640x480" or so to see what happened.
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
On Tue, Jul 09, 2002 at 06:08:07PM +0200, Matthieu Foillard wrote:
Using winex using opengl (compiled from cvs), start using wine path/War3.exe -- -opengl : it prints : fixme:opengl:wglSwapLayerBuffers (): stub ! fixme:opengl:wglSwapLayerBuffers (): stub ! fixme:opengl:wglSwapLayerBuffers (): stub !
This is fixed in the WineHQ CVS tree. You just need to wait for the patch to do the WineHQ => ReWind => WineX path (as it's X11 licensed) :-)
Or you can also apply the patch yourself to your CVS WineX tree.
Lionel
On Wed, 10 Jul 2002, Lionel Ulmer wrote:
On Tue, Jul 09, 2002 at 06:08:07PM +0200, Matthieu Foillard wrote:
Using winex using opengl (compiled from cvs), start using wine path/War3.exe -- -opengl : it prints : fixme:opengl:wglSwapLayerBuffers (): stub ! fixme:opengl:wglSwapLayerBuffers (): stub ! fixme:opengl:wglSwapLayerBuffers (): stub !
This is fixed in the WineHQ CVS tree. You just need to wait for the patch to do the WineHQ => ReWind => WineX path (as it's X11 licensed) :-)
It is? I don't think it said so in http://www.winehq.com/hypermail/wine-patches/2002/06/0041.html, and Jesse Allen isn't registered as X11-friendly yet... which is among the reasons why it hasn't taken that route yet.
It is? I don't think it said so in http://www.winehq.com/hypermail/wine-patches/2002/06/0041.html, and Jesse Allen isn't registered as X11-friendly yet... which is among the reasons why it hasn't taken that route yet.
Ah, forgot that I 'dual attributed' the patch to Jesse too.
Lionel
i finally made warcraft III working :
1. rename the Movies folder as Jesse Allen did. 2. get winex from cvs, then patch srcs with http://www.winehq.com/hypermail/wine-patches/2002/06/0041.html 3. configure wine using ./configure --enable-opengl ..., then build it. 4. run warcraft using : wine /path/War3.exe ( the -opengl doesn't work for me) 5. enjoy !
Matthieu Foillard wrote:
i finally made warcraft III working :
- rename the Movies folder as Jesse Allen did.
- get winex from cvs, then patch srcs with
http://www.winehq.com/hypermail/wine-patches/2002/06/0041.html 3. configure wine using ./configure --enable-opengl ..., then build it. 4. run warcraft using : wine /path/War3.exe ( the -opengl doesn't work for me) 5. enjoy !
I followed your procedures, X crashed when I started to run it. It said ".... deadlock ..." Any idea? Thanks.
Leanne
Matthieu Foillard wrote:
i finally made warcraft III working :
- rename the Movies folder as Jesse Allen did.
- get winex from cvs, then patch srcs with
http://www.winehq.com/hypermail/wine-patches/2002/06/0041.html 3. configure wine using ./configure --enable-opengl ..., then build it. 4. run warcraft using : wine /path/War3.exe ( the -opengl doesn't work for me) 5. enjoy !
I followed your procedures, X crashed when I started to run it. It said ".... deadlock ..." Any idea? Thanks.
Hi,
I don't know what's going on with the current WineX, I can't get it to work. I got an old version that I used with the beta back in March to work. Getting the latest WineX to work seems to be much harder than Wine.
Try my How To under "Warcraft III" in the application db found at http://appdb.codeweavers.com except remember this before running install.exe: copy a native msvcrt.dll into your wine installation. Example destination location: ~/c/windows/system If you don't copy that in install.exe will fail like people have been complaining about giving this error message: fixme:msvcrt:__CxxFrameHandler (0x40481e98,0x405959b0,0x40481b20,0x040481ab0):stub?...(repeated)
Luckily, people seem to be trying to fix this kind of problem for wine so in the future, you won't need this native dll.
I can't believe I missed this part. I thought it wasn't needed because I cleaned out my wine install setting up War3 retail to find out the exact steps. I copied this dll to my home directory thinking it was outside the windows/system path, and would purposely not load... come to find today... I see this F:/msvcrt.dll in some logs!!! doh it was loading it all along. I tried running install.exe without, and discovered what people been talking about.
I hope people can get running now, because wine War3 does work very well. =)
Jesse
On Mon, 2002-07-08 at 13:54, Jesse Allen wrote:
Hi,
Here's how to get Warcraft 3 running under wine:
Use the latest wine cvs. Only that will work.
Mount the CD, and run install.exe on the CD with the winver set to
win98 under config. (even though 95/98 are exactly the same when playing the game--i hate that) You should disable the ide-scsi thing because it seems to cause problems =(
~/.wine/config: ... [Version] "Windows" = "win2k" ...
Doesn't work. In fact, this doesn't help, irrespective of the version I set it to. Where else can I set the Windoze version ?
I managed to get War3 to work using winex: http://www.transgaming.com/showthread.php?msg=11638&forum=6&thread=1...
Hope this helps, and thanks for the help.