My pc says its a trojan lol
A downloadable RPA Extractor for Windows
Tool to extract images from RenPy games' .rpa files. Use the three D's to use:
2. Drag .rpa file on rpaExtract.exe
To do this on macOS (aka Mac OS X), watch this video.
To do this on Linux, the macOS video and or this comment might help.
Additional video guides:
|Mod ren’py games (art)|
|Decompile rpyc files (for modding code)
Useful for people who made a game and uploaded it and then their hard drive with the source files exploded.
Using this tool on other people's games might be considered 'reverse-engineering'. If you have doubts about the legality of doing so, consider reading the terms (EULA) of the game you are trying to reverse-engineer and consider reading this stackexchange thread.
Using this tool on other people's games could also simply be considered cheating, which no one in the world will care about (I am not a lawyer).
Click download now to get access to the following files:
Log in with itch.io to leave a comment.
Amazing work, mate!
Please update this wonderfully easy to use tool soon. This was a joy to use when it was working. Thank you ❤😟
doesn't work with renpy 8.0+. dev said they dont have the time right now to update it but they would love to so either a wonderfull dev can check their git repo and update it themself or we wait :(
I keep getting "Unsupported pickle protocol 5"
So like...................when i tried extracting stuff i kinda got a warning saying i cant interact with it since uhhh it may be ransomware or a virus, but last time i had it, it was fine?
So this doesn't work sometimes. Trying to extract videos seems to very reliably crash it. Will this get updated?
it doesn't work on some games
this need an update man
it doesn't work anymore
is this for .rpyc files to,if not wat i need to use or how to get patch into game?
I have 0 idea how to use this
use the githubs readme. basically you will be install python 3, run pip on unrpa then run rpa command in command line
This needs an update, I'm coming across more and more games where I drag the images.rpa over the rpa extractor and it does nothing.
is there anyway to "re-package" the files back to how they were? I have customized some sprites and don't know how to put them back into the actual game
Does not work on some games
It works very well for me, the only down side is the fact that my antivirus doesn't really like it.
Doesn't work for RenPy 8/Python 3. Any plans to update this or is this abandoned?
It seems to use 'unrpa' or similar code from github which should get updated sooner or later. Now it depends on the app creator here to update his code accordingly.
What does this mean?
Traceback (most recent call last):
File "rpaextract.py", line 359, in <module>
File "rpaextract.py", line 64, in __init__
File "rpaextract.py", line 223, in load
File "rpaextract.py", line 104, in extract_indexes
File "rpaextract.py", line 38, in _unpickle
File "pickle.py", line 1388, in loads
File "pickle.py", line 864, in load
File "pickle.py", line 892, in load_proto
ValueError: unsupported pickle protocol: 5
 Failed to execute script rpaextract
Seems the latest renpy games does the " pickle protocol" error with all extractors.
Is there a version for android phones and is it possible after extracting to undo the extract? (basically zipping it again to what it was originally before extracting.) Because there are a few games that I just want to edit the text files (what a character says) to fix spelling errors and grammar mistakes that will not be corrected because the project was dropped.
there's a chance to have a linux version?
I encountered an Error that I couldnt extract the other asset. Can you help me?
What about for mobile? Is it possible?
Does not work when the file path contains Cyrillic characters
Hmm, when i use it on one file, it extracts everything, but the files come out corrupted. any fixes?
По поводу детекта Virustotal, все крупные и доверенные ничего не нашли, остальные возбудились кривые и малознакомые. В Virscan только один детект https://r.virscan.org/language/en/report/545f6ce71b9d31f9262fc2022bbc1514
but i'm still downloading it
itch.io supports viruses?
2 years ago it was only 10. then 9. see this thread: https://itch.io/post/1059029
The method I used to create this exe is known for causing false positives: https://stackoverflow.com/questions/43777106/program-made-with-pyinstaller-now-s... I guess a lot of virus script kiddies also use it and antivirus isn't smart enough to tell the difference between the actual code being run.
So BitDefender, McAffee, Ad-Aware flag rpaex.exe :| damn. I don't know if I would run this if someone else was to give this exe to me now. At least Kaspersky, Microsoft, Malwarebytes, Avast and Symantec don't worry.
Worked super well! also commenting to remind myself to send a few bucks when i get paid lol
Do you know how to change game screen resolution with existing scripts to improve performance?
I have tried several basic ways to improve performance, such as setting realtime CPU priority, changing graphics preference to high performance (NVIDIA). However, I think the results are not much different.
In Ren'Py games?
Yup. It's Ren'Py games.
I mean like changing an existing Python script for game resolution.
You can download UnRen.bat. Its a free tool that will unarchive all renpy files, images, and everything in a renpy game so you can alter any settings. Youll just have to find which file they put those commands in.It can vary. Use Notepad++ to quickly edit the RPY files and resave them.
you have- you have read my mind
i wanna get the ddlc sprites im- even the thumbnail is ddlc
I tried it on the archive.rpa of that game: https://hyao.itch.io/lustful-desires
I used the console because just dragging wouldn't work and I got:
Traceback (most recent call last): File "rpaextract.py", line 359, in <module>
File "rpaextract.py", line 64, in __init__
File "rpaextract.py", line 223, in load
File "rpaextract.py", line 103, in extract_indexes
File "encodings\zlib_codec.py", line 43, in zlib_decode zlib.error: Error -3 while decompressing data: incorrect header check  Failed to execute script rpaextract
Any idea what could be causing this error ?
First up, try this from another reply of mine:
Put all into C:\test\
or D:\test\, as long as you ensure there are no non-ASCII characters in the path (and no whitespace) and that the path is very short.
It was already in C: \test\
I also tried running as admin, with no luck
I just tried in a quite vanilla -but updated - Win10 VM and it worked.
1. Re-download the game, the rpa file might be corrupted
2. Triple-check you drag/give-as-parameter the archive.rpa file and not some other file
3. Ensure the game is off (the file is not blocked?) while you extract
4. Restart windows (yes I know it's 2021 but still), allow all pending updates to finish. Perhaps even run updates to fix things broken by previous updates (Just a month ago I had to help fix a computer that just decided onboard audio doesn't work and windows update "fixed" it)
5. Use the macOS/Linux method (see description)
6. Oh boy. I can only think of tiny RAM, defective RAM, defective HDD/SSD, defective other hardware or simply an environment that is somehow weirding the script out, which obviously is using zlib. Perhaps you are a dev/packager and somehow added a "bad" (read this scrip can't handle it) version of zlib to path?
Dragonunpacker also works when used on an .rpa file, hopefully for you as well:
Works and quick.
Can’t get it to work.
Tried it in the main folder and in a C:Test folder. Both give the same result. Program opens for a split seccond before closing again.
what do you drag onto it?
Just rpa files from a visual novel. It's strange. Some games do work on it and some games don't.
Open the folder that contains the rpa file and you game file with the rpa images files on the same screen. Drag the RPA file and open the images file with the rpa file together and it should start extracting into a game images folder. Its done when the rpa program closes
I cant seem to get it to work? it starts processing then gives up a few seconds later i put it in the right folder to
It keeps removing itself. What the heck?
most likely your antivirus
is that why it keeps deleting itself? :(
It's not working for me. Keeps closing itself then deleting itself. Help?
Thanks you a lot. It's super handy !