đź“– Extracting .rpy Scripts from Ren'Py Games

For both PC & Android – Updated for 2025

Why do this?
Some Ren'Py games store their story/dialog in plain .rpy files, while others use .rpyc (encrypted/compiled) or .rpa (archives). To translate, mod, or back up the story, you need to get the .rpy source first!

🖥️ On PC (Windows, Mac, Linux):

  1. Find the game folder: Usually in GameFolder/game/ or wherever you installed/extracted it.
  2. Check for .rpy files. If you see files like script.rpy, dialogue.rpy, etc — that's the source! You can upload them directly to a translator.
  3. If only .rpa or .rpyc exist:
    • To extract .rpa files (archives):
      Use the RPA Extractor Online. Just upload your .rpa file, click extract, then download the results.
      If you see .rpy files after extraction — you're done!
    • If you get .rpyc (compiled/encrypted scripts):
      Use the RPYC Decompiler Online.
      Upload your .rpyc file, click decompile, then download the resulting .rpy script. This works for most standard Ren'Py games.
  4. Once you have a .rpy script file, you can open it with Notepad, Notepad++, VSCode, or upload it to this translator tool.

📱 On Android (Phone or Tablet):

  1. Run your Ren'Py game at least once to make sure its data folder exists.
  2. Use a file manager (like ZArchiver or Solid Explorer) and go to:
    /storage/emulated/0/Android/data/[package.name.of.game]/files/game/
  3. If you see .rpy files: Copy them to a safe location, and upload for translation or editing.
  4. If you see .rpa or .rpyc only:
    • Extract .rpa: Upload your .rpa file to RPA Extractor Online (works from Android browser).
    • Decompile .rpyc: Upload your .rpyc file to RPYC Decompiler Online.
    • If your phone can't upload big files, move them to PC first.
  5. After you get your .rpy script, you can translate, mod, or re-pack it as you wish.

đź”’ Tips, Warnings, and Troubleshooting

Video Tutorials:
• Extract .rpa Ren'Py
• Decompile .rpyc Ren'Py