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

5.00 star(s) 9 Votes

fortuna95

Lezz kiss for peace!
Donor
Feb 7, 2018
3,946
19,622
750
This happens all without user interaction? :unsure: Which unren version do you use, your win version, how do you start unren and does this only with this game happen?
yep, without, and it's not only this game :(
Unren is fresh from here and windows: Screenshot 2025-09-17 145600.png
It sometimes closes by itself after starting up or when I move the window. Strange!
 

Madeddy

Well-Known Member
Dec 17, 2017
1,016
735
244
Thats a recent win11, hm.
The unren from this thread, version 1.0.11 is unmaintained, a bit rusty and only usable for older Ren'Py games(pre 8.3 or so). You need to look in the other unren thread for the recent unren version from joelurmel.
 
  • Like
Reactions: fortuna95

fortuna95

Lezz kiss for peace!
Donor
Feb 7, 2018
3,946
19,622
750
Just a guess, do you have any game pads plugged in? I had similar probs with xbox controller plugged in (but in other situation). Try unplug all not used devices like those gamepad and run it again.
I had it in, but without it's the same.
And if you answer N, does it start ?
nope, window closes immediately afterwards.

Edit: scanned my PC with WinSecurity and Malwarebytes -> deleted "LDplayer PUP", deinstalled it and unplugged all USB - started WIN new: same problem! :(
 
Last edited:
  • Thinking Face
Reactions: pepplez

Madeddy

Well-Known Member
Dec 17, 2017
1,016
735
244
I think you need to get the flea-circus out of your keyboard. They're pressing keys! :LOL:

Ok, earnestly. I never seen anything like this, except that recently TAB on my keyboard gets stuck for whatever reason. Maybe a shitty keyboard or just dirt in it. Maybe its similar in your case.

You can try and rattle/press the strg and c keys abit and see if they stop then. Or you can try to open a simple new txt file and type some stuff in it and see if the same as with unren there also happens.
 

fortuna95

Lezz kiss for peace!
Donor
Feb 7, 2018
3,946
19,622
750
You can try and rattle/press the strg and c keys abit and see if they stop then. Or you can try to open a simple new txt file and type some stuff in it and see if the same as with unren there also happens.
Tried it both: same problem and no, "Control C" is not in text file or other stuff. Something is broken with batch.

here my try with old unren:
Screenshot 2025-09-18 130124.png
(it's all autom., no pressed enter or other buttons :/

Maybe I can change something in the registry?
 

ZenoMod

Well-Known Member
Nov 12, 2022
1,657
2,083
386
Tried it both: same problem and no, "Control C" is not in text file or other stuff. Something is broken with batch.

here my try with old unren:
View attachment 5259937
(it's all autom., no pressed enter or other buttons :/

Maybe I can change something in the registry?

If something was broken within the batch, everyone would experience this isssue.
It works fine for me.

1758214888705.png

A few thing I notice:
1758216042062.png
1758216002112.png
  1. Your terminal seems to have received two SIGINT interrupts (the two ^C in the red circles)
  2. You don't seem to have typed n followed by return after the German equivalent of the question Terminate batch job (Y/N)? (only blanks after the question - Green arrow) - while if I try to simulate your issue by running the batch in the wrong folder and pressing Ctrl+C to manually send a SIGNINT to the terminal, then I have to digit n followed by return to let the script continue and then a second return to let the program print the error message because it can't find Python (Green square).

First of all I suggest you to copy UnRen.bat in the base folder of the game (the folder where the .exe is), like this:
1758216157193.png
and to launch the script from that folder.
 
Last edited:

ZenoMod

Well-Known Member
Nov 12, 2022
1,657
2,083
386
(it's all autom., no pressed enter or other buttons :/
That's even weirder.

When the batch is launched and it asks you the question it asked you in your screenshot, if you don't do anything it simply waits forever.

To give you the
Code:
! Error: Cannot locate python directory, unable to continue.
                 Are you sure we're in the game's root directory?

.                       Press any key to exit...
error messages the terminal must have received an interrupt as if return was hit.

Please download the attached TerminalTest.bat.txt , rename it TerminalTest.bat, and run it.

It's just an infinite loop that writes the time once per second.
The normal output is the following:
1758217107241.png

Do you get any ^C in your output?
 
  • Like
Reactions: fortuna95

fortuna95

Lezz kiss for peace!
Donor
Feb 7, 2018
3,946
19,622
750
First of all I suggest you to copy UnRen.bat in the base folder of the game (the folder where the .exe is), like this:
View attachment 5261016
and to launch the script from that folder.
It's always in the game base folder. I used Unren since 5-6 years and no problems so far.
It's just an infinite loop that writes the time once per second.
The normal output is the following:
View attachment 5261046
Do you get any ^C in your output?
No! It's the same behaviour, like in your screenshot. In "command prompt", too.
 

ZenoMod

Well-Known Member
Nov 12, 2022
1,657
2,083
386
It's always in the game base folder. I used Unren since 5-6 years and no problems so far.

No! It's the same behaviour, like in your screenshot. In "command prompt", too.
That's weird.
But since you used it with no problems before and even the old release has the issue on your computer now, clearly something changed in the configuration of your computer.

Maybe drivers, maybe an antivirus, maybe a faulty keyboard.
If you're using a desktop PC with no built-in keyboard, you could try to physically disconnect any keyboard and running UnRen-forallv.bat by double-clicking it. If the issue was caused by a faulty keyboard, this should fix it.

If it's caused from something else, sorry... I'm out of ideas.
 

pepplez

Well-Known Member
Jun 7, 2020
1,044
1,409
307
No! It's the same behaviour, like in your screenshot. In "command prompt", too.
If other .bat files run correctly, your connected devices do not send any (strange) commands or key combinations such as ctrl+c, then the only logical conclusion seems to be that your unren.bat file itself is damaged. Download it again and try that.
 
Last edited:

ZenoMod

Well-Known Member
Nov 12, 2022
1,657
2,083
386
the SHA256 hash of my working UnRen-forall.bat forall(v9.4) (240216) is:

6255AEEAB0013AF2898EAF22592710F59C9357A6A6C80EC4B7D134FB6B76D3C4

You can calculate the hash of yours by opening a PowerShell terminal in the folder where it's located and giving the following command:

Code:
Get-FileHash .\UnRen-forall.bat -Algorithm SHA256
 

joelurmel

Engaged Member
Nov 3, 2022
2,705
4,756
397
Tried it both: same problem and no, "Control C" is not in text file or other stuff. Something is broken with batch.

here my try with old unren:
View attachment 5259937
(it's all autom., no pressed enter or other buttons :/

Maybe I can change something in the registry?
If all UnRen have the same problem, do you really think all of these scripts have a problem...
Do you have Ditto or AutoHotKey installed? Or a wrong PATH to cmd.exe? This can be the cause.
 
Last edited:

fortuna95

Lezz kiss for peace!
Donor
Feb 7, 2018
3,946
19,622
750
Thanks 4 your help so far!

I think I know what the problem is, but I can't solve it. Google didn't help either. For about two weeks I guess, the Win photo viewer has been repeatedly displaying “copied to clipboard.” I've never had this before, and it's annoying. I couldn't find a solution, so I left it alone for the time being, thinking it might go away on its own. Now I remembered that this maybe causes the batch problem because the command for the clipboard is Ctrl+C.

1758538988795.png
But I couldn't find an automatic function in System/Clipboard, so I couldn't disable it. So either it's because of the last Windows update or something is broken on my computer, causing repeated Ctrl+C commands?

1758539057019.png
So, in order to move forward, I should first solve the picture problem: every time I open a picture or change something in the picture, “copied to clipboard” appears. How can I disable this?
 

pepplez

Well-Known Member
Jun 7, 2020
1,044
1,409
307
So either it's because of the last Windows update or something is broken on my computer, causing repeated Ctrl+C commands?
To be honest, I suspect it's some kind of (bad written) keylogger/clipboard logger, but then it shouldn't be possible to execute infinite loops in batch files, which apparently work as you say.
 

fortuna95

Lezz kiss for peace!
Donor
Feb 7, 2018
3,946
19,622
750
I tried all of your AI suggestions from PM, without success. Then I disabled “Automatically copy changes” in the snipping tool. I thought THAT was the solution, but screenshots are still being copied automatically when editing - weird and something is really broken!

1758543269202.png

By the way, it's not the keyboard either, because I unplugged it, same problem.
Now I'm trying to repair Windows. If that doesn't work, I'll probably have to reinstall it :(
 

pepplez

Well-Known Member
Jun 7, 2020
1,044
1,409
307
I tried all of your AI suggestions from PM, without success. Then I disabled “Automatically copy changes” in the snipping tool. I thought THAT was the solution, but screenshots are still being copied automatically when editing - weird and something is really broken!

View attachment 5274213

By the way, it's not the keyboard either, because I unplugged it, same problem.
Now I'm trying to repair Windows. If that doesn't work, I'll probably have to reinstall it :(
Before you reinstall windows, try this batch file again. Maybe let it run for 5 Minutes and see what happens.
As told before, unplug all devices which are not used, maybe even the mouse (a gaming mouse can be programmed too) and navigate with keys only.
If this all doesn't help, no clue.
 
  • Like
Reactions: fortuna95
5.00 star(s) 9 Votes