games running fullscreen from xlobby leading to oddness

Help each other out

games running fullscreen from xlobby leading to oddness

Postby VRS-1 on Wed Jan 03, 2007 7:35 pm

Hey all.

I tried searching the forums for all search terms I could think of but I couldn't find anything discussing this issue so here it is...

I've got a database set up for games that launch when you click on one. Fun times. Usually they return quite nicely when closed, back to the XLobby screen. If, however, the game runs at 1024 x 768 and the desktop is set to 800 x 600, upon returning it looks funny. Here's a before:

Image

And after:

Image

Now, when this happens, right clicking on the xLobby tab in the taskbar and selecting Maximize does fix it, but triggering an EVENT "Maximize" does not... it just minimizes and quickly comes back up looking the same as it did... with a bunch of empty space on the right and bottom.

So my question is, is there a way to craft an event that will properly re-maximize the XLobby screen?

Thanks to all for any replies.

PS -- XLobby is the coolest. Very powerful stuff.

VRS
VRS-1
 
Posts: 13
Joined: Wed Jan 03, 2007 5:32 pm

Postby m_ski on Thu Jan 04, 2007 12:29 pm

Try minimise event followed by maximise event. I get the same problem, should probably be raised as a bug.
m_ski
 
Posts: 204
Joined: Wed Dec 08, 2004 7:57 am
Location: Kent, United Kingdom

Postby scottw on Thu Jan 04, 2007 12:58 pm

I thought I was the only one with this problem. Thanks for the tip!!!
scottw
 
Posts: 774
Joined: Mon Feb 06, 2006 4:21 pm
Location: Glen Burnie, Maryland

Postby VRS-1 on Thu Jan 04, 2007 5:01 pm

m_ski, does that minimize thing work for you?

It didn't help me any -- I tried:

1) - "minimize" followed by "maximize"
2) - "minimize client" followed by "maximize"
3) - both minimizes followed by "maximize"
4) - either minimize followed by a short "wait" (half a second) followed by "maximize"

No dice. Same results all the way around. :cry:

My poor game database is the only remaining thing I need to get worked out! I must have gaaaames!

Thanks all, and (sort of) glad to hear that the problem isn't unique to my setup.

-VRS
VRS-1
 
Posts: 13
Joined: Wed Jan 03, 2007 5:32 pm

Postby S Pittaway on Fri Jan 05, 2007 9:08 am

you can fake a screen redraw by calling "command:xlobby:show overlay new layer" and leaving the overlay name off.

I used this a while ago to get past some of the category bugs that had been introduced (now fixed).
S Pittaway
 
Posts: 651
Joined: Wed Jan 25, 2006 11:08 am
Location: Manchester, England

Postby m_ski on Fri Jan 05, 2007 12:25 pm

Just realised that I actually click on the taskbar to bring it back.

Not an ideal solution but maybe if you do a minimise before running the actual game and then the screen rez will change with xlobby minimised. When the game is complete and the screen res. is returned to normal you can do a maximise command.
m_ski
 
Posts: 204
Joined: Wed Dec 08, 2004 7:57 am
Location: Kent, United Kingdom

Postby VRS-1 on Mon Jan 08, 2007 8:51 pm

m_ski -- what did you use to trigger your maximize event "after the game was finished"? I'm using a .bat file with command line to run the games from the database, so the "after" event won't work... ?

Pittaway -- that doesn't do anything with respect to this issue.

-VRS
VRS-1
 
Posts: 13
Joined: Wed Jan 03, 2007 5:32 pm

Postby S Pittaway on Tue Jan 09, 2007 9:25 am

all that is happening is that the screen is not being invalidated properly when
the games exits and resizes the screen (only the game screen mode size is invalidated).

I ment that if you can trap game exit, add a delay, then force an screen redraw and it should sort out the display.
S Pittaway
 
Posts: 651
Joined: Wed Jan 25, 2006 11:08 am
Location: Manchester, England

Postby VRS-1 on Tue Jan 09, 2007 3:58 pm

S Pittaway --

I tried triggering an event of "show overlay new layer", and it doesn't do anything to the screen's problem. If it were just a matter of XLobby needing to invalidate a new dirty rectangle then the control would still work outside the area that the screen is showing, and it doesn't. The highlight stays on whichever item in the database I last rolled over after I've moved out of the new mini-window, and I can even click on items on my desktop.

At any rate, the "show overlay new layer" doesn't fix it. :cry:

-VRS
VRS-1
 
Posts: 13
Joined: Wed Jan 03, 2007 5:32 pm

Postby m_ski on Tue Jan 09, 2007 4:33 pm

I use my remote which fires an event in Girder which then does a Maximise of xlobby window. I think i use the maximise command in Girder rather than the internal xlobby event (I can't check for a couple of weeks).

With a batch file I believe you can set two commands to run in series so that command 2 will not be issued until command 1 is completed (i.e. application closed). You'll have to search on google for this one.
Command 2, which would then run when you exit the game, could then be a command to fire an event in Girder if you use it or possibly fire the event in xlobby using Xreceive plugin http://www.xlobby.com/forum/viewtopic.php?t=4843
m_ski
 
Posts: 204
Joined: Wed Dec 08, 2004 7:57 am
Location: Kent, United Kingdom

Postby VRS-1 on Tue Jan 16, 2007 6:23 pm

For the moment I've dodged this by simply not having any games that start in a resolution higher than my menu...

If at any point I revisit this I'll be sure to check back in and post results of various methods.

Thanks everyone for the help!

-VRS
VRS-1
 
Posts: 13
Joined: Wed Jan 03, 2007 5:32 pm