How to Force Windowed Mode

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Cerin
Newbie
Newbie
Posts: 2
Joined: Sun Sep 07, 2008 10:49 am

How to Force Windowed Mode

Post by Cerin »

Whenever I try to run a DirectX or OpenGL game, they usually try to become fullscreen. I have a Radeon graphics card, and only the proprietary driver supports acceleration. Unfortunately, it's also quite buggy, and and often crashes my system when games try to run in full screen mode.

Is there anyway to instruct wine to force a program to run in windowed mode? I've found posts like http://www.winehq.org/pipermail/wine-us ... 13825.html which say to add:

[AppDefaults\\program.exe\\x11drv]
"Desktop" = "800x600"

to your user.reg file, but this has no effect (and yes, I replaced program.exe with the name of the game executables).
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: How to Force Windowed Mode

Post by vitamin »

Cerin wrote:Is there anyway to instruct wine to force a program to run in windowed mode?
Run winecfg, go to graphics tab, check "Emulate a virtual desktop" and set initial resolution (program can change this size if it needs to).
Cerin
Newbie
Newbie
Posts: 2
Joined: Sun Sep 07, 2008 10:49 am

Post by Cerin »

Thanks, that's exactly what I was looking for.
Locked