How can I change the resolution on Blizzard games running under WINE?

This is a problem I encounter with two of blizzard's newer games, StarCraft II and World of Warcraft. I can install them on my machine which runs Ubuntu 13.04 raring ringtail using wine 1.6-rc3. Both programs run on 1920 by 1080 resolution but at about 1 frame per second. I thought perhaps reducing the resolution would improve game performance, however attempting to do so only causes a portion of the screen to appear. I tried changing the resolution using the in game system settings menu and the configuration file. Both attempts have the same results. I don't see a bug on AppDB and both games have platinum ratings. Does anyone know how I can successfully change my game resolution?

screen shot of WoW

The black areas in the screenshot do not appear on my monitor. The blacked out portions only appear in when i took the screenshot.


Solution 1:

I found a temporary fix for this, but if anyone has a real answer to the problem, I will select it as answer.

World of Warcraft
I found that changing the game resolution settings either in game or by the configuration file don't actually change the game resolution but my desktop resolution. The result is that most of the game interface is now off screen beyond my reach.

If I erase the set resolution line of the configuration file, the game by default goes to my desktop resolution. This is where the solution I found lies. Before starting the game, change your desktop resolution. When the game runs in full screen mode, it will match the desktop resolution.

This seems like a round-a-bout solution. I found no one with the same problem on wine or on blizzard's forums (on their forums its always "we don't support linux so we wont acknowledge your question. Please stop mentioning wine, buy Windows"). This is why I'm inclined to believe that there is either another solution.

Starcraft II
I thought the solution for all newer blizzard games would be the same due to the similarities in the bug. However, the configuration of Starcraft II is a bit different. Instead of removing the height and width settings on the variables.txt file in your Starcraft 2, edit them to match your desktop resolution exactly. If it is off by one pixel, it will bug. It's possible that no one really wants to run these new games on old computers that can't handle full HD as well. That would explain why no one else has complained about this problem. I can navigate well through the game menus on this machine, but loading a level takes half an hour and once the level starts it runs close to 0 fps (the game quoted it at 0 fps).

Edit: The workaround for Starcraft II no longer works. I have yet to find another way to reset the solution under WINE.

Solution 2:

I had seemingly the same issue running StarCrat II with Wine. The game display was too large for the screen, so that i could only see a portion of the game (top left corner, to be precise). I did not, however, experience problems with FPS, so I am not sure how to fix that.

The reason for me was a mismatch between the desktop and game resolution (standard resolution on SC2 was 1280x720 on my computer, whereas the dektop resolution was set to 1920x1080). Changing any of those so that they match fixed the issue.

I changed the game resolution in variables.txt, but if you want to tune the resolution down (for example to solve performance issues), I believe that reducing the desktop resolution before launching the game is necessary, unless someone finds a solution to automatically adjusting desktop and/or game resolutions as is done in Windows.