unren not working sometimes... why?

javikaston

Well-Known Member
Game Developer
Oct 25, 2019
1,359
1,784
hello.

for 95 percent of the time unren works as it suppose it.
then there are times where it doesn't for some reason. and for the reason it gives for not working are false.

Here's what it looks like what unren is working correctly.

working right.png


Heres the message I get when its not working.

why n6t.png
the unren app is obv in the game folder. and when I look for python.exe its in the folder.

What are some reasons why this could happen.
any suggestions on how to fix it
 
  • Like
Reactions: clowns234

MissFortune

I Was Once, Possibly, Maybe, Perhaps… A Harem King
Respected User
Game Developer
Aug 17, 2019
5,380
8,652
Try this one (attached). But don't put it in the "game" folder. Leave it in the folder where the game's .exe file is. I believe the issue roots from some newer VNs using Ren'py 8.
 

rayminator

Engaged Member
Respected User
Sep 26, 2018
3,130
3,194
that's because the unren that you are using is out of date

download version UnRen-1.0.8 instead of UnRen-v0.91

the rpy and rpyc files are located in games/script or games/????

UnRen-v0.91 can't read the files that are in other folders
 

Raejyn

Newbie
Oct 10, 2020
46
35
Sometimes it has to do with the file structure. Folders specifically. For instance, one time i copied a game folder. So, instead of

SomeRandomVN-0.65

it was

SomeRandomVN-0.65 - copy

The UnRen.bat would not find it until i renamed it to

SomeRandomVN-0.65-2

Pretty sure it just has to do with the maximum path length, but I'm way out of practice with my computer shit.
 

Madeddy

Active Member
Dec 17, 2017
841
491
@Raejyn the last post of this thread was One year and 10 months ago, so you basically resurrected a corpse. Please look always at the date of last activity.
Beside this you're right: With windows CLI tools one should hold path names simple. Underscores instead whitespace and just letters and numbers is a good practice for example. Hyphen is also ok.

Greets
 

ElPiti

Newbie
Sep 13, 2018
73
78
Yo, I fixed mine by updating the file path to python.exe on the bat file.

Edit the bat fie with something like notepadd++, search for the error message "cannot locate python ..." It'll take you where directories/dir are defined.

Replace the path for pythondir with text in bold below:
set "pythondir=%currentdir%lib\py3-windows-x86_64\"

That's where Renpy now has python.exe, save the file and you should be good to go.