CREATE YOUR AI CUM SLUT ON CANDY.AI TRY FOR FREE
x

Tutorial Ren'Py Enabling Developer & Command Consoles In Ren'py

Cuumpstaki

New Member
Apr 29, 2018
1
0
Figured I'd add this for everyone so they can modify Ren'Py games.

To enable Developer Console:

OPTION 1:
Download the options.rpy file at

it goes into the /renpy game xxx../game/ folder.

OPTION 2:
in "renpy game xxx" folder enter /game folder. create file "options.rpy"
type this text in it --
init -1:
python hide:
config.developer = True
--save and exit.
*Important!!!!! second line needs 4 spaces before python hide:
Third line needs 8 spaces before config.developer = True*

Now to enable Console Commands:

Go to "Renpy game xxx"/ Renpy / Common / 00console.rpy
ctrl+f and enter config.console
Set config.console variable to True
Example..... config.console = True
Save file
in game press shift O (letter)


Thanks for the info. I could activate console just by changing the false to true in the 00console file
 
U

User_10739

Guest
Guest
Thanks for the info. I could activate console just by changing the false to true in the 00console file
If you use the Options.rpy file (config.developer) it enables the the console also. If you just want to change the 00console.rpy file make sure to use title case i.e. False or True
 

DARK_ANGEL90

New Member
Nov 1, 2017
3
0
Ok, let's compact this to make it easier still!
forget the console altogether, download the options.rpy in the op rename it cheats.rpy drop in common folder of game.
ctrl + d opens the developer menu, use variable viewer to see the changeable switches, click return, then click console to make your changes. When enabling developer mode about 90% of the games I have tried it in will allow you to open the console (ctrl + o) on it's own.

If the developer menu does not come up when you hit (ctrl + d) open your cheats.rpy and change init -1: to init +1:, close then re-open game and you should be good to go.
The correct hotkey is Shift + d for developer menu and Shift + o for console
 

ampgh

New Member
Oct 31, 2017
7
5
So I'm supposed to do this to simplify having to write multiple different commands for each girl in Holiday Island
<
girls = [alice, aly, amy, brenda, delizia, desire, eva, faye, heather, ivy, jennifer, jessica, joy, lacey, natasha, renee, yvette]

def maxall():
player.endurance = 100
player.company_favor = 500
for girl in girls:
girl.rsm[0].affection_max = 100
girl.rsm[0].affection = 100
girl.rsm[0].love_max = 100
girl.rsm[0].love = 100
girl.rsm[0].favor = 100
girl.rsm[0].anger = 0
girl.lust = 100
>

Normally I'd have to write each one in the console multiple times throughout gameplay or scroll a lot of lines to call an old command.

I'm just not very familiar with renpy/python and not sure where to put it. Seems I can't get it to work with 00console.rpy in gamename/renpy/common or gamename.py on main directory. Tried putting the girls vector both within and outside the function. Any suggestions would be appreciated

Thanks!
 

cob

Newbie
May 15, 2017
29
4
I've this, when i use the console commands
unicodedecodeerror 'ascii' codec can't decode byte 0xa0 in position 0 ordinal not in range(128)
Can you help me?
thanks
 

Project51

New Member
May 17, 2018
1
0
Figured I'd add this for everyone so they can modify Ren'Py games.

To enable Developer Console:

OPTION 1:
Download the options.rpy file at

it goes into the /renpy game xxx../game/ folder.

OPTION 2:
in "renpy game xxx" folder enter /game folder. create file "options.rpy"
type this text in it --
init -1:
python hide:
config.developer = True
--save and exit.
*Important!!!!! second line needs 4 spaces before python hide:
Third line needs 8 spaces before config.developer = True*

Now to enable Console Commands:

Go to "Renpy game xxx"/ Renpy / Common / 00console.rpy
ctrl+f and enter config.console
Set config.console variable to True
Example..... config.console = True
Save file
in game press shift O (letter)
your freaking awesome dude
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
11,008
16,293
I've this, when i use the console commands
unicodedecodeerror 'ascii' codec can't decode byte 0xa0 in position 0 ordinal not in range(128)
Can you help me?
thanks
You're trying to enter a character which isn't recognized as a letter. It shouldn't happen and it look more like a bug than anything else. Try to ask directly on the .
 
Apr 21, 2018
474
530
Say, is there anyway to view contains inside a store object? I'm talking about variables that goes like:

label[<store object at 0x...>, ...]

And I would like to edit values inside one of the objects.

Edit: nvm, figured it out.
 

dacris69

M, TI
Donor
Nov 20, 2017
2,172
6,234
hi, is there any way to see all console commands for a specific game? and if there is, how to save them in a txt?
 

TeamHentaiX

The Dark Side loves Da Booty + Naughty OoOooo
Uploader
Game Developer
Sep 20, 2017
2,107
15,156
in this game Bad Manners on the dev viewer list - it has cheatmode = false, any idea how to make it true
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
11,008
16,293
hi, is there any way to see all console commands for a specific game? and if there is, how to save them in a txt?
There's two answers. The first one answer your question: The list of all the console commands can be seen by typing "help" in the console.
The second one answer what you tried to ask: The console is just an interface to Python, where you can type and execute any valid Python line. So, no, there isn't a thing like a list of "all console commands" because there's millions of things responding to this criteria.


in this game Bad Manners on the dev viewer list - it has cheatmode = false, any idea how to make it true
By typing :
Code:
cheatmode = True
on the console (warning, respect the letter's case)
 

TeamHentaiX

The Dark Side loves Da Booty + Naughty OoOooo
Uploader
Game Developer
Sep 20, 2017
2,107
15,156
There's two answers. The first one answer your question: The list of all the console commands can be seen by typing "help" in the console.
The second one answer what you tried to ask: The console is just an interface to Python, where you can type and execute any valid Python line. So, no, there isn't a thing like a list of "all console commands" because there's millions of things responding to this criteria.




By typing :
Code:
cheatmode = True
on the console (warning, respect the letter's case)
Thanks I got it :D
 

dacris69

M, TI
Donor
Nov 20, 2017
2,172
6,234
is there a command to delete savegames while at the menu? why games dont give that option?
 

effeksys

New Member
Sep 16, 2017
1
0
Developer Mode not working. Tried with GIBC v0.5 on Mac.
Copy the file options.rpy

"init -1:
python hide:
config.developer = True"​

to gibc.app/Contents/Ressources/Autorun/game.

Change "config.console = True" or "1" in the 00console.rpy file, the following error occurs:

Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00start.rpy", line 300, in script call
    call expression "before_main_menu"
  File "renpy/common/000statements.rpy", line 467, in execute_show_screen
    renpy.show_screen(name, *args, **kwargs)
Exception: Screen debug is not known.


-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "renpy/common/00start.rpy", line 300, in script call
    call expression "before_main_menu"
  File "script.rpyc", line 253, in script
  File "/Volumes/Data/xxx/ Games/Girls in Big City/GiBC.app/Contents/Resources/autorun/renpy/ast.py", line 1801, in execute
    self.call("execute")
  File "/Volumes/Data/xxx/ Games/Girls in Big City/GiBC.app/Contents/Resources/autorun/renpy/ast.py", line 1789, in call
    return renpy.statements.call(method, parsed, *args, **kwargs)
  File "/Volumes/Data/xxx/ Games/Girls in Big City/GiBC.app/Contents/Resources/autorun/renpy/statements.py", line 169, in call
    return method(parsed, *args, **kwargs)
  File "renpy/common/000statements.rpy", line 467, in execute_show_screen
    renpy.show_screen(name, *args, **kwargs)
  File "/Volumes/Data/xxx/ Games/Girls in Big City/GiBC.app/Contents/Resources/autorun/renpy/display/screen.py", line 1038, in show_screen
    raise Exception("Screen %s is not known.\n" % (name[0],))
Exception: Screen debug is not known.


Darwin-15.6.0-x86_64-i386-64bit
Ren'Py 6.99.14.1.3218
GiBC 0.5
Wed Jun 20 15:12:31 2018
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
11,008
16,293
Developer Mode not working. Tried with GIBC v0.5 on Mac. [...]
Exception: Screen debug is not known.
[...]
Developer Mode is working great. It's because it's effectively enabled, that you got this error. The "debug" screen is displayed only in developer mode, but the file where the said screen is defined being intended for devel only, it's not included in the release ; which obviously lead to this particular error.
 

Gustagur

New Member
Jul 5, 2018
4
0
I'm tryn to open the dev menu on a game called Love & Sex Second Base, but everytime I give the command the .bat closes ( For the record, i'm knew at this stuff, first renpy game, and sorry if its something wrong with my english, i'm brazilian XD)