You recently launched your shiny new Ren’Py game and discovered that the console doesn’t open the console with the usual commands?
Well, it’s probably due to a configuration made when the game developer compiled the game.
But don’t worry, there’s a quick fix to get it back.
This article will show you how to enable the Renpy developer console in compiled games by unlocking it even when Shift+O isn’t working.
3 Easy Steps to Unlock the Ren’Py Developer Console
For some reason, you should also be looking to open the console in an already compiled game that has been publicly released.
You could do it for example:
- to cheat in-game because you would like to avoid the grind and speed up characters stats progression, add experience, or even to add more money to your inventory
- to mod a game because you would like to contribute to his community by expanding the universe or by fixing the game itself with unofficial patches (be sure to ask permissions before making any changes)
- to test how your game is accessible by curious people, cheaters, or modders because you don’t want to see your game modified
- to change previous choices without starting a new gameplay
The good news is that you can easily do this in most Renpy games.
It will take you less than 2 minutes to do.
Open The 00console.rpy File
The first step is to open the game room folder of the compiled game.
You should see something like this in your folder.
For our example, we use the excellent Doki Doki Literature Club, one of the highest-rated visual novels made with Ren’Py that you can get for free.
Now that you are in the root folder, open the Renpy folder.
Then open the common folder and look for the 00console.rpy file.
That’s it!
Enable the Renpy Console
Now that you have localized the 00console.rpy, open the file in your favorite text editor and look for the following lines.
# If true, the console is enabled despite config.developer statement being False.
config.console = False
If you read the whole article, you probably already know what we will do.
If you don’t, I highly suggest you take a minute to read the whole article.
Anyway, let’s continue by turning on the developer console by editing these previous lines to new ones.
# If true, the console is enabled despite config.developer statement being False.
config.console = True
Now that you have done your modifications, don’t forget to save your file!
Open the Dev Console in-Game
All you have to do now is launch the compiled Renpy game by double-clicking on the .exe file.
Then press on SHIFT+O in a game to display the Renpy dev console!
That’s all you need to know to enable the dev console in Renpy.
By following all these steps, you should normally be able to use the Renpy developer console commands again to edit or cheat in your favorite Ren’Py games.
And If you need more flexibility and a more complete tool to be able to get more details like the script file name and the line inside where an even trigger, find a potential variable name, and so on, take a look at our article to enable the Ren’Py developer mode.
Remember that some game developers can also break this simple tip with advanced encryption to avoid people modifying or cheating in their games.
If this article helps you a bit, feel free to let me know in a comment, and don’t hesitate to share it with your community!
Thanks for reading!
I can’t open the console with shift 0, is there another key combination?
Now what should we do if this breaks the game and we have to undo the changes to the files?
Hi King,
it’s not supposed to break the game in any way as you’re activating only a single variable here. If you encounter a bug following this modification it probably comes from another file that have been modified. However, as soon as you change a file you should save it and also delete the associated .rpyc file before restarting the game
When I launch the game, it crashes and displays an error stating that the variable “true” is not defined.
You need to take a look again at your inputs; its ‘True’ (with an uppercase), not ‘true’ (which isn’t the same thing)