Page 1 of 1

Renpy 6.99 update- Unknown Pixel Format [Solved]

Posted: Sat Mar 28, 2015 8:21 am
by WispoWill
I have three computers: Win XP x86, Win Vista x64, Win 7 x64. All three machines kicked up:

Code: Select all

WindowsError: [Error 267] The directory name is invalid: u'E:\\Develop\\Renpy\\renpy.py\\*.*'
after attempting to restart with the updater.

The Vista and Win7 machines restarted fine when launched manually, but the Win XP machine throws the following error every time:

Code: Select all

Full traceback:
  File "D:\Develop\Renpy\renpy-SDK\renpy\bootstrap.py", line 287, in bootstrap
    renpy.main.main()
  File "D:\Develop\Renpy\renpy-SDK\renpy\main.py", line 361, in main
    renpy.display.core.Interface()
  File "D:\Develop\Renpy\renpy-SDK\renpy\display\core.py", line 1404, in __init__
    self.set_mode()
  File "D:\Develop\Renpy\renpy-SDK\renpy\display\core.py", line 1651, in set_mode
    if draw.set_mode(virtual_size, physical_size, fullscreen):
  File "D:\Develop\Renpy\renpy-SDK\renpy\display\swdraw.py", line 772, in set_mode
    renpy.display.pgrender.set_rgba_masks()
  File "D:\Develop\Renpy\renpy-SDK\renpy\display\pgrender.py", line 48, in set_rgba_masks
    s = pygame.Surface((10, 10), 0, 32)
  File "pygame_sdl2/surface.pyx", line 162, in pygame_sdl2.surface.Surface.__init__ (gen\pygame_sdl2.surface.c:2290)
error: Unknown pixel format

Windows-XP-5.1.2600-SP3
Ren'Py 6.99.0.303
Ren'Py Launcher 6.99.0.303
This machine is a laptop with an older Intel video chipset and updating drivers or replacing the video card is non-optional.

Re: Renpy 6.99 update- Directory error, Unknown Pixel Format

Posted: Sat Mar 28, 2015 9:25 am
by PyTom
Right click on your desktop, properties, settings, and set color quality to 32 bit.

Re: Renpy 6.99 update- Directory error, Unknown Pixel Format

Posted: Sat Mar 28, 2015 1:11 pm
by WispoWill
Both the laptop and Remote Desktop are set to 32-bit, but when I checked it during an RDP session it appears that something is forcing it to 16-bit, and won't give me any options for changing this. I guess this means I can't run Renpy under RDP for this system. It probably isn't much of a loss.

I typically run RDP to be able to update all my computers at once, and since I had never had problems with this before it wouldn't have occured to me to check this sort of thing.

Re: Renpy 6.99 update- Unknown Pixel Format [Solved]

Posted: Sat Mar 28, 2015 10:34 pm
by PyTom
It'll be fixed in 6.99.1 anyway. But that confirms I got the right problem.