{"id":19482333,"url":"https://github.com/cnfatal/rpycdec","last_synced_at":"2025-10-05T17:34:30.176Z","repository":{"id":189496457,"uuid":"680804254","full_name":"cnfatal/rpycdec","owner":"cnfatal","description":"Tools to decompile renpy .rpyc .rpymc files.","archived":false,"fork":false,"pushed_at":"2025-03-28T04:28:34.000Z","size":131,"stargazers_count":19,"open_issues_count":4,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T00:01:29.193Z","etag":null,"topics":["renpy","rpyc"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/rpycdec","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cnfatal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-20T13:10:58.000Z","updated_at":"2025-03-28T04:28:37.000Z","dependencies_parsed_at":"2024-04-22T03:36:53.041Z","dependency_job_id":"2527feae-3a5d-4269-9c94-12bea392d787","html_url":"https://github.com/cnfatal/rpycdec","commit_stats":null,"previous_names":["cnfatal/rpycdec"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnfatal%2Frpycdec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnfatal%2Frpycdec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnfatal%2Frpycdec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnfatal%2Frpycdec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cnfatal","download_url":"https://codeload.github.com/cnfatal/rpycdec/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250844493,"owners_count":21496590,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["renpy","rpyc"],"created_at":"2024-11-10T20:09:45.956Z","updated_at":"2025-10-05T17:34:30.165Z","avatar_url":"https://github.com/cnfatal.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rpycdec\n\nA tool for decompiling Ren'py compiled script files (.rpyc and .rpymc).\n\n## Features\n\n- Decompile .rpyc and .rpymc files to readable Python code\n- Extract RPA archives\n- Parse translations from .rpyc and .rpymc files to `tl/{language}/` directories\n- Support for multiple Ren'py versions (7.x, 8.x)\n\n## Installation\n\nInstall with pip:\n\n```sh\npip install rpycdec\n```\n\nOr install from source:\n\n```sh\ngit clone https://github.com/cnfatal/rpycdec.git\ncd rpycdec\npip install .\n```\n\n## Usage\n\n### Command Line Interface\n\nDecompile a single file:\n\n```sh\nrpycdec decompile script.rpyc\n```\n\nDecompile all files in a directory:\n\n```sh\nrpycdec decompile /path/to/game/\n```\n\nExtract RPA archive:\n\n```sh\nrpycdec unrpa archive.rpa\n```\n\nExtract translations:\n\n```sh\nrpycdec extract_translations /path/to/game/ --language chinese\n```\n\n### Library Usage\n\n```python\nfrom rpycdec import decompile, extract_rpa\n\n# decompile a file\nwith open('script.rpyc', 'rb') as input_file, open('script.rpy', 'wb') as output_file:\n    decompile(input_file, output_file)\n\n# Extract RPA archive\nwith open('archive.rpa', 'rb') as f:\n    extract_rpa(f, './extracted/')\n```\n\n## Troubleshooting\n\n- **Q: It always raise pickle `import ** \\nModuleNotFoundError: No module named '**\\*'` error.**\n\n  A: It's because the our fake packages(\"renpy\",\"store\") is not contains the object you want to decompile. Please open an issue and tell us the renpy version and the rpyc file you want to decompile. Join our telegram group to get help also be better.\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n## Community \u0026 Support\n\n- [GitHub Issues](https://github.com/cnfatal/rpycdec/issues) - Bug reports and feature requests\n- [Telegram Group](https://t.me/rpycdec) - Community discussion and help\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcnfatal%2Frpycdec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcnfatal%2Frpycdec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcnfatal%2Frpycdec/lists"}