Create and Fuck your AI Cum Slut -70% OFF
x

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

5.00 star(s) 3 Votes

-CookieMonster666-

Message Maven
Nov 20, 2018
13,059
19,544
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
966
676
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
13,059
19,544
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
966
676
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
966
676
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:

master861

Well-Known Member
Nov 4, 2022
1,230
1,587
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,230
1,587
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
966
676
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,230
1,587
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
966
676
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,230
1,587
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:

master861

Well-Known Member
Nov 4, 2022
1,230
1,587
You got me wrong ther try this modet version from me and you see ther is something wrong on lower renpy versions.
ok i checked again it seem that the multiprocessing error only happens with renpy 8.2 versions this version (8, 0, 1) dont trigger the mp error.
sorry is are mistake on my side because i got are + in my path what unrpyc can not handle :FacePalm:
until the mp error is not gone or fixed dont us my version on higher renpy versions like 8.2
If you us my tool on lower versions like below 7 please us number 2 as input.
Some small changes on the new version :cool:
1740946496334.png
If you dont like the color say it please i can change that.
 
Last edited:

Madeddy

Active Member
Dec 17, 2017
966
676
Ok, cool what you do there with the update. (y)
ok i checked again it seem that the multiprocessing error only happens with renpy 8.2 versions this version (8, 0, 1) dont trigger the mp error.
Seems i was a bit wrong about MP in all v8 (Py3) Ren'Py versions. o_O I checked stuff and it seems multiprocessing(+ some other stdlib modules) are only from v8.1+ available with Ren'Py! Means the error will not appear before this version.
If you us my tool on lower versions like below 7 please us number 2 as input.
Maybe you should add this info to the menu options in parens, so there are no misunderstandings with some users. Just a thought.

If you dont like the color say it please i can change that.
I have no problem with the color. Maybe ask all others in a poll. I would use whats for people most readable. Have fun!
 
Last edited:
5.00 star(s) 3 Votes