How to move minimap around the screen

How do you move the minimap around the screen, like I want it in the top-left not the bottom left.

http://www.youtube.com/watch?v=MDGYM6Es4Lk

here is the script i used

from Rasterizer import*
import GameLogic as g
o = g.getCurrentController().owner
o.useViewport=1
o.setViewport( 0 , 0 , getWindowWidth()/4 , getWindowHeight()/3 )

If i am correct, the OpenGL’s start from bottom left not top left.
So this might do the trick.

from Rasterizer import*
import GameLogic as g
o = g.getCurrentController().owner
o.useViewport=1
o.setViewport( 0 , getWindowHeight(), getWindowWidth()/4 , getWindowHeight()-getWindowHeight()/3 )

no it just covers the screen with the minimap so its not so mini, i cant even see the regular scene

btw its for 2.49b

After Some tweaking and testing this one seem to work.


from Rasterizer import* 
import GameLogic as g 
o = g.getCurrentController().owner 
o.useViewport=1 

x1=0 
y1=getWindowHeight()- getWindowHeight()/3
 
 
x2=getWindowWidth()/4
y2=getWindowHeight() 
 
o.setViewport( x1 ,y1, x2, y2)


thank you alot!!!