Ren'Py Quick tweak steps I take before playing any renpy game:

Pr0GamerJohnny

Conversation Conqueror
Sep 7, 2022
6,738
10,091
I realize this could be placed in tutorial section - but those are mostly downloadable tool releases - this is just a quick tutorial for those unaware to make your lives much easier in renpy games, shown with The Deluca Family as an example:



Open the game folder, then renpy\common, and locate the 00console.rpy file in any text editor. Search for the config.console line and change its False value to True.

tut1.jpg
Now, you can access the console in-game in case of hanging scenes or to check variables.


Secondly, only a few games bother binding a key to quicksave, and clicking is for non-lazy people.

Again, open the base game folder, then the folder \game, so in this case \The_DeLuca_Family-0.08.0.3-pc\game and locate the screens.rpy file. In games where only the RPA archives are included, you'll need a program like rpaExtract.exe. Open the screens.rpy file and locate the area under "screen quick_menu(): " (Do note that there are multiple quick_menu lines, the second is for touch controls, you want the first on pc)

Insert the lines [key "thekey" action QuickSave()] and [key "thekey" action QuickLoad()]. Normal keys dont need formating, so if you want "g" to be quicksave, the line should read [key "g" action QuickSave()]. Keys like function keys and insert require the "K_F1" syntax, etc.

I use F5 and F6 for quicksave and quickload, such is pictured below:
Make sure they have the same indentation.

tut2.jpg

And that's it.

Do be warned that rarely, games use keys like F5 internally to reload the gui, verify this isn't the case prior, but you can always change the values back or save a backup screensOLD.rpy

I don't play any renpy games now without doing these two steps, as remembering to click quicksave (if the dev even put it on the quickmenu is so much more cumbersome than tapping F5. I hope this helps at least a few people.
 
  • Like
Reactions: MontrealBoy420

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
10,971
16,229
Open the game folder, then renpy\common, and locate the 00console.rpy file in any text editor.
I don't want to be harsh, but there's already three threads covering this. By the way, using dirtyconsole.rpy is so much easier.
Create a file, name it "dirtyconsole.rpy", and put this inside:
Python:
init 100 python:
    config.console = True
then copy the file in the "path to the Ren'Py game/game" directory.


Secondly, only a few games bother binding a key to quicksave, and clicking is for non-lazy people.
Once again, why editing a file ? Especially since this time it's a game file, therefore it can need that you unrpyc it or, worse, that you extract if from the rpa archive.
Create a file, name it "dirtyquicksave.rpy", and put this inside:
Python:
init 100 python:
    config.overlay_screens.append( "dirtyQuickSave" )
    
screen dirtyQuickSave():
    key "K_F5" action QuickSave()
    key "K_F6" action QuickLoad()
then copy the file in the "path to the Ren'Py game/game" directory.
 

Pr0GamerJohnny

Conversation Conqueror
Sep 7, 2022
6,738
10,091
Oh I appreciate the tips! I didn't know those and I will use them in the future.

Why editing a file? Because someone lacks the neccesary python knowledge to make other statements in a different file, duh! :ROFLMAO:
 

masseuse

Newbie
Oct 27, 2022
43
10
Create a file, name it "dirtyconsole.rpy", and put this inside:
Python:
init 100 python:
    config.console = True
then copy the file in the "path to the Ren'Py game/game" directory.
Thank you for showing this easily useable mod. It have worked for me with a couple of games so far. Am I right, that you will typically put the file, "dirtyconsole.rpy" in this folder: renpy/common ?

Do some development console command exists to provide information about the used names of the game parameters?
 

Pr0GamerJohnny

Conversation Conqueror
Sep 7, 2022
6,738
10,091
Thank you for showing this easily useable mod. It have worked for me with a couple of games so far. Am I right, that you will typically put the file, "dirtyconsole.rpy" in this folder: renpy/common ?
nah, the custom rpy goes in the game/ folder. Renpy loads all rpys in the game folder at runtime and compiles them to rpycs to be read by the engine.