fullscreen while something else is fullscreen'd of win7

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Post Reply
Message
Author
iichan_lolbot
Veteran
Posts: 206
Joined: Tue Dec 30, 2008 9:18 am
Projects: iichan erogame
Contact:

fullscreen while something else is fullscreen'd of win7

#1 Post by iichan_lolbot » Thu Oct 08, 2015 5:14 pm

Hi! One of our user have tried this scenario:
0. system is windows 8 with multiple monitors attached
1. one of the monitors is running a fullscreen app
2. then, windowed renpy game is started in compatibility mode with win7 and with administration privilegies
3. after trying to use fullscreen mode in renpy game, it crashes:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
Exception: Could not set video mode.

— Full Traceback —----------------------------------------------------------

Full traceback:
File "renpy/common/_layout/screen_main_menu.rpym", line 29, in script
$ ui.interact()
File "C:\Users\Sergey\Downloads\travnica-1.1-win\travnica-1.1-win\renpy\ast.py", line 785, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\Users\Sergey\Downloads\travnica-1.1-win\travnica-1.1-win\renpy\python.py", line 1382, in py_exec_bytecode
exec bytecode in globals, locals
File "renpy/common/_layout/screen_main_menu.rpym", line 29, in <module>
$ ui.interact()
File "C:\Users\Sergey\Downloads\travnica-1.1-win\travnica-1.1-win\renpy\ui.py", line 247, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "C:\Users\Sergey\Downloads\travnica-1.1-win\travnica-1.1-win\renpy\display\core.py", line 2149, in interact
repeat, rv = self.interact_core(preloads=preloads, **kwargs)
File "C:\Users\Sergey\Downloads\travnica-1.1-win\travnica-1.1-win\renpy\display\core.py", line 2447, in interact_core
self.set_mode()
File "C:\Users\Sergey\Downloads\travnica-1.1-win\travnica-1.1-win\renpy\display\core.py", line 1646, in set_mode
raise Exception("Could not set video mode.")
Exception: Could not set video mode.

Windows-7-6.1.7600
Ren'Py 6.18.3.761
Travnica 1.1.0.471"
I'm not sure if this scenario is supported, so what do you think of it?

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: fullscreen while something else is fullscreen'd of win7

#2 Post by PyTom » Thu Oct 08, 2015 10:50 pm

Can you try it with a modern Ren'Py. A lot has changed in 6.99.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: No registered users