/rpycdec

Tools to decompile renpy .rpyc .rpymc files.

Primary LanguagePythonMIT LicenseMIT

rpycdec

A tools for decompiling and translating Ren'py compiled script files (.rpyc and .rpymc).

Features

  • Decompile for Ren'py compiled script files .rpyc to .rpy files.
  • Automatic scan translations in scripts and translate to target language (default using Google Translate).

Usage

Install with pip:

pip install rpypcdec

Decompile a file or directory:

rpycdec [--force] <path to rpyc file or dir>

Decompile and translate a file or directory:

rpycdec --translate <path to rpyc file or dir>

Library usage

import rpycdec

rpycdec.decompile(filename)

Development

Use pipenv to manage dependencies:

pipenv install --dev

Community