Page 1 of 1

about changing of the size of a window in Windows [Solved]

Posted: Wed Jul 06, 2016 11:30 am
by IrinaLazareva
Hello. How to disconnect a possibility of change of the size of a window in Windows system...

Image

and to block this button?

Image

...as in old versions of Ren'Py ^_^

Image

Re: about changing of the size of a window in Windows

Posted: Wed Jul 06, 2016 2:06 pm
by Donmai
I believe it's still the same method.

Code: Select all

config.gl_resize = False
Curiously, I've never noticed that it also disables the maximize window button.

Re: about changing of the size of a window in Windows

Posted: Wed Jul 06, 2016 3:25 pm
by IrinaLazareva
Hmm. Strange, it hasn't worked..
However, your adwice has helped me to find the solution

Code: Select all

config.gl_enable = False
Thank You very much!!

Re: about changing of the size of a window in Windows [Solve

Posted: Wed Jul 06, 2016 5:24 pm
by Donmai
Hmm. Maybe not a solution. You are disabling gl, which may not be a good idea. Ren'Py itself still use

Code: Select all

    config.gl_resize = False
You can check this by going to Preferences/Actions/Open launcher project. This will open the launcher as a project in the launcher. Go to options.rpy and check what's on line 186.
Try it as it's being used there:

Code: Select all

init -1 python hide:
    config.gl_resize = False

Re: about changing of the size of a window in Windows [Solve

Posted: Thu Jul 07, 2016 11:24 am
by IrinaLazareva
very strange...
I tried to add this line exactly to (init -1 python hide)'s block
It doesn't help.

And window of the launcher can be changed :/
Image
and I need to disabled it...

Ok, if I'll disable gl by config.gl_enable. What bad can happen?

Re: about changing of the size of a window in Windows [Solve

Posted: Thu Jul 07, 2016 1:00 pm
by Donmai
Not certain, but by disabling OpenGL aceleration, your game may lose performance or face some problems in other machines. Some Ren'Py effects, like the additive blending mode, only work well with the OpenGL renderer. I'm really not sure though, as I'm not the technical kind.
It's strange that config.gl_resize isn't working in your machine. I can't resize the launcher window in my system, in fact I never could.
Maybe some problem with the OpenGL drivers installed in your system?

Re: about changing of the size of a window in Windows [Solve

Posted: Fri Jul 08, 2016 12:37 am
by IrinaLazareva
Donmai wrote: Maybe some problem with the OpenGL drivers installed in your system?
Quite perhaps...
I will try to check it on other PC.

Re: about changing of the size of a window in Windows [Solve

Posted: Fri Jul 08, 2016 12:34 pm
by IrinaLazareva
Well, config.gl_resize works in other PC...