Tool Ren'Py UnRen.bat v1.0.11d - RPA Extractor, RPYC Decompiler, Console/Developer Menu Enabler

5.00 star(s) 9 Votes

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
10,857
15,989
Rather, not even the GUI, but the transfer of code on the graphics platform.
Perhaps is it because I'm old and use a tons of scripts, but I think that it's useless.
Porting unren as a graphic application change its purpose. And if you start with this, why stop here ? Don't blindly unrpyc and unrpa, let the use choose what to decrypt/decompress ; and this would be more useful as a Ren'py add-on than an external tool. But, like I said, it become something else, something that don't really concurrence unren, simply because it target more advanced users.
But well, it's just my opinion and I'm just a guy passing.
 

bas

retired
Donor
Respected User
Former Staff
May 6, 2017
3,987
30,519
I don’t promise to do it, but what do you think about such an GUI?
Rather, not even the GUI, but the transfer of code on the graphics platform.

View attachment 283277
One of the of the reasons that Sam's tools (and mine) are written as batch files is so a user can see exactly what the program you downloaded from some porn game forum going to do. It's small, lightweight, transparent, easily modifiable, and highly compatible with virtually any version of Windows.

Having said that, I'm sure Sam would not mind if you made your own GUI port and include any other tools/functions you please.

Just please make a new thread for your ported tool (you can post a link on this thread), and make sure to credit Sam for the base functionality ;).
 

Badboy702019

Active Member
Jan 1, 2019
630
124
View attachment 138006

I had originally created this script for myself, but I've decided to clean it up a bit and release it for everyone. You can extract RPA archives (using built in ), decompile RPYC files (using a fork of by @amanapanama ) and enable the console and developer menu for Ren'Py games.

No dependencies, no internet connection required. You can right click->edit to see the source. Works on Windows 7, 8 and 10. XP and Vista users might need this PowerShell update from Microsoft:

Instructions:
1. Copy UnRen.bat to either the game's root directory (where the exe is) or the /game/ folder
2. Double click on UnRen.bat to execute
3. Select the option you require

Both RPA and RPYC files will be extracted/decompiled to the same path as the original files.

Known Issues:
- Having non-ASCII characters in your folder path may cause issues
- Unrpyc hasn't been updated for RenPy v7 yet, games which make use of the new feature will not decompile correctly

Let me know if you encounter any issues or bugs.

You don't have permission to view the spoiler content. Log in or register now.

You don't have permission to view the spoiler content. Log in or register now.
Tried , no work 4 me
 

lapdragon

Member
Sep 28, 2017
123
220
Is there a way to get un.rpyc to stop stripping author annotation (#-commented data) out of the output scripts?
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
10,857
15,989
Is there a way to get un.rpyc to stop stripping author annotation (#-commented data) out of the output scripts?
No, because they aren't stripped by un.rpyc. And there's also no way to make Ren'py stop stripping them except creating an useless Comment entry in the AST ; they aren't purely and simply skipped when he load the source.
 

Amefis

New Member
Dec 26, 2017
2
0
Everytime when i try open unren.bat, window pop up and instantly closed. Any idea how to fix it?
 

goobdoob

Conversation Conqueror
Modder
Respected User
Dec 17, 2017
7,426
9,693
i use the programm but the images cant be opened what am i doing wrong?
What happens when you try?
What kind of image are you opening?
What game?
Compressed or not?

My guess - the images are webp, but named jpg or png. Try opening them in Chrome.
 

Hones

Forum Fanatic
Compressor
Aug 10, 2018
4,156
8,635
i use the programm but the images cant be opened what am i doing wrong?
The images are most likely webp, try installing or using an image viewer that supports webp
 

23kollas

Newbie
Apr 3, 2019
41
35
hello i used this to enable rollback on a game but when i try to rollback it takes me back to the main menu
 
U

User_1319893

Guest
Guest
does anyone have a list of which games work with unren.bat
 

goobdoob

Conversation Conqueror
Modder
Respected User
Dec 17, 2017
7,426
9,693
does anyone have a list of which games work with unren.bat
it should work with all current ren'py games.
Ren'py Games
Well, except for ones that get sneaky and jigger with the rpa encoding stuff, but since it needs to be decoded that has to be outside the rpa, so figuring out what they're doing and modifying rpatool is pretty easy.
 
5.00 star(s) 9 Votes