Create and Fuck your AI Slut -70% OFF
x

Request Tool Ren'Py Ren'py keybind enabler and remapper

MajinGuu

New Member
Jan 15, 2025
13
9
3
A bunch of games now are coming out with certain functions like "tab to skip to next choice" or the auto forward keybind being disable by default.

Just wondering if anyone has made a universal script to enable/remap default keybind functions.
 

Aziien

2D is all I need!
Modder
Donor
Apr 9, 2017
310
909
328
Its actuly really simple to make one yourself ...

Taking a look at the RenPy you can see all the default keymaps there are.

Using that you can create a file in your renpy games, game directory. Naming the file with a prefix like 0_ or z_ will make it load before or after all other files named alphabetically and giving it the extension rpy something like '0_rebinds.rpy' should work edit the file with any text editor and modify the keybinds like below

Take notice to not use tab characters, but spaces when indenting. and include init 999 python: as the first thing for the game to be able to pick it up

Code:
init 999 python:
    # Rollback
    config.keymap['rollback'].append('r')

    # Continue
    config.keymap['dismiss'].append('e')

    # Hide Window
    config.keymap['hide_windows'].append('w')
Breakdown:
Replace WHAT_TO_DO and KEY_HERE with whatever function you want it to do, you can also remove keybinds by using the bottom example.

Code:
    # Add keybind
    config.keymap['WHAT_TO_DO'].append('KEY_HERE')

    # Remove keybind
    config.keymap['WHAT_TO_DO'].remove('KEY_HERE')

I might not be a 100% accurate in everything, but this works in 99% of all cases for me.
 
  • Like
Reactions: MajinGuu