This page is out of date

You've reached a page on the Ren'Py wiki. Due to massive spam, the wiki hasn't been updated in over 5 years, and much of the information here is very out of date. We've kept it because some of it is of historic interest, but all the information relevant to modern versions of Ren'Py has been moved elsewhere.

Some places to look are:

Please do not create new links to this page.


Centered Window

The following code should be put in one of your RPY files, preferably options.rpy. If you are not sure where to put it, place it at the very end of your file.

init python hide:
    import os
    os.environ['SDL_VIDEO_CENTERED'] = '1'

This forces the main program window to be centered. Without this code, the placement of the window is left up to the OS.