Warcraft III: Reign of Chaos Forum

This is a community forum and not official technical support. — If you need official support: Contact Us

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

Warcraft 3 speed issues

I have both wine 1.1.12 and crossover games installed.
When I run Warcraft 3 in crossover games, it runs choppy and slow.
If I use the "wine WarcraftIII.exe -opengl" command, everything runs fine.

Anybody have an idea how to make the crossover games version run in opengl mode?

The command to run the game in my kde menu is:
"/home/$USER/.cxgames/Warcraft/desktopdata/cxmenu/StartMenu.C^5E3A^5Fwindows^5Fprofiles^5Fcrossover^5FStart^2BMenu/Programs/Warcraft+III/Warcraft+III"

Is it an registry issue or where do I add the -opengl command to?

I know you can send a command line to open warcraft3 through cross over. I forget what it is but look in the running unsupported applications PDF in the code-weavers site. I saw it there somewhere. Once you can launch the game from the command line you can just add the flag to the end. If you figure it out please repost as I'm fuzzy on how the command line calling of crossover works and I want to use it for other programs and games too.

You can use "/opt/cxgames/bin/wine WarcraftIII.exe -opengl" if you want. If you installed CrossOver Games for your user account only, replace "/opt" with ~.

Also, the command you mention for the KDE menu refers to a script file. You can edit that script file to add the -opengl switch.

It's possible that Warcraft 3 has a configuration file where you can set the rendering engine it uses.

Ken Thomases wrote:

You can use "/opt/cxgames/bin/wine WarcraftIII.exe -opengl" if you
want. If you installed CrossOver Games for your user account only,
replace "/opt" with ~.

Also, the command you mention for the KDE menu refers to a script
file. You can edit that script file to add the -opengl switch.

It's possible that Warcraft 3 has a configuration file where you can
set the rendering engine it uses.

Well I found a way to get it to work now! Thanks for your suggestion, although the fix is not a pretty one.

First I tried to edit the KMenu entries, but for some reason they wouldn't lead to the script I created to run Warcraft III in opengl mode. (Perhaps illegal chars)
Secondly, I went into the cxbottlemanager and tried to change the menus from there. Couldn't find a way, perhaps because I'm not too familiar with it.
So finally I got the solution:

The menus for the generated Warcraft III entries is located in ~/.cxgames/[bottle]/desktopdata/cxmenu/StartMenu.C^5E3A^5Fwindows^5Fcrossover^5FStart^2BMenu/Programs/Warcraft+III/ directory.

The "StartMenu.C^... directory might be named something different on your computer.

So what I did is for the Warcraft+III and Warcraft+III+-+The+Frozen+Throne files, edited them (using nano/kate/gedit) and replaced them with

! /bin/bash

/home/$USER/cxgames/bin/wine /home/$USER/.cxgames/[bottle]/drive_c/Program\ Files/Warcraft\ III/Warcraft\ III.exe -opengl

(The $USER variable I filled in with my own username so don't type it verbatim.)

I did the same for the Frozen Throne menu except pointed it to the "Frozen Throne.exe" file and now I have both running blazing fast!

Thanks for your comment, Ken. I wouldn't have found this solution if you hadn't pointed me in the right direction.

I'd like to point out a couple things.

  • If you don't install to the default "~/cxgames" folder when installing crossover games, you need to link the proper location of the cxgame's 'wine' binary. (bin/ folder)
    Ex: /opt/cxgames/bin/wine
    And you can leave the $USER variable in the script. It makes no difference.

  • Your warcraft 3 bottle may need to be default in order to run properly. (Having no default bottle will cause this to fail.)

As I said, it's a dirty fix.

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzMxNDM1MjAzLCJjc3JmX3Rva2VuIjoic2F6RXI5eDJMcmUzU3pBeiIsImdkcHIiOjB9