Renpy 7.4.5 refuses to make a new project at 1920x1080 resolution.

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
henvu50
Veteran
Posts: 337
Joined: Wed Aug 22, 2018 1:22 am
Contact:

Renpy 7.4.5 refuses to make a new project at 1920x1080 resolution.

#1 Post by henvu50 »

Anyone know what could be causing this? Renpy 7.4.5 refuses to make a new project at 1920x1080 resolution.

During resolution selection when craeting a new project, I press the down arrow on my keyboard, until 1920x1080 resolution is highlighted, then I press enter. It goes to the next screen, then after I pick color it generates, but it's ALWAYS 1280x720, god damn it.

If I left click 1920x1080 nothing happens.
How do I pick 1920x1080 at this screen?
Image

henvu50
Veteran
Posts: 337
Joined: Wed Aug 22, 2018 1:22 am
Contact:

Re: Renpy 7.4.5 refuses to make a new project at 1920x1080 resolution.

#2 Post by henvu50 »

Here's how to fix it but I need to find out why I couldn't even select 1920x1080.

locaton: renpy-7.4.5-sdk\launcher\game
Edit this file: gui7.rpy

go to this section of the code and make sure it looks like this. I just changed the resolution in two places, from 1280x720 to 1920x1080 as the default.
RESTART THE LAUNCHER after you make the following changes:

Code: Select all

................................

    $ p = gui7.GuiParameters(
        "-",
        "-",
        1920,
        1080,
        accent,
        boring,
        light,
        None,
        False,
        False,
        False,
        "-"
    )

.............................

            [
                ((1066, 600), "1066x600"),
                ((1280, 720), "1280x720"),
                ((1920, 1080), "1920x1080"),
                ("custom", _("Custom. The GUI is optimized for a 16:9 aspect ratio.")),
            ],
            (1920, 1080),
            cancel=Jump("front_page"),
You can also set a custom resolution from the launcher when making a new project, that actually worked when I tried it, but I don't know if that does something entirely different.

I don't even know if changing the way I just did is good or bad. I just want to make the god damn game already, lol.

I hope someone can help me find out why I couldn't pick 1920x1080 in the first place?

User avatar
Ocelot
Lemma-Class Veteran
Posts: 2402
Joined: Tue Aug 23, 2016 10:35 am
Github: MiiNiPaa
Discord: MiiNiPaa#4384
Contact:

Re: Renpy 7.4.5 refuses to make a new project at 1920x1080 resolution.

#3 Post by Ocelot »

Very curious. I was able replicate that pressing Enter creates project with currently bolded resolution and not highlighted one, but clicking worked properly for me.
< < insert Rick Cook quote here > >

henvu50
Veteran
Posts: 337
Joined: Wed Aug 22, 2018 1:22 am
Contact:

Re: Renpy 7.4.5 refuses to make a new project at 1920x1080 resolution.

#4 Post by henvu50 »

Ocelot wrote: Tue Jun 08, 2021 3:29 am Very curious. I was able replicate that pressing Enter creates project with currently bolded resolution and not highlighted one, but clicking worked properly for me.
Yea, this is so odd. When I left click the 1920x1080 resolution option, it won't move on to the next screen. I can spam click 1920x1080, and nothing happens.

I have my display settings set to 125% size, that sometimes causes problems, but I set it to 100%, and the problem still existed.

I'm baffled by this. I'm on a fairly fresh install of windows 100 64 bit.

User avatar
zmook
Veteran
Posts: 421
Joined: Wed Aug 26, 2020 6:44 pm
Contact:

Re: Renpy 7.4.5 refuses to make a new project at 1920x1080 resolution.

#5 Post by zmook »

I think the only thing that choice actually does is set this code at the top of gui.rpy:

Code: Select all

init python:
    gui.init(1920, 1080)
So you can probably just pick whatever then edit gui.rpy yourself. (The only full-screen artwork I can think of in the default theme is the plain blue-grey background for the main menu, and if that isn't already scaled there's surely no harm in doing so, and probably you're going to replace it anyway, right?)
colin r
➔ if you're an artist and need a bit of help coding your game, feel free to send me a PM

User avatar
Ocelot
Lemma-Class Veteran
Posts: 2402
Joined: Tue Aug 23, 2016 10:35 am
Github: MiiNiPaa
Discord: MiiNiPaa#4384
Contact:

Re: Renpy 7.4.5 refuses to make a new project at 1920x1080 resolution.

#6 Post by Ocelot »

zmook wrote: Wed Jun 09, 2021 4:31 pm I think the only thing that choice actually does is set this code at the top of gui.rpy:

Code: Select all

init python:
    gui.init(1920, 1080)
So you can probably just pick whatever then edit gui.rpy yourself. (The only full-screen artwork I can think of in the default theme is the plain blue-grey background for the main menu, and if that isn't already scaled there's surely no harm in doing so, and probably you're going to replace it anyway, right?)
There are about 50 images generated differently depending on selected resolution and over 100 lines changed. It is musch easier to just generate new project in desired resolution and simply copy over images and gui.rpy and screens.rpy
< < insert Rick Cook quote here > >

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3794
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: Renpy 7.4.5 refuses to make a new project at 1920x1080 resolution.

#7 Post by Imperf3kt »

zmook wrote: Wed Jun 09, 2021 4:31 pm I think the only thing that choice actually does is set this code at the top of gui.rpy:

Code: Select all

init python:
    gui.init(1920, 1080)
It also changes most of the values found in gui.rpy


For a simple fix, you can always just copy an old gui.rpy file and GUI folder (for the generated images) that was made in 1920x1080 previously
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

User avatar
zmook
Veteran
Posts: 421
Joined: Wed Aug 26, 2020 6:44 pm
Contact:

Re: Renpy 7.4.5 refuses to make a new project at 1920x1080 resolution.

#8 Post by zmook »

Ah, well, okay then.
colin r
➔ if you're an artist and need a bit of help coding your game, feel free to send me a PM

Post Reply

Who is online

Users browsing this forum: No registered users