Tool Ren'Py UnRenGUI, UnRen-forall(v9.4), UnRen-Powershell-forall(v9.4), UnRen-old

5.00 star(s) 3 Votes

somebodynobody

Engaged Member
May 11, 2017
3,433
4,372
502
Tried Joelurmel's version on the newest version of Friends in need subscribestar version and it errors out on trying to access the RPA file.
 

Kulman

Engaged Member
Sep 28, 2017
3,326
8,241
809
None of my unrens seem to work anymore. Tried multiple games, they all error out with a similar message.

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

Gen Urobuchi

Newbie
Nov 19, 2020
96
147
78
It's my fault, I wrote a script to detect the archive type in Python v3 and forgot about Python v2 support.
You have to edit UnRen-legacy.bat and search detect_archive.b64 or go to line 1321 and replace the echo line by this one

echo IyEvdXNyL2Jpbi9lbnYgcHl0aG9uDQppbXBvcnQgc3lzDQoNCmRlZiBkZXRlY3RfYXJjaGl2ZV90eXBlKHBhdGgpOg0KICAgIHRyeToNCiAgICAgICAgd2l0aCBvcGVuKHBhdGgsICJyYiIpIGFzIGY6DQogICAgICAgICAgICBoZWFkZXIgPSBmLnJlYWQoOCkNCiAgICAgICAgICAgICMgU3RhbmRhcmQgUlBBIGFyY2hpdmVzIHN0YXJ0IHdpdGggIlJQQS0zLjAiIG9yICJSUEEtMi4wIg0KICAgICAgICAgICAgaWYgaGVhZGVyLnN0YXJ0c3dpdGgoYiJSUEEtIik6DQogICAgICAgICAgICAgICAgcmV0dXJuIDAgICMgc3RhbmRhcmQNCiAgICAgICAgICAgIGVsc2U6DQogICAgICAgICAgICAgICAgcmV0dXJuIDEgICMgbW9kaWZpZWQgLyB1bmtub3duDQogICAgZXhjZXB0IEV4Y2VwdGlvbiBhcyBlOg0KICAgICAgICAjIFB5dGhvbiAyIGRvZXNuJ3Qgc3VwcG9ydCBmLXN0cmluZ3MsIHNvIHdlIHVzZSBmb3JtYXQoKQ0KICAgICAgICBzeXMuc3RkZXJyLndyaXRlKCJFcnJvcjoge31cbiIuZm9ybWF0KGUpKQ0KICAgICAgICByZXR1cm4gMSAgIyBieSBkZWZhdWx0LCB3ZSBjb25zaWRlciBtb2RpZmllZA0KDQppZiBfX25hbWVfXyA9PSAiX19tYWluX18iOg0KICAgIGlmIGxlbihzeXMuYXJndikgPCAyOg0KICAgICAgICBwcmludCgiVXNhZ2U6IGRldGVjdF9hcmNoaXZlLnB5IDxhcmNoaXZlX2ZpbGU+IikNCiAgICAgICAgc3lzLmV4aXQoMSkNCg0KICAgIGFyY2hpdmVfZmlsZSA9IHN5cy5hcmd2WzFdDQogICAgcmVzdWx0ID0gZGV0ZWN0X2FyY2hpdmVfdHlwZShhcmNoaXZlX2ZpbGUpDQogICAgc3lzLmV4aXQocmVzdWx0KQ0K

Or you can use the already modified attached.
An update will be made soon, as soon as I have repaired my computer, which has had an SSD problem. Fortunately, I had several backups :cool:.
Why does that happen? (Ren'py version 7.4.4)
Untitl1ed.jpg

And on the others (current, etc) if you choose NOT to update the .bat - if fails to load at all?
However, if I choose to update it? It still fails!!!

Thanks for all you work and support!!!
 

joelurmel

Engaged Member
Nov 3, 2022
2,789
4,980
448
I've made this scripts with for you and to simplify the management of your favorite games.

You have now a multilingual (de, en, es, fr, it, ru) launcher batch (UnRen-forall.bat) Version 0.40
a legacy batch (UnRen-legacy.bat) Version 9.7.6 for Ren'Py <= 7
and a current batch (UnRen-current.bat) Version 9.7.27 for Ren'Py >= 8

The launcher was initially designed to start the correct batch depending on the Ren'Py version .
Then I realized that it would be useful to add options that do not depend on Ren'Py.
As I continued coding, additional ideas led me to add multilingual support and new independent features.

Please read the Installation section, which contains important information.

Current version: on GitHub

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

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

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

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

Images:
You don't have permission to view the spoiler content. Log in or register now.
I know this isn't the time to play :cool:
But I wanted to make you happy with the latest corrections.

Merrry Christmas

12/24/25:
UnRen-forall.bat 0.40, UnRen-current.bat 9.7.27 & UnRen-legacy.bat 9.7.6

Common modifications for all scripts:
- Fixed a bug that sometimes prevented the entered game directory from being processed correctly.
- Added detection of prohibited characters when used with a Windows batch file
However, the characters & ! ^ are completely prohibited and cannot be included in the detection

Common modifications for UnRen-current.bat & UnRen-legacy.bat:
- Fixed bug with RPA archive type detection not working with Python 2.7
- A better Python script for detectng RPA extensin archive name, even if dev have modified the Ren'Py shipped
- Added code to prohibit the use of UnRen[legacy|current].bat in the wrong environment.
- Added more infos in the UnRen-forall.log
 
Last edited:

joelurmel

Engaged Member
Nov 3, 2022
2,789
4,980
448
The latest current and legacy have a significant bug when you decompile RPYC files, it deletes all files in the root game.
My bad, If you have already downloaded, please redownload. The correct version has an "a" to the version.
As a bonus, I have added the ability to force the extraction of RPA files when they are slightly modified but have an intact header.
 

GioBol - The Librarian

Forum Fanatic
Modder
May 19, 2021
5,988
32,390
873
The latest current and legacy have a significant bug when you decompile RPYC files, it deletes all files in the root game.
My bad, If you have already downloaded, please redownload. The correct version has an "a" to the version.
As a bonus, I have added the ability to force the extraction of RPA files when they are slightly modified but have an intact header.
If the recent version deletes the RPYCs once decompiled, I don't think it's a problem, since the resulting RPY files are more recent, and starting the game recompiles everything.

I'm reporting a problem, and I don't know if anyone has already reported it.
This:
1766743477257.png

Two or three files that are part of my translation of the game are copied into the game folder.
The files are zzzStartGB.rpy and zzzStartGB-F2.png. They are used to start the game in Italian without having to select the language (once started, anyone who wants to play in English can press <F2>).
Until the previous version this did not happen, but with this version it happens, even with UnRen-legacy.bat
Right now I'm unpacking the RPAs of the Medical Special Care game

Another report: the last two versions of UnRen-legacy.bat report an error in unpacking RPAs in some games, to the point that I had to re-download the old UnRen-legacy.bat from version UnRen-forall-la_0.35-le_9.6.47-cu_9.7.14

I use your excellent tool at least ten times a day with a variety of games.

Thank you
(Google Translate)
 
Last edited:

joelurmel

Engaged Member
Nov 3, 2022
2,789
4,980
448
If the recent version deletes the RPYCs once decompiled, I don't think it's a problem, since the resulting RPY files are more recent, and starting the game recompiles everything.

I'm reporting a problem, and I don't know if anyone has already reported it.
This:
View attachment 5564859
It delete files in the root game (*.exe, *.sh & *.py) not in the ...\gamename-xx.x\game

Two or three files that are part of my translation of the game are copied into the game folder.
The files are zzzStartGB.rpy and zzzStartGB-F2.png. They are used to start the game in Italian without having to select the language (once started, anyone who wants to play in English can press <F2>).
Until the previous version this did not happen, but with this version it happens, even with UnRen-legacy.bat
Right now I'm unpacking the RPAs of the Medical Special Care game
I don't understant what the problem...

Another report: the last two versions of UnRen-legacy.bat report an error in unpacking RPAs in some games, to the point that I had to re-download the old UnRen-legacy.bat from version UnRen-forall-la_0.35-le_9.6.47-cu_9.7.14

I use your excellent tool at least ten times a day with a variety of games.

Thank you
(Google Translate)
This is because you are trying to unpack RPA files that is not present.
And due to the possible Ren'Py code modification by the dev, I try to determine the best extension name and can result a false determination in that case.
 

GioBol - The Librarian

Forum Fanatic
Modder
May 19, 2021
5,988
32,390
873
Game: https://f95zone.to/threads/karlssons-gambit-v0-8-31-finala2-grym-gudinna-games.50840/#post-3369352

game folder:
1766769404732.png

1766769481454.png

I've been translating into Italian since May 2022 and have always used Unren to unpack RPAs and decompile RPYCs if the RPYs aren't available (Ren'Py SDK doesn't extract dialogue from RPAs or RPYCs, so decompiling is necessary).

Only the latest two versions of your Unren have any issues. The UnRen-forall-la_0.38-le_9.7.4-cu_9.7.23 version has issues with UnRen-legacy.bat, while the latest version, UnRen-forall-la_0.40-le_9.7.6-cu_9.7.27, has issues with both.

I restoring version UnRen-forall-la_0.35-le_9.6.47-cu_9.7.14.
 

joelurmel

Engaged Member
Nov 3, 2022
2,789
4,980
448
Game: https://f95zone.to/threads/karlssons-gambit-v0-8-31-finala2-grym-gudinna-games.50840/#post-3369352

game folder:
View attachment 5565834

View attachment 5565838

I've been translating into Italian since May 2022 and have always used Unren to unpack RPAs and decompile RPYCs if the RPYs aren't available (Ren'Py SDK doesn't extract dialogue from RPAs or RPYCs, so decompiling is necessary).

Only the latest two versions of your Unren have any issues. The UnRen-forall-la_0.38-le_9.7.4-cu_9.7.23 version has issues with UnRen-legacy.bat, while the latest version, UnRen-forall-la_0.40-le_9.7.6-cu_9.7.27, has issues with both.

I restoring version UnRen-forall-la_0.35-le_9.6.47-cu_9.7.14.
Effectively, my Python code is not robust enough and has been updated. So the correct version has a "b" in the version.
You have to redownload and I hope this time it will be correct, tested with 10 new games.
proof.png
 

kapparino123

New Member
Feb 8, 2020
8
2
118
Hi, so i already use the right click menu entry. and when i want to unpack and decompile, i got this error. the game im trying to use the unren are shown in the image.

any idea how can i fix it?

thanks for this amazing tools though.
Screenshot 2025-12-29 072458.png Screenshot 2025-12-29 072823.png
 

joelurmel

Engaged Member
Nov 3, 2022
2,789
4,980
448
Hi, so i already use the right click menu entry. and when i want to unpack and decompile, i got this error. the game im trying to use the unren are shown in the image.

any idea how can i fix it?

thanks for this amazing tools though.
View attachment 5573485 View attachment 5573491
Downloaded the game, and I'm unable to reproduce the problem.
What version are you using? It is not shown in your snapshot.
With the latest, I have no problem. You have answered an s to "Unpack all or select RPA archives? Enter [a/s] (default a):"
but it's not shown and very strange, same for "unpackiing file: xxx.rpa", what you have put is not shown proof.png
 

kapparino123

New Member
Feb 8, 2020
8
2
118
Downloaded the game, and I'm unable to reproduce the problem.
What version are you using? It is not shown in your snapshot.
With the latest, I have no problem. You have answered an s to "Unpack all or select RPA archives? Enter [a/s] (default a):"
but it's not shown and very strange, same for "unpackiing file: xxx.rpa", what you have put is not shown View attachment 5573592

Hi, thank you for looking into this.

To answer your question, I am using the latest version: UnRen-current.bat - (v9.7.27b) released on 12/26/25.

Regarding the log, that is actually the main issue: I did not enter "s" or select any option manually. The moment the script reaches the input prompt, it immediately throws the message "ERROR: The specified choices are not acceptable" repeatedly and automatically skips the prompt (defaulting to "No" or "Ignore"). It behaves as if the CHOICE command is failing to register my keyboard input entirely and loops through the errors instantly.

I noticed in your screenshot that your working directory is on the E: drive. In my case, the game is installed at C:\Game\TownofMagicpc. I only have a single partition (Drive C:) on my machine, so I cannot test it on a secondary drive.

I suspected it might be a permission issue with the root C:\Game folder, so I tried moving the game folder to my User directory (Documents/Downloads), but the exact same error persists. I am running Windows 11.

Is there a specific workaround for Windows 11 users restricted to the C: drive?

Thanks.
 
5.00 star(s) 3 Votes