2011-12-19, 15:34
jubilex Wrote:Hi, thanks for the Add-On. I am using it to launch PC games as file launchers. Most games work fine, but some games, on exit and return to XBMC, have XBMC running in small window on my desktop.What happen is that your games and XBMC may use the same graphic rendering engine. So when you start a game, it surely take the control of the rendering display over XBMC and force this last one to be reduced, minimized, and force XBMC to change its resolution. Then when you close the game, XBMC is not able to return correctly to it's initial state the game have change it. And that's why you have problem.
More details:
The display is 1280x720. XBMC is set to "use a fullscreen window" of 1280x720. My games are all set to 1920x1080p or at least 1600x[whatever]. All but two of the games have no problems. Those two, Crysis and Dead Space 2, upon exiting the game, return me to my PC desktop with XBMC running in a small window in the corner (fully functional). If I launch one of the "broken" games then, XBMC will return to fullscreen as soon as I click on the game, and play the game fullscreen, but will still return to the small window upon exiting the game. If I launch one of the "good" games, it will remain correctly in fullscreen after exiting the game.
XBMC's system>video output screen and Windows 7 resolution all continue to report 1280x720 while this is going on.
On a different display that is 1080p, I have the opposite problem. After exiting the game, XBMC is in a too-large window that extends outside the screen.
edit: After more testing, this is not an Advanced Launcher problem per se; this happens if I launch a game manually from Windows while XBMC is running, and then quit the game. I guess it's an XBMC issue of some sort? I don't know what to do about it since both XBMC and Windows, after quitting the game, still say they are at the correct resolution.
It is hard to control this from Advanced Launcher because it depend of the game you have started. Actually the way to fix this is to create a small .bat script, specifically dedicated to the game that will act as an intermediate launcher an that will control the game and XBMC display.
On way to proceed is to use such kind of script : http://www.gwenael.org/forum/viewtopic.php?id=6 that will force XBMC to close before before starting the game and that will restart XBMC after the game will be closed. By this way you avoid any rendering incompatibility problems between XBMC and the game.
Another method is to create a small script that will control the XBMC windows state using the nircmd application for example : http://www.gwenael.org/forum/viewtopic.php?id=26