
This is Caption Tool, a simple tool for adding image and sound captions to your Ren'Py game. (For an example of a game using this tool, take a look atA YEAR OF SPRINGS.) It was originally made in Ren'Py 7.2.2.491 and updated to support up to Ren'Py 8.3.4.24120703. (It should work with newer versions of Ren'Py as well, but it has not been tested in them.)
Features:
To use this tool, follow these steps:
You can also play the guide by launching the tool through Ren'Py if you put the folder into your Ren'Py project directory. It gives examples of how image and sound captions can be used.
The code in this tool can be used in any way you like! If you use this tool, I would appreciate it if you credit Caption Tool or npckc (https://npckc.net orhttps://npckc.itch.io) in some way, but it isn't required.
Recommendations:
Caption Tool was made back when Ren'Py was still in 7.2. It still works and is simple to use, but if you want more features for audio captions, I suggest taking a look at these tools other people have made:
~
Want to see more stuff like this? Sign up for my newsletter!
Join my Patreon for secret updates, a monthly digital postcard & early access to my games!
~
Updates:
| Status | Released |
| Category | Tool |
| Platforms | HTML5 |
| Rating | Rated 4.9 out of 5 stars (23 total ratings) |
| Author | npckc |
| Genre | Visual Novel |
| Made with | Ren'Py |
| Tags | accessibility,captions,Ren'Py |
| Code license | MIT License |
| Average session | A few minutes |
| Languages | English |
| Inputs | Keyboard,Mouse,Gamepad (any),Touchscreen |
| Accessibility | Color-blind friendly,Subtitles,Interactive tutorial,One button,Blind friendly |
| Links | Homepage,Patreon,Bluesky |
Click download now to get access to the following files:
Log in with itch.io to leave a comment.
To confirm, you mean adding sound captions and not an image caption, correct? While it's not built in to Caption Tool, you can use sound captions in a button action with regular Ren'Py by using the function as an action in your button instead of using activate_sound.
Example:
imagebutton idle "images/mag.png" action [Show("map_mag"), SetVariable("chaptermap", "mag"), Function(play_sound, magazine)] focus_mask True
Hi, I've come here to bring up an issue regarding the translation function for the captiontool. Whenever you change the language and change it back, the language captions remain the same...
For example, I selected the test language here. The captions change as intended, but when I change it back to English, they stay the same.
I'm on Ren'py 7.4.11.2266

i think that's an issue with renpy not reinitialising language settings upon load. (you'll find the same issue if you play around with languages and try to load a language with font A from a language with font B, where A and B don't support the same characters.)
it shouldn't be an issue if you start the game normally after changing the language.
Seems like it's a better idea to tie it to a persistent value and have separate sets of captions for each language, rather than let Renpy's translation function do the work, the captiontool in my game is very buggy regarding the translation function.
I'm taking a look into this myself and trying to find a way, but I'd like your word on it, thanks :D
textbutton "English" action Language(None), SetField(persistent, "lang", "english")textbutton "日本語" action Language("japanese"), SetField(persistent, "lang", "japanese")