windowed mode

Discussion of Inner Space

Moderators: Lavish Software Team, Moderators

Post Reply
spudman
GamingTools Subscriber
Posts: 4
Joined: Sat Feb 04, 2006 8:42 pm

windowed mode

Post by spudman » Wed Jun 21, 2006 12:38 pm

I looked at various documentation on IS and through these forums, but looking for something like window mode brings up tons of irrelevent articles.

I set up Tiger Woods 06 in IS and it seems to be working, just wondering how I can try and force it into a windowed mode?

spudman
GamingTools Subscriber
Posts: 4
Joined: Sat Feb 04, 2006 8:42 pm

Post by spudman » Wed Jun 21, 2006 9:34 pm

ok found option to force it to a window, but then mouse doesn't react properly. I tried changing various settings such as hybrid mouse, etc. I can get it to recognize sometime, but it ends up being off from where the mouse is actually pointing. i.e. a menu highlights but my mouse is 2 inches to the left of that menu.

I was really just experimenting w/this game, so if it doesn't work, no biggie. I was thinking it would be nice to write something to have preset swings set up, such as fade, draw, straight, power shot, etc.

I can probably get just the windowed mode thing running better in wineq2?

spudman
GamingTools Subscriber
Posts: 4
Joined: Sat Feb 04, 2006 8:42 pm

Post by spudman » Wed Jun 21, 2006 9:37 pm

doh, I can't edit my post. I guess wineq2 is only for eq & related games. Was thinking it was more of a general windowing utility.

Lax
Owner
Posts: 6634
Joined: Fri Jun 18, 2004 6:08 pm

Post by Lax » Wed Jun 21, 2006 10:35 pm

The problem with forcing windowed is that it will never work perfectly for all games, because they react differently. This is why it says "Not recommended".

You will have the best luck by enabling Virtual Input. Then you need to make sure that the mouse doesnt need to be scaled (e.g. if the mouse is on the left side, it's right on, but the further right it moves, the further off it gets) or translated (e.g. always shifted 2 inches to the right). Scaling is usually unnecessary as long as the window is sized to what the game thinks it is. Translating is probably only necessary if the window is not placed exactly in the upper left corner of the display (the "viewable" part of the window, meaning the title bar and border on the left and top should not be visible).

First, enter the command "windowpos -viewable 0,0", which will move the window to the upper left corner as previously described. Then, enter the command "displayinfo", which will spit out a little bit of info like this:

Code: Select all

Adapter resolution: 1280x1024
Current display mode: 1024x768 (windowed)
Window viewable size: 1024x768
Display Scale: 100.0%x100.0%, Distortion: 0.0%
If the current display mode (shown as 1024x768) is different from the Window viewable size (also shown as 1024x768), then the Display Scale numbers will show something other than 100.0%x100.0%, and that's when you might expect to do scaling.

If scaling or translating is necessary, let me know and I'll help you figure that out.

spudman
GamingTools Subscriber
Posts: 4
Joined: Sat Feb 04, 2006 8:42 pm

Post by spudman » Thu Jun 22, 2006 9:11 am

Thanks Lax, I'll check it out tonight.

My reason for wanting to run it in a window in the first place is I have a WS monitor and the game doesn't support WS, so it stretches it to fit the screen. (not sure if this is function of game, vid driver or monitor).

I will play around with the things you described tonight and see what I can come up with.

Krustov
GamingTools Subscriber
Posts: 14
Joined: Sun Jun 11, 2006 2:25 pm

Post by Krustov » Thu Jun 22, 2006 6:41 pm

spudman wrote: My reason for wanting to run it in a window in the first place is I have a WS monitor and the game doesn't support WS, so it stretches it to fit the screen. (not sure if this is function of game, vid driver or monitor).
Hey Spud,

Check out widescreengamingforum.com, specifically this post

Good luck!

Krustov

Lax
Owner
Posts: 6634
Joined: Fri Jun 18, 2004 6:08 pm

Post by Lax » Thu Jun 22, 2006 7:24 pm

spudman wrote:Thanks Lax, I'll check it out tonight.

My reason for wanting to run it in a window in the first place is I have a WS monitor and the game doesn't support WS, so it stretches it to fit the screen. (not sure if this is function of game, vid driver or monitor).

I will play around with the things you described tonight and see what I can come up with.
It's indeed the game's job. Generally, games will run through the list of available resolutions (as reported by the video driver through DirectX), determine whether it wants you to be able to use each, and populate the list. Some games hardcode each of the resolutions it wants you to be able to use, which from the post Krustov linked, it sounds like Tiger Woods hardcodes the available resolutions, and none of them are widescreen. The best solution in that situation is probably exactly what that post says -- hack the game to support the resolution you want. Otherwise sure, you could force the game into windowed mode and play in a non-WS resolution and have it look correct, instead of a distorted non-native resolution in full screen mode.

Post Reply