How to enable Developer Console For Ren’Py games
This is a short guide instructing the method to enable developer console. It allows you to apply cheat codes, ipatch…
This is a short guide instructing the method to enable developer console. It allows you to apply cheat codes, ipatch and other stuffs.
First of all, run your Ren’Py game and press Shift+O (It is an O, not zero).
Not working? Alright, that means developer console is disabled for that game.
Enabling the Developer Console of Ren’py Games:
Step 1: Download This File
Or, Create a text document called options.rpy and paste below code there and Save.
init -1:
python hide:
config.developer = True
Second line needs 4 spaces before python hide:
Third line needs 8 spaces before config.developer = True*
If you dont know how to create a custom file, head over here: How to create a text document with custom extension in PC.
Step 2: Now you have to place the code in a folder called game inside your Ren’py game. The path should look like this, yourgamename/game/options.rpy
(if options.rpy already exists, simply rename your options.rpy to whatever name you prefer.)
Enabling the Console Commands on Ren’py Games:
Go to gamename/Renpy/Common/00console.rpy
Press Ctrl+F and enter config.console (Finding this term)
Set it’s variable to True
so it should look like,
config.console = True
Save the file.
Now the Shift+O should work.
I’ve done all the steps and the console opens, but money = 9999 or any number does not seem to be working. Why is that?
It depends on the game.
Please note that options.rpy should show as follows
init -1:
python hide:
config.developer = True
I see. The issue is the CMS here not identifying spaces.
Exchange “-” for a space.
init -1:
—-python hide:
——–config.developer = True
Thanks, this was really helpful and easy to understand.
The alternated config.console is not saving. It says you do not have the permission to open this file…What do I do??
this just broke the game, wont lauch now and comes up with a screen saying script cannot be parsed
Because you are not Enabling the Developer Console