Moving Window in Windowed Mode

Post » Sat Mar 27, 2010 1:00 am

Hiya Guys...

well i have a large monitor for my pc... and well i dont like playing fullscreen cause then its too big. so i always play all of my games in windowed mode. now when playing oblivion in windowed mode the smaller window stays in the top left of the screen..... is there anyway to move this window around the screen..?
User avatar
dean Cutler
 
Posts: 3411
Joined: Wed Jul 18, 2007 7:29 am

Post » Sat Mar 27, 2010 7:25 am

Yes --- you need to make a few adjustments in the Oblivion.ini file to tell it where and how big to draw the window !!

The settings you need to adjust are under the Display category and are :

iLocation Y=0
iLocation X=0
bFull Screen=1
iSize W=1680
iSize H=1050


Location Y is how many pixels down from the top left side of the screen to start the window
Location X is how many pixels in from the top left side of the screen to start the window
bFull Screen is whether or not to use full screen mode ( 0 = windowed mode)
iSize W is the width of the window to draw
iSize H is the height of the window to draw

so lets say you have a 1680 x1050 screen (this is what I have) but you want to play in a window centered on the screen but 1440x900 in size.
the settings would be as follows :

iLocation Y= 75      : ((1050 - 900) = 150 --- divided by 2 (so the same # of blank pixels on each side) = 75 )iLocation X= 120              : ((1680 - 1440)= 240 --- divided by 2 = 120)bFull Screeen=0               :(use windowed mode)iSize W = 1440                :(draw a 1440 pixel width window)iSize H = 900                    :(draw a 900 pixel height window)


When launched this would create a 1440 x 900 pixel window to be drawn 120 pixels in and 75 pixels down from the top left of the screen leaving 120 pixel border on each side and 75 pixels on top and bottom of the screen !! ( of course if you want it placed elsewhere you just adjust the above settings as needed !)
User avatar
Lynette Wilson
 
Posts: 3424
Joined: Fri Jul 14, 2006 4:20 pm

Post » Sat Mar 27, 2010 7:32 am

hmmm....

1920 x 1080 is my screen.... and wow i like to play in a small window (800x600) and play center screen with other stuff around... like msn and stuff. whould it be if i centered it
(my brains gone dead and dont wont to make a mistake :P)
User avatar
I’m my own
 
Posts: 3344
Joined: Tue Oct 10, 2006 2:55 am

Post » Sat Mar 27, 2010 9:11 am

Ok

a 800x600 window centered on a 1920x1080 screen would be :

iLocation Y= 240              : ((1080 - 600) = 480 --- divided by 2 (so the same # of blank pixels on each side) = 240 )iLocation X= 560              : ((1920 - 800)= 1120 --- divided by 2 = 560)bFull Screeen=0               :(use windowed mode)iSize W = 800                   :(draw a 800 pixel width window)iSize H = 600                    :(draw a 600 pixel height window)



Check 240+600+240 = 1080
and 560+800+560 =1920
User avatar
Alexander Horton
 
Posts: 3318
Joined: Thu Oct 11, 2007 9:19 pm

Post » Sat Mar 27, 2010 11:52 am

thank you
User avatar
Laura-Jayne Lee
 
Posts: 3474
Joined: Sun Jul 02, 2006 4:35 pm


Return to IV - Oblivion