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

5.00 star(s) 8 Votes

Eonor

Active Member
Sep 9, 2017
544
1,250
When I use unren on Milfy City, I can pull the CG out no problems and get no errors but the video files (.webm animations) don't play properly. As in, I can see a preview image as a thumbnail for the video files that come out but opening them just gives me a black video with nothing happening. Has anybody encountered this?
 

Sam

Sysadmin
Staff member
Administrator
Dec 22, 2016
2,507
16,853
Seems UnRen.bat v0.6 is unable to extract rpa from this game:



Can someone verify my findings?
AFAIK they're using some tricks to prevent asset extraction with rpatool, I believe @bossapplesauce created a workaround, he may be able to help you.

When I use unren on Milfy City, I can pull the CG out no problems and get no errors but the video files (.webm animations) don't play properly. As in, I can see a preview image as a thumbnail for the video files that come out but opening them just gives me a black video with nothing happening. Has anybody encountered this?
Sounds like a codec issue, you'll need the webm codec in order to display webm thumbnails as well as to play in certain players. Try using VLC which should be able to play webm files without any issue.
 
  • Like
Reactions: loqex and bas

bas

retired
Respected User
Donor
Former Staff
May 6, 2017
3,987
30,356
Seems UnRen.bat v0.6 is unable to extract rpa from this game:



Can someone verify my findings?
Attached is a modified version of rpaextractor and a batch file to get around their wonky nonsense. Extract this zip the same place you'd put UnRen and run whatever I named that batch file to extract all the RPA contents.
 

Eonor

Active Member
Sep 9, 2017
544
1,250
AFAIK they're using some tricks to prevent asset extraction with rpatool, I believe @bossapplesauce created a workaround, he may be able to help you.


Sounds like a codec issue, you'll need the webm codec in order to display webm thumbnails as well as to play in certain players. Try using VLC which should be able to play webm files without any issue.
That fixed it. Thanks

This is bizarre. I've always been able play webm files in media player classic with no issue. These are the first videos I've found that didn't work with it.
 

Sam

Sysadmin
Staff member
Administrator
Dec 22, 2016
2,507
16,853
That fixed it. Thanks

This is bizarre. I've always been able play webm files in media player classic with no issue. These are the first videos I've found that didn't work with it.
Technically webm is a container for VP8/VP9/AV1, Milfy City might be using one of the codecs which you don't have installed; where as VLC comes with its own decoders and can play pretty much anything out of the box.
 
  • Like
Reactions: bas

Jansen

Well-Known Member
May 8, 2017
1,692
3,154
I am unable to extract image files from the new games made on renpy using the RPA.Extractor.exe tool. I was trying to extract the images from game Freeloading Family version 0.7 and i get the error "This App Cant Run on your Pc". Please can someone help. On V0.5 i can extract images easily.
 

DARK_ANGEL90

New Member
Nov 1, 2017
3
0
View attachment 60804

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 built in ) 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

RPA archives will be extracted to the /game/ folder. For RPYC, you will need to run the game once, and the RPYC files will automatically be decompiled to the /game/ folder.

Known Issues:
- Having non-ASCII characters in your folder path may cause issues
- Quick Save/Quick Load might not work for older renpy versions

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.

View attachment 60804

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 built in ) 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

RPA archives will be extracted to the /game/ folder. For RPYC, you will need to run the game once, and the RPYC files will automatically be decompiled to the /game/ folder.

Known Issues:
- Having non-ASCII characters in your folder path may cause issues
- Quick Save/Quick Load might not work for older renpy versions

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.
I've found a bug in your tool. The option "Enable Console and Developer Mode", will not work if .rpyc files are present in game dir. You have to decrypt the rpyc files first.
 

drHaKo

Newbie
Apr 26, 2017
23
8
i like your tool very much. i use it mostly for extracting the scripts.
but i have a question.
in several games, for example "HolidayIslands-Episode1-V2-pc" i can't use the back button.
normally i use Unren.bat to use "force enable rollback" but it will not work. do you have a solution please.
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Respected User
Donor
Jun 10, 2017
10,131
14,814
how do i close the console after using it? i press Esc & shift+o back doesnt do anything tho. i use it on the game corruption the latest version
Yeah, Mr.C removed "Esc" from the keymap. Just right click with your mouse and you'll get out of the console.
 

DrunkDragon

Member
Donor
May 26, 2018
383
1,091
Thank you sooo much for this tool. Was just about to go in and look at how to do it with a YouTube guide, and it seemed a bit extensive
 

jpsimon

Overachiever
Donor
Apr 3, 2017
571
1,950
So, I've always wondered - why does the default setting force "Skip All" instead of "Skip Read" (and make it only change-able by editing files)? I seriously have no idea why. That's a really undesirable preset. Or, at least, something the player would definitely want personal control over, being able to change it on the fly in-game.

I edited my UnRen.bat file to never do that as soon I noticed it, because I didn't want to give up the option to have UnRen perform all the other operations with 1 keypress. Also, that setting is right there in the template Ren'Py 'Preferences' menu for every game, accessible in-game. I've never seen a game block it in a way that would need a hack to unlock it.
 

gatito

Member
Feb 10, 2018
123
9
whats the code for money guys already open console but try to write money=999 , inverntorymoney=999, it didnt work
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Respected User
Donor
Jun 10, 2017
10,131
14,814
whats the code for money guys already open console but try to write money=999 , inverntorymoney=999, it didnt work
Er... There's no such thing as "the code for money", like there isn't such thing as "the key which will open all the doors" or "the word that will make all the pussies wet". Each game have its own variables and what you need to type to add money depend of them.
 

curly369

Newbie
Apr 26, 2017
19
3
Ive been running into an issue in some of the newer games where I cannot view the images after using 0.6.

For example, after running it on MILF City it will say "1.jpg We can't open this file"

Any ideas? Again its not all games just some of the newer ones.
 
5.00 star(s) 8 Votes