How to enable console in Renpy Games

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.

A screenshot showing a Renpy compiled folder
Your game root folder should look like this

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.

An another screenshot showing a Renpy compiled folder
Inside the renpy subfolder

Then open the common folder and look for the 00console.rpy file.

A screenshot showing the file to edit
Check 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!

A screenshot showing a message in the Renpy console command
Renpy console activated in a game

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!

Similar Posts

Leave a Reply

Your email address will not be published.