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.
-
IrinaLazareva
- Veteran
- Posts: 399
- Joined: Wed Jun 08, 2016 1:49 pm
- Projects: Legacy
- Organization: SunShI
- Location: St.Petersburg, Russia
-
Contact:
#1
Post
by IrinaLazareva » Wed Jul 06, 2016 11:30 am
Hello. How to disconnect a possibility of change of the size of a window in Windows system...
and to block this button?
...as in old versions of Ren'Py ^_^

Last edited by
IrinaLazareva on Wed Jul 06, 2016 3:26 pm, edited 1 time in total.
-
Donmai
- Eileen-Class Veteran
- Posts: 1919
- Joined: Sun Jun 10, 2012 1:45 am
- Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
- Projects: Slumberland
- Location: Brazil
-
Contact:
#2
Post
by Donmai » Wed Jul 06, 2016 2:06 pm
I believe it's still the same method.
Curiously, I've never noticed that it also disables the maximize window button.
-
IrinaLazareva
- Veteran
- Posts: 399
- Joined: Wed Jun 08, 2016 1:49 pm
- Projects: Legacy
- Organization: SunShI
- Location: St.Petersburg, Russia
-
Contact:
#3
Post
by IrinaLazareva » Wed Jul 06, 2016 3:25 pm
Hmm. Strange, it hasn't worked..
However, your adwice has helped me to find the solution
Thank You very much!!
-
Donmai
- Eileen-Class Veteran
- Posts: 1919
- Joined: Sun Jun 10, 2012 1:45 am
- Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
- Projects: Slumberland
- Location: Brazil
-
Contact:
#4
Post
by Donmai » Wed Jul 06, 2016 5:24 pm
Hmm. Maybe not a solution. You are disabling gl, which may not be a good idea. Ren'Py itself still use
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
-
IrinaLazareva
- Veteran
- Posts: 399
- Joined: Wed Jun 08, 2016 1:49 pm
- Projects: Legacy
- Organization: SunShI
- Location: St.Petersburg, Russia
-
Contact:
#5
Post
by IrinaLazareva » Thu Jul 07, 2016 11:24 am
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 :/

and I need to disabled it...
Ok, if I'll disable gl by
config.gl_enable. What bad can happen?
-
Donmai
- Eileen-Class Veteran
- Posts: 1919
- Joined: Sun Jun 10, 2012 1:45 am
- Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
- Projects: Slumberland
- Location: Brazil
-
Contact:
#6
Post
by Donmai » Thu Jul 07, 2016 1:00 pm
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?
-
IrinaLazareva
- Veteran
- Posts: 399
- Joined: Wed Jun 08, 2016 1:49 pm
- Projects: Legacy
- Organization: SunShI
- Location: St.Petersburg, Russia
-
Contact:
#7
Post
by IrinaLazareva » Fri Jul 08, 2016 12:37 am
Donmai wrote:
Maybe some problem with the OpenGL drivers installed in your system?
Quite perhaps...
I will try to check it on other PC.
-
IrinaLazareva
- Veteran
- Posts: 399
- Joined: Wed Jun 08, 2016 1:49 pm
- Projects: Legacy
- Organization: SunShI
- Location: St.Petersburg, Russia
-
Contact:
#8
Post
by IrinaLazareva » Fri Jul 08, 2016 12:34 pm
Well, config.gl_resize works in other PC...
Users browsing this forum: Bing [Bot]