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

5.00 star(s) 3 Votes

yoyomistro

Engaged Member
Jan 15, 2017
2,967
4,132
How should we answer this without any infos about your app name and version, renpy version, unren version, game path. Do you believe we look this in a crystal orb up?
I was gonna reply to them, but I was feeling a bit too snarky at the time =P. I see you brought enough for all of us though.
 

-CookieMonster666-

Message Maven
Nov 20, 2018
12,666
18,824
What is the file path on your computer? If you have special characters/path length issues that will prevent it from working.
If it's the old UnRen (like they say), I don't believe this is an issue. I still use that for some games and I never see an issue. It's only with the newer UnRen versions (because of changes in allowable characters in Python or whatever it was) that the crashing with special characters happens.
 

Madeddy

Active Member
Dec 17, 2017
936
582
It's only with the newer UnRen versions (because of changes in allowable characters in Python or whatever it was)
Nah. Python is not the problem. Really.
Its always the batch/command or sometimes (rare) powershell part where the problems arise. And yes, as you said, in the newer unren they fucked the batch code somehow up and he is now more bitchy with the path chars.
Unren-old (downloaded from the first page of this thread)
Games: Karlsson's Gambit and Lisa Total Investigation
Copied the file in the first game folder (the one with the .exe), launched it and it gives that error
Ok, very good.(y)
Its your choice of the old unren which errors. You need to use the 9.4 (decompiling will very possibly not work with new Ren'Py versions!).
Explanation:
I acquired per misuse of the pixeldrain DL links (allows to dl single files of the zip) the script_version.txt for the renpy versions of your games:
  • Karlsson's Gambit is Ren'Py v7.6.1
  • Lisa Total Investigation is v8.2.0
Old unren searches in .../lib/ for a python dir e.g. "windows-x86_64" which was correct for Ren'Py up to version 7.4.x. All newer versions of Ren'Py, like the two games you use, have this path prefixed with "py2-" or "py3-" so he cannot find Python. The search target is simply wrong.

Greets
 
Last edited:

-CookieMonster666-

Message Maven
Nov 20, 2018
12,666
18,824
Nah. Python is not the problem. Really.
Its always the batch/command or sometimes (rare) powershell part where the problems arise. And yes, as you said, in the newer unren they fucked the batch code somehow up and he is now more bitchy with the path chars.
Yeah, I wasn't too certain about that myself. I made sure to add "whatever it was" since I didn't really remember any specifics. I only knew that it was introduced in the new version. :) I don't remember ever trying to make a batch file in the past, so that's absolutely a gaping hole in my programming knowledge.
 

Madeddy

Active Member
Dec 17, 2017
936
582
Yeah, I wasn't too certain about that myself.
Ah... no problemo! (©ALF)
I don't remember ever trying to make a batch file in the past, so that's absolutely a gaping hole in my programming knowledge.
No,no,no! Thats a advantage. You're undirtied by this shit. :WaitWhat:

Just to make this clear. Batch has its use but its very imperfect and full of traps. If you can use something else.
 
  • Like
Reactions: -CookieMonster666-

Madeddy

Active Member
Dec 17, 2017
936
582
But there is an error on the error after unpacking.
Really just unpacking or also decompiling? If the rpyc where "also" decompiled:
Its a very recent Ren'Py in this game. Did you use unrpyc v2.x or one of the incompatible old unrpyc in one of the "unren" variants?
 
Last edited:

Stifler's Mom

Member
Aug 11, 2023
172
142
Really just unpacking or also decompiling? If the rpyc where "also" decompiled:
Its a very recent Ren'Py in this game. Did you use unrpyc v2.x or one of the incompatible old unrpyc in one of the "unren" variants?
It unpacks normally. I used un2.0.1, but there's no difference.
 

master861

Well-Known Member
Nov 4, 2022
1,211
1,561
Hi i thing i fixed it for all renpy versions ther is are new option 10 for newer renpy versions us the option 2 for older renpy versions. her is the link.

Damit ther is are mistake in my file :cry: i hope i can fix it.
 
Last edited:

master861

Well-Known Member
Nov 4, 2022
1,211
1,561
I am not 100% sure what the mistake is if some one know's base64 maybe he can help me because i thing ther is are mistake in my base64 encode.
Damit now its not anymore the base64 i got that :unsure: , now its are python error for what ever reason
 
Last edited:

Madeddy

Active Member
Dec 17, 2017
936
582
Lets see it and describe the problem. Maybe one of us can help. A few eyes and brains more do sometimes wonder...
 

master861

Well-Known Member
Nov 4, 2022
1,211
1,561
Ok the problem is this on the game Lisa-TI_full_update_4_win-linux i know for sure it us renpy 8.2.0.
1740856582226.png
as you can see number 10 is for the new versions of renpy and the command line for new renpy versions is this python .py name.rpy now if i enter number 10 this happens.

File "E:\novel_games+unity\Lisa-TI_full_update_4_win-linux\unrpyc.py", line 523, in main
results = run_workers(worker_common, args, worklist, args.processes)
File "E:\novel_games+unity\Lisa-TI_full_update_4_win-linux\unrpyc.py", line 271, in run_workers
with Pool(parallelism) as pool:
File "lib/python3.9/multiprocessing/context.py", line 118, in Pool
File "lib/python3.9/multiprocessing/pool.py", line 30, in <module>
File "lib/python3.9/multiprocessing/connection.py", line 21, in <module>
ModuleNotFoundError: No module named '_multiprocessing'
It seem to me that this comes from renpy or from unrpyc because if i run unrpyc.py with my system python 3.12 it works.
If i am not mistaken renpy renamed are import because of this.

try:
from multiprocessing import Pool, cpu_count that is from unrpyc.py
 

Madeddy

Active Member
Dec 17, 2017
936
582
Oh, this. A common problem. So what is it? A bit complcated:
unrpyc works with use of the multiprocessing(MP) module.
  • Earlier Ren'Py versions with py2 didn't have MP (a reduced python in renpy), so old unrens dev had it removed from the in unren embedded version of unrpyc.
  • I made then a few years back a suggestion to the dev and he added a a switch, so unrpyc could work with and without MP.
  • Now we have newer Ren'Py (Py3) with included MP(from v8.1 !), however in some Ren'Py version is a fucked up MP module onbord which errors if used with unren. Thats what happens in your case.

In short: I such games you need to remove the MP files from /lib/py... of the games where this happens.

Edit: Added info MP is only from Ren'Py v8.1+ available!
 
Last edited:

master861

Well-Known Member
Nov 4, 2022
1,211
1,561
Hm ok strange because now it seem that it dont like renpy versions lower as 8 any more.
Ah that is why ther is are Mock comment in the unrpyc.py file.
The realy strange thing is it works with this modet version from sam95' tool with unrpyc.py 2.0.2. UnRen-1.0.11d.bat

Her test that on Adored-by-the-Devil and you see it works but with unrengui the same unrpyc.py dont work anymore that means ther is something fucked up with unrengui-unren-forall
 
Last edited:
5.00 star(s) 3 Votes