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.
Note that these instructions are very experimental, and should be considered a guide. We welcome improvements, and ask that you ../Contact Us/ to report success or failure in getting Ren'Py to work on platforms that are not officially supported.
The three platforms Ren'Py officially supports are Windows 2000+, Mac OS X 10.4+, and Linux x86. On this page, we will discuss how to compile all of the Ren'Py dependences from source. This will allow one to rebuild Ren'Py on these platforms, or to get Ren'Py running on other platforms.
The first thing you'll want to do is to make sure that libsdl and Python support your platform. If they do not, it will be necessary to modify them to support your platform, something that is out of the scope of this document.
Cross-compilation is also outside the scope of this document.
You'll need a reasonably Unix-alike build system. While most Linux and Unix systems distribute the tools you'll need to build Ren'Py, for Mac and Windows you'll need to download some additional software.
Linux. You'll want to install the equivalent of the Debian/Ubuntu build-essentials packages.
Macintosh. You'll need Xcode.
Windows You'll need the following:
You'll also need to patch mingw/include/_mingw.h to append the lines:
#ifdef SDLSOUND_MINGW_FIX
#undef __CRT_INLINE
#define __CRT_INLINE extern inline
#endif
You should then download renpy-deps (from the ../Download Ren'Py/ page), and uncompress it into a directory that is part of your build environment. Change into that directory.
Linux/Mac OS X. You'll want to run the build_python.sh and build.sh scripts in the renpy-deps directory.
Windows. Add Python to your path, and then run build.sh.
This will take a long time, but will recompile all of Ren'Py's dependencies. When it's done, if it succeeds, it will create the file env.sh. Source that file, with a command like:
. env.sh
Now, you'll want to build the Ren'Py modules. Change into the module
directory of a Ren'Py install tree, and run:
python setup.py install_lib -d $PYTHONPATH
On Mingw32, you'll want to run:
python setup.py build --compiler=mingw32 install_lib -d $PYTHONPATH
This will compile and install the Ren'Py modules.
When you want to run Ren'Py, you'll want to source env.sh
. Then change into a directory with a game init it, and run:
python gamename.py
This will run Ren'Py games using the dependencies you compiled.