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

5.00 star(s) 3 Votes

master861

Well-Known Member
Nov 4, 2022
1,198
1,533
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
919
570
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:

master861

Well-Known Member
Nov 4, 2022
1,198
1,533
Look at the screenshot number 2 say's old renpy maybe i should at renpy lower as 8 to the menu i thing i can not make are poll because i am not the op of this tread.
All if you dont like the colors please write are replay.
you can chose from the colors on the img.
gpDPE.png
1 : white / with grey
2: red
3: green
4: yellow
5: Blue
6: magenta
7: Cyan
8 : white
Post the numbers your like in the replay.
maybe something like this?
1741016065549.png
 

Madeddy

Active Member
Dec 17, 2017
919
570
Code:
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.
I'm not sure if you read it already on GH but i think i figured the problem with Ren'Pys multiprocessing out. If i'm right, a fix is underway.
 

master861

Well-Known Member
Nov 4, 2022
1,198
1,533
as are prove your fix works on your commit.
1741287466454.png
version 8.2.1 renpy not testet with higher versions.
Ther is now the version that works with renpy 8.2.1.
Remember input 2 is only for lower renpy games like 6.x all higher numbers like 7 should us input 10.
If you whant i can at your name on the tool for the fix :cool:
Never mind now you name is in the tool :giggle:
1741288666248.png
 
Last edited:
Aug 5, 2016
32
40
as are prove your fix works on your commit.
View attachment 4618751
version 8.2.1 renpy not testet with higher versions.
Ther is now the version that works with renpy 8.2.1.
Remember input 2 is only for lower renpy games like 6.x all higher numbers like 7 should us input 10.
If you whant i can at your name on the tool for the fix :cool:
Never mind now you name is in the tool :giggle:
View attachment 4618811
I've used your modded version and made it compatible with windows context menu. Nice work. I'll use yours from now on.

Made this modded version compatible with running from context menu
 

master861

Well-Known Member
Nov 4, 2022
1,198
1,533
would be nice if you share your your work or you code that your used that orther can us that to.I never us the right click function. I am glat that it works for you .If are update comes out for unrpyc i am gone update as fast as i can.
what you thing of the colors?
changed The desgin are litel bit :giggle:
1741361535424.png
1741361589552.png
 
Last edited:
Aug 5, 2016
32
40

master861

Well-Known Member
Nov 4, 2022
1,198
1,533
I checked it i used it like this.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\Run Batch script]
@="&Run Batch script"
"Icon"="%SystemRoot%\\System32\\shell32.dll,71"

[HKEY_CLASSES_ROOT\Directory\Background\shell\Run Batch script\command]
@="H:\\BATCH_FILE_PATH\\context-batch.bat \"%V\""
This reg file works with out changing stuff in the unren-forall.bat on windows 11 if you us my reg file press on more options then you see run batch script you change that by changing this line.
[HKEY_CLASSES_ROOT\Directory\Background\shell\Run Batch script\command]
to something like this :
[HKEY_CLASSES_ROOT\Directory\Background\shell\Run UnRen-forall\command]
if you change this line make sure your change this line to @="&Run UnRen-forall"

I see now your post is another tool that only works with the newer renpy versions and its not the same tool as this tool.
Not sure what it is but i testet my tool on renpy 7.5.3 with the new unrpyc.py and it crashes with the old unren-forall it works.
Damit i should realy read stuff xd but on the github he say's on the new version down to renpy 6.x and that means for me 7 should work to with 2.0.2 but it dont work.
 
Last edited:
Aug 5, 2016
32
40
I checked it i used it like this.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\Run Batch script]
@="&Run Batch script"
"Icon"="%SystemRoot%\\System32\\shell32.dll,71"

[HKEY_CLASSES_ROOT\Directory\Background\shell\Run Batch script\command]
@="H:\\BATCH_FILE_PATH\\context-batch.bat \"%V\""
This reg file works with out changing stuff in the unren-forall.bat on windows 11 if you us my reg file press on more options then you see run batch script you change that by changing this line.
[HKEY_CLASSES_ROOT\Directory\Background\shell\Run Batch script\command]
to something like this :
[HKEY_CLASSES_ROOT\Directory\Background\shell\Run UnRen-forall\command]
if you change this line make sure your change this line to @="&Run UnRen-forall"

I see now your post is another tool that only works with the newer renpy versions and its not the same tool as this tool.
Not sure what it is but i testet my tool on renpy 7.5.3 with the new unrpyc.py and it crashes with the old unren-forall it works.
Damit i should realy read stuff xd but on the github he say's on the new version down to renpy 6.x and that means for me 7 should work to with 2.0.2 but it dont work.
I'll try your version when I get home. If this works like I understand it, your code will be a big help.

EDIT:
`%V` seems to just pass in the currently viewed directory, so I'd still have to modify any `UnRen.bat` file to take in the `%1` argument and set that as the current directory..
The difference between `%1` and `%V` is just what windows passes into the batch file as a positional argument.
%1This passes in the selected folder
%VThis passes in the currently viewed folder
 
Last edited:

master861

Well-Known Member
Nov 4, 2022
1,198
1,533
No try this version UnRen-forall-mod.zip then but it in let's say to drive D:\unren
Then make sure your path looks like this D:\unren\UnRen-forall.bat
Then change my above reg file to something like this.

[HKEY_CLASSES_ROOT\Directory\Background\shell\Run Batch script]
@="&Run Batch script"
"Icon"="%SystemRoot%\\System32\\shell32.dll,71"

[HKEY_CLASSES_ROOT\Directory\Background\shell\Run Batch script\command]
@="D:\\unren\\UnRen-forall.bat \"%V\""
This reg file works with out changing stuff in the unren-forall.bat on windows 11 if you us my reg file press on more options then you see run batch script you change that by changing this line.
[HKEY_CLASSES_ROOT\Directory\Background\shell\Run Batch script\command]
Now if you right click inside of are renpy game folder next to the exe press more options then you see in the right click menu Run batch script then my modet UnRen-forall.bat opens up now press enter and you ready to go
You dont need to select are folder with the unRen-forall.bat because of this .

if exist "game" if exist "renpy" (
set "renpydir=%cd%\renpy\"
set "gamedir=%cd%\game\"

that check makes sure that if you next to the game.exe it founds the renpy folder and the game folder.
Look at this screen.
to see what i am talking about .
1741444104964.png
On the screen above just hit enter and the UnRen-forall.bat things it is inside of the folder next to the exe but in this case its even good that it is not next to the exe because this game crashes if it founds are *.bat file next to it.
As you can see the *.bat file is not in the folder and it works with the %V the 1 in this case is to skip the Enter path to the game switch in this case but you can hit enter because your are in this place even with out that the file is ther.
if you whant it complexer like with powershell
HKEY_CLASSES_ROOT\Directory\ContextMenus\UnRen\UnRenforall\command then the %1 makes even more sense
 
Last edited:
Aug 5, 2016
32
40
You're right, I realized I didn't have to modify anything in UnRen-forAll.bat since it gets its path from `%cd%`. It will be set to the currently viewed directory. That means both of our .reg files work.
Yours works when right clicking on empty space in the folder, mine works when right clicking a selected folder - in both cases `%cd%` will be the currently viewed folder. That means that as long as you're in the game folder where you can see the [game, lib, renpy] folders, it will work.

I didn't realize this, since I started with Sam's version and that one uses %~dp0 and not %cd% iirc. I just copy pasted what I did for Sam's version to the UnRen-forall version.

EDIT:
In any case, none of the .reg files actually need any %V or %1 parameter to be passed in it seems.
 
5.00 star(s) 3 Votes