Files
renpy/scripts
Gouvernathor e9be0244ca back to LF
2023-02-19 15:15:48 +01:00
..
2022-11-01 20:02:53 -04:00
2023-02-19 15:15:48 +01:00
2022-08-12 22:37:41 -04:00
2022-06-27 01:46:49 -04:00
2021-04-04 13:26:54 -04:00
2023-02-13 23:50:51 -05:00

Scripts
=======

alter_translations.py
---------------------

This can be used to replace one string translation with another. It's used
when the string changes from `old` to `new`, but the translatoons are
expected to be correct.

autobuild.sh
------------

This is called from distribute.py, to build Ren'Py before distribution
happens.

check_copyright.py
------------------

Checks the copyright notice is present.

checksums.py
------------

Used by add.py. This computes the checksums of a released Ren'Py, and
signs them using GPG.

fix_translations.py
-------------------

Removes BOMs and TODO comments from translations.

generate_pyi.py
---------------

This must be run using a Python with the Ren'Py and pygame_sdl2 modules
built for it. This generates .pyi files in typings/ and renpy, allowing
tools to analyze Ren'Py.

generate_update_keys.py
-----------------------

Generate update keys that can be used by the Ren'Py updater.

mac/
----

Scripts used to sign mac apps.

pyi/
----

Pyi files used by generate_pyi.py.

relative_imports.py
--------------------

This generates the relative import sections of __init__.py files. These fake
the imports, allowing typing tools to find all of Ren'Py.

release_changes.py
------------------

Shows how files have changed in size between releases.

rt/
---

Contains a template game for testing.

rt.py
-----

A tool that helps with creating and running test games.

sign_update.py
---------------

This signs updates used by the Ren'Py updater.

update_compat_import.py
-----------------------

Updates the ``from renpy.compat import`` line at the start of files that
have one.

update_copyright.py
-------------------

Updates the copyright line when the year changes.

update_piglatin.sh
------------------

Updates the piglatin translation.

utflf.py
--------

Fixes line endings and adds UTF-8 BOM to all rpy files in a directory.