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

5.00 star(s) 9 Votes

johngary

New Member
Feb 4, 2018
1
0
Can't get it to work. I did that, along the folder that says "game", inside the Au-Pair (which is the game I'm doing this for), folder. When I run Unren, I keep getting the error that says, "Cannot locate python.exe, unable to continure. Are you sure we're in the game's root directory?"

I've been trying in all the folders and still can't get it to work.
I found a solution. Find in the lib directory the windows directory that contains the phython.exe file and modify this line in the UnRen.bat file.
set "pythondir=%currentdir%lib\py3-windows-x86_64\"
 

Otherswiss

New Member
Aug 17, 2023
1
0
Help! for some reason it says that it couldn't locate the ren'py file. i put the batch file in the archive with the exe and it doesn't work.
 

Hibike

Newbie
Dec 27, 2020
28
71
Would it be possible to get an option to select which rpa file to unpack? Many games have a huge images.rpa and a tiny scripts.rpa, and I'm mostly just interested in the scripts. I can always rename/move them first of course, but this tool is all about convenience after all :)

Also, the current version fails to clean up after itself when decompiling the rpyc files
 

Deleted member 4812744

Well-Known Member
Apr 8, 2022
1,016
12,028
Would it be possible to get an option to select which rpa file to unpack? Many games have a huge images.rpa and a tiny scripts.rpa, and I'm mostly just interested in the scripts. I can always rename/move them first of course, but this tool is all about convenience after all :)

Also, the current version fails to clean up after itself when decompiling the rpyc files
UNREN-FINAL.zip
 

WaltS

Si vis pacem para bellum
Donor
Apr 4, 2018
2,118
2,607
xin lỗi đã làm phiền nhưng tôi gặp vấn đề như trong hình sau khi nhấn phím 1. Tôi đã thử cả 3 trò chơi ren'py và cùng một vấn đề. Tôi nên làm gì để khắc phục nó. Tôi sử dụng unren 1.0.11d. cảm ơn mọi người View attachment 2877677
This is an English language board - do not post in other languages.
Almost no one here speaks Vietnamese …
 
  • Like
Reactions: Overascalet

kendrickzl

Newbie
Mar 11, 2023
32
88
I got the following error when I tried running unren v1.0.11d to decompile .rpyc files. Extracting the .rpa files worked fine.

Code:
Traceback (most recent call last):
  File "C:\Users\{user}\Downloads\mydemonicromance-0.5.0-pc\unrpyc.py", line 121, in <module>
    printlock = Lock()
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/multiprocessing/context.py", line 67, in Lock
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/multiprocessing/synchronize.py", line 17, in <module>
ModuleNotFoundError: No module named '_multiprocessing'
In the same error, have you discovered any solution?
 

SimReaper18

Member
Jan 11, 2019
136
163
I have noticed that after :decompile runs and the summary gets printed, it immediately runs goto finish, completely skipping over the REM echo Cleaning up temporary files...

Code:
if NOT %countnodecomp% == 0 (
	if %countnodecomp% == 1 (
		set "filestr=file"
		set "existstr=exists"
	) else (
		set "filestr=files"
		set "existstr=exist"
	)
  "%powershellpath%" write-host ^(!countprefix!!countnodecomp!^) -fore White -NoNewline
  "%powershellpath%" write-host ' decompiled !filestr! already !existstr!' -fore DarkYellow -NoNewline
)
"%powershellpath%" write-host ' '
echo.
--> goto finish <--
REM --------------------------------------------------------------------------------
REM Clean up and return to our original working directory
REM --------------------------------------------------------------------------------
REM echo   Cleaning up temporary files...
if exist "%unrpycpy%" (
  del "%unrpycpy%"
)
if exist "%unrpycpy%o" (
  del "%unrpycpy%o"
)
if exist "%decompcab%.tmp" (
  del "%decompcab%.tmp"
)
if exist "%decompcab%" (
  del "%decompcab%"
)
if exist "%deobfuscate%" (
  del "%deobfuscate%"
)
if exist "%deobfuscate%o" (
  del "%deobfuscate%o"
)
if exist "%decompilerdir%" (
  rmdir /Q /S "%decompilerdir%"
)
if exist "%maindir%__pycache__" (
  rmdir /Q /S "%maindir%__pycache__"
)
echo.

if not "%option%" == "8" (
	goto finish
)

:console
Idk if you meant to completely skip over cleaning up the temp files, but if not, then it's a good thing it was caught
 
5.00 star(s) 9 Votes