Starcraft – Is it possible to ask Starcraft II to use OpenGl instead of DirectX

starcraft-2

For comparison, I noticed in Blizzard's other game, World of Warcraft, you can explicitly specify in a configuration file (C:/Program Files/World of Warcraft/WTF/config.wtf) to use OpenGL (SET gxApi "OpenGL"). Does this ability exist in Starcraft 2? I found the configuration file (…/My Documents/Starcraft II/variables.txt) but I don't see a line I can modify to tell it to use OpenGL.

I know that running the game on Mac requires you to use OpenGl and not DirectX, however, can I use the OpenGL library instead of DirectX9 on Windows?

I don't know if the technical details of my problem will help, but here is what I hope to accomplish by using OpenGL. Currently I am running Windows programs on Ubuntu 13.04 using Wine 1.6-rc4. Prior to release of HoTS, Starcraft 2 actually ran (though choppy) making DirectX9 calls to Wine. However, since HoTS I'm stuck running at 0 fps when I try to play a mission (it's more like 1 frame per minute). I was able to get World of Warcraft to run smoothly by telling it to use OpenGL.

My machine is rather old, using ATI Radeon Xpress 1100 integrated video card. AMD doesn't provide new linux drivers for legacy cards, the drivers that are currently on their site are compatible with outdated versions of x.org. So for the record, I am using OpenGL drivers. However, most new cards come with drivers that are compatible with OpenGL and DirectX9/10, so it wouldn't be too far a stretch to think Blizzard would give you the option to use OpenGL as it did with World of Warcraft.


Oh I forgot to mention, I followed the following directions from AppDB, I don't know if it did anything though:

Regedit video performance tweaks

Some users report that the following registry edits can increase video performance. Some users report that these changes make no difference, and some even report that they make things worse! Feel free to experiment….

  1. Access the registry: wine regedit
  2. Navigate to HKEY_CURRENT_USER/Software/Wine/Direct3D. If this key does not exist, create it.
  3. Right click on Direct3D, and select New > String Value to add each of the entries below.

Key Value
DirectDrawRenderer opengl
Multisampling disabled
OffScreenRenderingMode pbuffer
UseGLSL disabled
VertexShaderMode hardware
VideoMemorySize (Set this value to the RAM on your video card, in MB)

Best Answer

According to this post on Blizzards Forums by a support member, it is not possible to run Starcraft II in an OpenGL Mode at the moment. It has only DirectX Support.