Retina Macbook Pro Support (HiDPI)

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
parallaxdreams
Newbie
Posts: 8
Joined: Sun Jan 27, 2013 11:49 pm
Contact:

Retina Macbook Pro Support (HiDPI)

#1 Post by parallaxdreams »

I'm assuming that Ren'Py does not currently have native support for the high-res screens in the newer "Retina"-equipped MacBook Pros. I get pixellation on all screen elements in both fullscreen and windowed modes. Changing the resolution in the options.rpy file seems to have no effect. Is such support planned?

Note: I have a 13-inch Retina MacBook Pro, using the "Best for Retina display" display setting.

SundownKid
Lemma-Class Veteran
Posts: 2299
Joined: Mon Feb 06, 2012 9:50 pm
Completed: Icebound, Selenon Rising Ep. 1-2
Projects: Selenon Rising Ep. 3-4
Organization: Fastermind Games
Deviantart: sundownkid
Location: NYC
Contact:

Re: Retina Macbook Pro Support (HiDPI)

#2 Post by SundownKid »

I'm pretty sure that you will have to make it a very high native resolution to have it look normal in Retina mode, unless I'm mistaken. I think it's certainly possible, but it wouldn't be worth it until everyone started using Retina screens. There's no way you can convert it to Retina besides simply making all the screen elements larger.

parallaxdreams
Newbie
Posts: 8
Joined: Sun Jan 27, 2013 11:49 pm
Contact:

Re: Retina Macbook Pro Support (HiDPI)

#3 Post by parallaxdreams »

Well, it probably would require the graphical elements to be twice as large for them to be sharp, but maybe just the text could be rendered at the higher resolution, while scaling up the other graphics? I'm of course just throwing out ideas without knowing how difficult they might be to implement.

User avatar
PyTom
Ren'Py Creator
Posts: 16093
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: Retina Macbook Pro Support (HiDPI)

#4 Post by PyTom »

I'd like to support this, but right now, I don't see a clean way to do so. Once again, I'm in a holding pattern as I wait for library support to mature.
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

jjsonick
Newbie
Posts: 16
Joined: Mon Jan 01, 2007 12:12 pm
Contact:

Re: Retina Macbook Pro Support (HiDPI)

#5 Post by jjsonick »

parallaxdreams, I don't have a retina display to try this on, but did you try checking "Open at Low Resolution" in the app options (the OS X app options instead of the Renpy options)? It's mentioned in this Katawa Shoujo forum thread as solving a layout display problem with Renpy on retina screens - maybe it would help with the extreme pixellation too?

rocket
Veteran
Posts: 373
Joined: Tue Jul 10, 2007 2:54 am
Projects: Starlight Ep0, Ep1
Location: San Fransisco
Contact:

Re: Retina Macbook Pro Support (HiDPI)

#6 Post by rocket »

Hey PyTom, any update on the possibility of text rendering in Ren'Py being sharp on Retina displays?

User avatar
PyTom
Ren'Py Creator
Posts: 16093
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: Retina Macbook Pro Support (HiDPI)

#7 Post by PyTom »

It's planned for 7.1.
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

rocket
Veteran
Posts: 373
Joined: Tue Jul 10, 2007 2:54 am
Projects: Starlight Ep0, Ep1
Location: San Fransisco
Contact:

Re: Retina Macbook Pro Support (HiDPI)

#8 Post by rocket »

Woo hoo!

Thanks!

User avatar
PyTom
Ren'Py Creator
Posts: 16093
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: Retina Macbook Pro Support (HiDPI)

#9 Post by PyTom »

Basically, 6.99 gives us the SDL2 libraries needed. Right now, I have a GL rewrite planned for 7.1, but I might move this forward to 7.0 depending on a few things. (7.0 is planned to be mostly interface work, so something interesting like this might be what's needed to keep me sane-ish.)
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: No registered users