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

5.00 star(s) 3 Votes

Gen Urobuchi

Newbie
Nov 19, 2020
84
139
52
Hello, I have tried many times, but none of them could unpack the RPA file. Can you help me see how to solve this problem? View attachment 4870876
As stated above make sure your Powershell install is working correctly.

If so then...read below.

Ya that uses an odd version on ren'py - version 7.6.1 - where it tries to have many of the features of version 8.3.4? using python 2.7.
You need to use the unren file posted below to extract the .rpyc files.
It's a custom version of UnRen-1.0.11d.bat
- Just unzip it first!!!

Note:
This version does not automatically remove the decompiler files - so you need to do that manually if you want.
You don't have permission to view the spoiler content. Log in or register now.
Image above is from my test using Straitened Times v0.61.2....
 

Hoolyerak

New Member
Jul 8, 2024
4
2
23
As stated above make sure your Powershell install is working correctly.

If so then...read below.

Ya that uses an odd version on ren'py - version 7.6.1 - where it tries to have many of the features of version 8.3.4? using python 2.7.
You need to use the unren file posted below to extract the .rpyc files.
It's a custom version of UnRen-1.0.11d.bat
- Just unzip it first!!!

Note:
This version does not automatically remove the decompiler files - so you need to do that manually if you want.
You don't have permission to view the spoiler content. Log in or register now.
Image above is from my test using Straitened Times v0.61.2....
Thank you for your help, I reinstalled PowerShell from Microsoft, and now the issue is resolved.
 
  • Like
Reactions: Gen Urobuchi

joelurmel

Engaged Member
Nov 3, 2022
2,644
4,701
397
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.28
a legacy batch (UnRen-legacy.bat) Version 9.6.43 for Ren'Py <= 7
and a current batch (UnRen-current.bat) Version 9.6.57 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.

Old version in case of



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.
 
Last edited:

Gen Urobuchi

Newbie
Nov 19, 2020
84
139
52
joelurmel
This is currently the best Unren version out there - IMHO! (y)
Tested in game versions 7.3.5, 7.4.11, 7.6.1, 8.0.3, and 8.3.7 - no issues whatsoever...on both .rpa and .rpyc files.

Quick question though - "I've also integrated right-click registry add/remove (Admin right required)."
What exactly does that statement mean or what does it do???

Thanks and Cheers
 
Last edited:

joelurmel

Engaged Member
Nov 3, 2022
2,644
4,701
397
joelurmel
This is currently the best Unren version out there currently, - IMHO! (y)
Tested in game versions 7.3.5, 7.4.11, 7.6.1, 8.0.3, and 8.3.7 - no issues whatsoever...on both .rpa and .rpyc files.

Quick question though - "I've also integrated right-click registry add/remove (Admin right required)."
What exactly does that statement mean or what does it do???

Thanks and Cheers
This is only necessary to be able to add the item to the registry, as it is in a protected area. This is useful if you don't have Admin rights by default.
 
Last edited:
  • Like
Reactions: Gen Urobuchi

ardry

New Member
Jan 7, 2024
3
2
56
joelurmel
Thank you very much. This is truly amazing for me, especially since I want to translate a game but know nothing about programming. It has greatly helped me and many others in my small community with game translation. My apologies if this bothers you. (y)
 

joelurmel

Engaged Member
Nov 3, 2022
2,644
4,701
397
It's time for me to share my modified UnRen-forall.bat with you :)

What's changed:
Added latest rpatool version 0.8 which supports RPA v3 deobsfuscation (not implemented for now).
(used only if Python >= 3.8, otherwise use the old one).

Replaced the old unrpyc with the latest versions of , version 1.3.2 for Ren'Py <= 7 and version 2.0.2 for Ren'Py V8.
Fixed the bug that prevented UnRen-forall from being used if there was a space in the tree structure (as in MyBimbo Beta).
Improved control of the Python version that accompanies the game, to avoid choosing the wrong one as in Milfania.
All commands are now checked for correct execution.
RPA files moved to the game/rpa directory, if you choose not to delete them. This is to avoid the duplicate labels problem when the archive has been poorly constructed.
Introduction of the option not to rewrite RPY files if already present.
Added a timer of 5 sec on Y/N questions with default at N for RPA and RPY. After choosing option from the menu, the script takes care of itself.
Use of a more explicit color coding. Green for goods, yellow for logos and warnings and red for errors.
A UnRen-forall.log file is now created in the game directory for more details.
I've also integrated right-click registry add/remove (Admin right required).
The script is now 9.6.39. 39 being the number of changes made to the script.
If you have any problems, please let me know using the UnRen-forall.log file, and I'll make the corrections.

EDIT (250725): Added Support for Ren'Py 8.4.1 which replaces Python 3.9 with version 3.12. The code is scalable and will support future developments in Python 3.
Updated my Unren-forall.bat to support Ren'Py 8.4.1 which have Python 3.12. Next update of Python 3 will be supported automatically.
 

Arthas Menethil

Well-Known Member
Apr 7, 2019
1,280
985
207
Yes, my version is updated
Why does this happen? When I try it on two games?

The first one, LittleMan, fails when I try to compile the rpa

But if I try it with Love Sex, it works.


LittleMan is from Renpy 8.0.3
Love Sex is from Renpy 8.3.6
 
Last edited:

joelurmel

Engaged Member
Nov 3, 2022
2,644
4,701
397
Why does this happen? When I try it on two games?

The first one, LittleMan, fails when I try to compile the rpa

But if I try it with Love Sex, it works.


LittleMan is from Renpy 8.0.3
Love Sex is from Renpy 8.3.6
I'm currently downloading LittleMan to check.

EDIT:
This is because the dev modified the Python distribution by removing the multiprocessing directory.
To temporarily fix this, simply create the multiprocessing directory in lib/python3.9.

EDIT 2:
Script updated to support modified Python like in LittleMan.
 
Last edited:

Gen Urobuchi

Newbie
Nov 19, 2020
84
139
52
I'm currently downloading LittleMan to check.

EDIT:
This is because the dev modified the Python distribution by removing the multiprocessing directory.
To temporarily fix this, simply create the multiprocessing directory in lib/python3.9.

EDIT 2:
Script updated to support modified Python like in LittleMan.
Thanks again!!! (y)
 

Arthas Menethil

Well-Known Member
Apr 7, 2019
1,280
985
207
I am translating the game into Spanish, but there are some parts in the boxes that do not catch what I translated, this may be the developer's fault.
 

MasterGamer1234567890

Active Member
Oct 25, 2022
941
825
216
EDIT 250725 Version 9.6.41:
Added Support for Ren'Py 8.4.1 which replaces Python 3.9 with version 3.12. The code is scalable and will support future developments in Python 3.

EDIT 250727 Version 9.6.42:
Added support for LittleMan which have a modified Python shipped without multiprocessing support.
Thanks for your great work. One minor issue. In the future, could you please add the version number to the name of the compressed file? It would make it easier to see whether you have the latest version or not.
 
  • Like
Reactions: asdfg_dk

joelurmel

Engaged Member
Nov 3, 2022
2,644
4,701
397
For all Unren users,

Bad news since the release of Ren'Py 8.4.*, no tool is capable of decompiling rpyc files anymore.
This is because Ren'Py decided to change the file structure and implement anti-reverse engineering measures to prevent this.

We must therefore wait for an update of the unrpyc tools from CensoredUserName or rpydec, or even a new tool.
 
5.00 star(s) 3 Votes