
Lord Strainer
Published
env --unset=SDL_VIDEODRIVER mangohud %command% --skip-launcher
At first, the game was stuck on installing DirectX. After a bit of waiting, I killed the process related to that and the game subsequently launched successfully.
unset SDL_VIDEODRIVER && %command%
I needed to unset an environment variable because I'm on Wayland.
Cannot get game to launch
The launcher works fine, but the game itself fails to start due to DirectX failing to initialize. I tried all sorts of fixes suggested, but none of them worked for me.
env -u SDL_VIDEODRIVER %command% --skip-launcher
SteamDeck=1 %command% -fullscreen -novid --force-grab-cursor
Game Doesn't Launch on Wayland
It seems like ren'py does not support wayland.I tried forcing the use of xwayland and launching through gamescope, but nothing I was able to think of worked.
I'm sorry, but an uncaught exception occurred.
While running game code:
File "renpy/common/00start.rpy", line 210, in script call
call _gl_test
File "renpy/common/00gltest.rpy", line 393, in script
$ __gl_test()
File "renpy/common/00start.rpy", line 210, in script call
call _gl_test
File "renpy/common/00gltest.rpy", line 393, in script
$ __gl_test()
File "renpy/common/00gltest.rpy", line 393, in <module>
$ __gl_test()
File "renpy/common/00gltest.rpy", line 320, in _m1_00gltest__gl_test
_gl_performance_test()
File "renpy/common/00gltest.rpy", line 345, in _gl_performance_test
ui.interact(suppress_underlay=True, suppress_overlay=True)
error: wayland not available
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "Z:\home\redacted\.local\share\Steam\steamapps\common\Slay the Princess\renpy\bootstrap.py", line 277, in bootstrap
renpy.main.main()
File "Z:\home\redacted\.local\share\Steam\steamapps\common\Slay the Princess\renpy\main.py", line 660, in main
run(restart)
File "Z:\home\redacted\.local\share\Steam\steamapps\common\Slay the Princess\renpy\main.py", line 146, in run
renpy.execution.run_context(True)
File "Z:\home\redacted\.local\share\Steam\steamapps\common\Slay the Princess\renpy\execution.py", line 938, in run_context
context.run()
File "renpy/common/00start.rpy", line 210, in script call
call _gl_test
File "renpy/common/00gltest.rpy", line 393, in script
$ __gl_test()
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/future/utils/__init__.py", line 441, in raise_
File "renpy/common/00start.rpy", line 210, in script call
call _gl_test
File "renpy/common/00gltest.rpy", line 393, in script
$ __gl_test()
File "Z:\home\redacted\.local\share\Steam\steamapps\common\Slay the Princess\renpy\ast.py", line 1131, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "Z:\home\redacted\.local\share\Steam\steamapps\common\Slay the Princess\renpy\python.py", line 1061, in py_exec_bytecode
exec(bytecode, globals, locals)
File "renpy/common/00gltest.rpy", line 393, in <module>
$ __gl_test()
File "renpy/common/00gltest.rpy", line 320, in _m1_00gltest__gl_test
_gl_performance_test()
File "renpy/common/00gltest.rpy", line 345, in _gl_performance_test
ui.interact(suppress_underlay=True, suppress_overlay=True)
File "Z:\home\redacted\.local\share\Steam\steamapps\common\Slay the Princess\renpy\ui.py", line 299, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "Z:\home\redacted\.local\share\Steam\steamapps\common\Slay the Princess\renpy\display\core.py", line 3341, in interact
self.start()
File "Z:\home\redacted\.local\share\Steam\steamapps\common\Slay the Princess\renpy\display\core.py", line 2267, in start
self.set_mode()
File "Z:\home\redacted\.local\share\Steam\steamapps\common\Slay the Princess\renpy\display\core.py", line 2575, in set_mode
if draw.init(virtual_size):
File "gl2draw.pyx", line 296, in renpy.gl2.gl2draw.GL2Draw.init
File "gl2draw.pyx", line 163, in renpy.gl2.gl2draw.GL2Draw.select_physical_size
File "Z:\home\redacted\.local\share\Steam\steamapps\common\Slay the Princess\renpy\display\__init__.py", line 56, in get_info
pygame.display.init()
File "src/pygame_sdl2/display.pyx", line 95, in pygame_sdl2.display.init
error: wayland not available
Windows-10-10.0.19043 AMD64
Ren'Py 8.0.3.22090809
Slay the Princess 1.0
Tue Jan 2 18:22:06 2024
The gam launches until the connecting splash screen, and from there it just freezes and fails to launch.
unset SDL_VIDEODRIVER; mangohud gamemoderun %command%
--no-launcher
The launcher used to work fine for me, but now it's entirely blacked out so I need to skip the launcher.
--launcher-skip
The launcher used to work fine for me, but nowadays it shows up as a completely black screen, so I have to skip it in order to be able to play the game.