Ren'Py How can I see the code of a Ren'py game?

SpoiledPrince

Member
Apr 23, 2019
266
835
Hi there. I have been developing a free game for a while, but when it comes to the programming part, simplistic tutorials just don't cut it. That is why I'm asking you how to see the code of other games, in order to try and reverse-engineer them so I can learn how to code and script from them.
Can any of you charitable souls help me?
 

sillyrobot

Engaged Member
Apr 22, 2019
2,164
1,889
There are a few ways.

Some games ship the source code with the game (Fallen Angels does this).

There are a couple of tools to recreate the source: search on the site for Unren-dev and/or un.rpy. Both tools will convert the machine-readable files into source.
 
  • Like
Reactions: SpoiledPrince

79flavors

Well-Known Member
Respected User
Jun 14, 2018
1,611
2,258
UnRen (current version 0.91).

Both to unpack .rpa archives and convert .rpyc files back into .rpy, where .rpy files have been deliberately excluded by the developer.
 
  • Like
Reactions: SpoiledPrince