Renpy 6.99 update- Unknown Pixel Format [Solved]

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
WispoWill
Newbie
Posts: 13
Joined: Mon Mar 15, 2010 4:41 pm
Contact:

Renpy 6.99 update- Unknown Pixel Format [Solved]

#1 Post 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.
Last edited by WispoWill on Sat Mar 28, 2015 1:16 pm, edited 1 time in total.

User avatar
PyTom
Ren'Py Creator
Posts: 16088
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: Renpy 6.99 update- Directory error, Unknown Pixel Format

#2 Post by PyTom »

Right click on your desktop, properties, settings, and set color quality to 32 bit.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

WispoWill
Newbie
Posts: 13
Joined: Mon Mar 15, 2010 4:41 pm
Contact:

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

#3 Post 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.

User avatar
PyTom
Ren'Py Creator
Posts: 16088
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: Renpy 6.99 update- Unknown Pixel Format [Solved]

#4 Post by PyTom »

It'll be fixed in 6.99.1 anyway. But that confirms I got the right problem.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot]