Ren'Py How do I unlock the renpy Accessibility menu?

a1053105491

New Member
Feb 24, 2018
4
0
I usually use the accessibility menu with the “a ”key to change the text size, some games disable accessibility menu, how to unlock? 360截图20250213134843.png
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
11,797
18,261
I usually use the accessibility menu with the “a ”key to change the text size, some games disable accessibility menu, how to unlock?
Are they disabling it, or do they don't have it?

It have been included to Ren'Py with the version 7.2.2, and between the games finished before that version appear, and those who are still in development but use a version prior than this one, there's around half Ren'Py games who just don't have this menu, nor its features.
 

a1053105491

New Member
Feb 24, 2018
4
0
If the game uses the default screens, you can add an option to the accessibility menu in the quick menu/navigation by creating a rpy file inside the "game" folder and including the following content:
Python:
init offset = 999
screen quick_menu():
    zorder 100
    if quick_menu:
        hbox:
            style_prefix "quick"
            xalign 0.5
            yalign 1.0
            textbutton _("Back") action Rollback()
            textbutton _("History") action ShowMenu('history')
            textbutton _("Skip") action Skip() alternate Skip(fast=True, confirm=True)
            textbutton _("Auto") action Preference("auto-forward", "toggle")
            textbutton _("Save") action ShowMenu('save')
            textbutton _("Q.Save") action QuickSave()
            textbutton _("Q.Load") action QuickLoad()
            textbutton _("Prefs") action ShowMenu('preferences')
            textbutton _("Accessibility") action Show("_accessibility")
screen navigation():
    vbox:
        style_prefix "navigation"
        xpos gui.navigation_xpos
        yalign 0.5
        spacing gui.navigation_spacing
        if main_menu:
            textbutton _("Start") action Start()
        else:
            textbutton _("History") action ShowMenu("history")
            textbutton _("Save") action ShowMenu("save")
        textbutton _("Load") action ShowMenu("load")
        textbutton _("Preferences") action ShowMenu("preferences")
        textbutton _("Accessibility") action Show("_accessibility")
        if _in_replay:
            textbutton _("End Replay") action EndReplay(confirm=True)
        elif not main_menu:
            textbutton _("Main Menu") action MainMenu()
        textbutton _("About") action ShowMenu("about")
        if renpy.variant("pc") or (renpy.variant("web") and not renpy.variant("mobile")):
            textbutton _("Help") action ShowMenu("help")
        if renpy.variant("pc"):
            textbutton _("Quit") action Quit(confirm=not main_menu)
That's very helpful. Thank you very much
 

a1053105491

New Member
Feb 24, 2018
4
0
Are they disabling it, or do they don't have it?

It have been included to Ren'Py with the version 7.2.2, and between the games finished before that version appear, and those who are still in development but use a version prior than this one, there's around half Ren'Py games who just don't have this menu, nor its features.
Thank you. The problem has been solved