Tool Ren'Py [UnRen] Add UnRen to Windows context menu

Aug 5, 2016
40
46
1741236088585.png
UnRen Context Menu Creator

Generates a .reg file that generates a windows context menu entry.
That command points to the modified UnRen .bat file and executes it.
It was modified to set the working folders properly.
Been using this since.. forever, since I was too lazy to copy the UnRen file again and again. If you're lazy like me, you'll probably like it.
Original is found here: SOURCE (I used a modified version of it since it seems more up to date)
Source code for this app can also be found here:

How to use

1. Run `createAddCtxMenu.bat` (do it in a console to get logs)
2. A `registerContextMenu.reg` file will be generated; run it
3. Now a new context menu should pop up when you right-click a folder - use it to run UnRen
It should work as long as you click on the game's main folder or the `game` folder in it.

How do I update this?

If you have git, you can use `git pull`, if not, just download the new release files.

What did I modify in the UnRen.bat?

Windows passes the selected folder into the UnRen.bat file as a `%~1` positional argument, but that is never used in the original UnRen.bat versions. I'm simply using the passed in argument to set the current directory to the selected folder.


EDIT:
- Updated it to use a .bat file to create the .reg file instead.
- Now uses a more up to date version of UnRen.bat
 
Last edited:
Aug 5, 2016
40
46
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
Made this modded version compatible with running from context menu