Page 1 of 1

How to build Ren'py on Windows

Posted: Mon Oct 14, 2013 1:16 am
by Vortex
I was disapointed by the lack of screenreader support, so I decided to try to figure out how to add it on my own. Unfortunately I got stuck on the very first step, as I can't figure out how to build Renpy or even run it without the executable launcher.

I am on Windows 7 64bit with Cpython 2.7.3 32bit installed. I also have Pygame (installed from prebuilt binary) and renpy-6.15.7-sdk.

The Windows executable provided works, but any other attempts to launch Renpy fail. Running `python renpy.py` intially failed due to the missing _renpy import. When I modified renpy.py to append lib\\windows-i686\\Lib to sys.path, it found the _renpy.pyd all right, but it still fails with the message "ImportError: DLL load failed: %1 is not a valid Win32 application." Based on internet searching, this seems to be a problem with 32vs64 bit, but as far as I can tell, everything is 32bit here, so I'm not sure what the problem is.

At any rate, it's kind of frustrating to get stuck on such a basic task. If I can't even run renpy, I'm not sure what hope I have for modifying it. I haven't been able to find any developer documentation either.

Re: How to build Ren'py on Windows

Posted: Mon Oct 14, 2013 11:41 pm
by PyTom
https://github.com/renpy/renpy

Has a description on how to set things up. (Be sure to check out the master branch, not devel.)