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

5.00 star(s) 3 Votes

joelurmel

Engaged Member
Nov 3, 2022
2,736
4,826
397
Hello,
Here is a screenshot taken in Windows 7.
View attachment 5256810
1) Windows 7 is no longer supported by almost anyone, so why would you want UnRen to support it...
2) Run UnRen-forall.bat from PowerShell.exe
3) If you want to stay on Windows 7 at all costs and be able to launch UnRen-forall.exe from the right-click menu of a directory, then run this in cmd.exe:
reg add "HKCR\Directory\shell\RunUnrenForAll\command" /ve /d "powershell.exe -NoProfile -ExecutionPolicy Bypass -Command \"Set-Location '%%V'; & '%SCRIPTDIR%%SCRIPTNAME%' '%%V'\" " /f
This won't allow you to see the colors, but at least you'll be able to run the script.
Edit UnRen-forall.bat and add at line 180:
for /f "tokens=4-5 delims=. " %%i in ('ver') do set VERSION=%%i.%%j
if "%VERSION%" == "6.1" (
set "RED="
set "GRE="
set "YEL="
set "MAG="
set "CYA="
set "RES="
)
And FYI, Windows 7 is no longer supported by Ren'Py Version 8.4, so it's time to upgrade...
 
Last edited:
  • Like
Reactions: yoyomistro

Madeddy

Well-Known Member
Dec 17, 2017
1,016
736
244
1) Windows 7 is no longer supported by almost anyone, so why would you want UnRen to support it...
If you make a poll here, on f95 overall i mean, you will see there are more people on pre win10 as you would expect. Don't ask me, i also don't understand it, but is guess there are even reasons that make sense.

For that circumstance, i would advice to make a test for ANSI support and deactivate colors then if not supported. Otherwise the output will be unreadable, with all the escape sequences printed out like in the shot above.
Just my POV on this. Greets
 

joelurmel

Engaged Member
Nov 3, 2022
2,736
4,826
397
If you make a poll here, on f95 overall i mean, you will see there are more people on pre win10 as you would expect. Don't ask me, i also don't understand it, but is guess there are even reasons that make sense.

For that circumstance, i would advice to make a test for ANSI support and deactivate colors then if not supported. Otherwise the output will be unreadable, with all the escape sequences printed out like in the shot above.
Just my POV on this. Greets
Too late, it's already been done in the next version. :ROFLMAO:
 

PhadarSolo

Newbie
Sep 12, 2017
48
38
208
The new UnRen doesn't work with The Daddy Plan 0.08.1 (a Ren'Py 8.4.1 game), as it refuses to extract the rpa files as it claims there isn't any in the game folder, except there is. Just had to manually extract the rpas using RPATool, which did so without issue. After doing so, I used the new UnRen again to decompile the rpyc files, and that worked flawlessly.

Update: After some tinkering, it seems the new UnRen doesn't like apostrophes in folder names when trying to extract rpas. Removing them results in rpas being extracted. Had to change "I:\Ren'Py\Ren'Py 8.4.1\The Daddy Plan 0.08.1" to "I:\RenPy\RenPy 8.4.1\The Daddy Plan 0.08.1".
 
Last edited:

Madeddy

Well-Known Member
Dec 17, 2017
1,016
736
244
Update: After some tinkering, it seems the new UnRen doesn't like apostrophes in folder names...
Nope, its not new. Its since years a issue with bat/cmd script language and we had with UnRen our share of them. Just stick with dots, minus and underline chars on top of alphnumeric and you have never problems,.
 

MasterGamer1234567890

Active Member
Oct 25, 2022
961
841
216
joelurmel I recently ran into an issue with summertime saga, that the renpy config files are also encrypted, as is the save file. Any chance that at least the renpy config files could be unencrypted using your script?
 

joelurmel

Engaged Member
Nov 3, 2022
2,736
4,826
397
joelurmel I recently ran into an issue with summertime saga, that the renpy config files are also encrypted, as is the save file. Any chance that at least the renpy config files could be unencrypted using your script?
All files can be extracted from *.rpa files and decrypted from *.rpyc with the actual version of my script.
Tested with summertimesaga-21.0.0-wip.6155-pc.
 

MasterGamer1234567890

Active Member
Oct 25, 2022
961
841
216
All files can be extracted from *.rpa files and decrypted from *.rpyc with the actual version of my script.
Tested with summertimesaga-21.0.0-wip.6155-pc.
I just tried with the same game version, and the latest unren script, but files like \renpy\savetoken.pyc aren't decrypted.
 

joelurmel

Engaged Member
Nov 3, 2022
2,736
4,826
397
I just tried with the same game version, and the latest unren script, but files like \renpy\savetoken.pyc aren't decrypted.
This is because it's a compiled Python script.
UnRen does not modifiy any Python files and it's impossible to decompile Python files compiled with version >= 3.12.

EDIT: There is a new Python tool called that you can try, but it comes with no guarantees.
 
Last edited:

Madeddy

Well-Known Member
Dec 17, 2017
1,016
736
244
the renpy config files are also encrypted, as is the save file.
decrypted from *.rpyc


Cambridge dict:
decrypt:
to change electronic information or signals that were stored, written, or sent in the form of a secret code (= a system of letters, numbers, or symbols) back into a form that you can understand and use normally
encrypt is just the reverse

Just so other readers don't get the wrong idea: There is no decryption in RPA or RPY(M)C files. Not at all.
  • RPA <-> Ren'Py Archives = Different project files are pickled (serialized=so computers can easier transfer the data) and then put in a simple zip archive
  • rpyc|rpymc <-> Ren'Py Compiled = That's generally done with programming code: Translates from human readable to machine executable, Error Detection, Optimization and more
it's impossible to decompile Python files compiled with version >= 3.12.
For now. The decompiler tools, generally lag just a bit behind the development progress of programming languages. (see unrpyc... wink wink)
 
  • Like
Reactions: Gen Urobuchi

joelurmel

Engaged Member
Nov 3, 2022
2,736
4,826
397
i found the .sh version but how do i use it thank you
edit: im confused on the steps to take with it
You need to check with the person who created it or the associated thread. Someone will be able to answer you, but not in this thread, which is dedicated to the Windows version.
 

joelurmel

Engaged Member
Nov 3, 2022
2,736
4,826
397
Please take a look at this game.
https://f95zone.to/threads/258446/

Even if I change the extension and decompile it as rpa, it doesn't generate rpy.
I've already tried with un.rpy v2.02.
And also with the latest unrenforall.
It says it's renpy 8.1.3.

Thanks Adv
This is because the RPA file have a modified header and it's not recognized has a RPA-3.0.
To solve this, install python >= 3.12
install unrpa with: pip install unrpa
open a cmd/Terminal/PowerShell and go to ...\MoreThanFamily-0.3.0-pc\game
and type
unrpa .\data.extra -f RPA-3.0
And you have all the files extracted :cool:
 
5.00 star(s) 3 Votes