Page 1 of 1

Can't get any ren'py game to work anymore

Posted: Fri Jul 17, 2015 12:48 pm
by Roveir
Apparently I'm not the first guy with this issue, but I'm trying to find solutions for this in days and cannot find anything that helps me.

The problem is as simple as the title describes. I try to execute any game that uses the ren'py engine and it simply doesn't work and doesn't show me any message error. The only thing I can see is a task in the task manager that stays up for 4 or 5 seconds and then vanishes.

It used to work before, I'm not sure what I did to get this. All I know is that I recently installed Visual Studio 2013 and some games through steam. I use Windows 7 64 bits.

Re: Can't get any ren'py game to work anymore

Posted: Fri Jul 17, 2015 12:52 pm
by PyTom
A couple of things to try:

What is the full path to the game? If it's not representable in the system encoding, you'll get a crash like this.

Is there a log.txt, traceback.txt, or errors.txt file created?

Do you have any "game enhancer" programs installed? Some of those inject code that can cause problem.

Beyond that, you might want to use process monitor to log the startup, and see what happens.

Re: Can't get any ren'py game to work anymore

Posted: Fri Jul 17, 2015 3:10 pm
by Roveir
Thank you for answering, but I still need some help.

The full path to the game just contains A-Z characters and some spaces, and it was working before in the same folder, so I don't think this is the problem.

There is a file named log.txt, but it has nothing written in it. There isn't any file named traceback.txt or errors.txt.

I never installed any game enhancer program in this machine.

I just downloaded the process monitor, how can I get a log from there?

Re: Can't get any ren'py game to work anymore

Posted: Fri Jul 17, 2015 4:20 pm
by PyTom
basically, you run it, telling it to capture events, run the game, and then save the output it produces.

Re: Can't get any ren'py game to work anymore

Posted: Sun Jul 19, 2015 7:44 pm
by Roveir
Ok. I just saved the output it produces, but it shows me thousands of lines describing the execution of renpy.exe and I have no idea what to look for. What should I do now?

Re: Can't get any ren'py game to work anymore

Posted: Mon Jul 20, 2015 12:10 am
by PyTom
Can you zip it up and email it to pytom@bishoujo.us, so I can take a look at it?

Re: Can't get any ren'py game to work anymore

Posted: Mon Jul 20, 2015 5:15 pm
by Roveir
Ok! I just sent it to you.

Please notify me here if you find out what's happening.

Thank you.

Re: Can't get any ren'py game to work anymore

Posted: Mon Jul 20, 2015 5:32 pm
by Samu-kun
I am also tracking an identical bug report on renpy 6.99.1.329. None of the regular solutions seemed to work, including holding shift at startup and deleting and installing a fresh copy.

Re: Can't get any ren'py game to work anymore

Posted: Mon Jul 20, 2015 6:04 pm
by PyTom
Hm... can you try unplugging any joysticks, gamepads, tablets, or similar devices? There's a usb device with VID 9512 and PID 9512 that's causing this problem, but I can't find that device in any database.

Re: Can't get any ren'py game to work anymore

Posted: Mon Jul 20, 2015 6:54 pm
by Roveir
Well that's weird... Because the only plugged usb device is my mouse, and Ren'py still doesn't work when I unplug it.

Re: Can't get any ren'py game to work anymore

Posted: Mon Jul 20, 2015 7:56 pm
by PyTom
Can you drop this environment.txt file in the base directory (the one containing the exe file)?

Re: Can't get any ren'py game to work anymore

Posted: Mon Jul 20, 2015 11:57 pm
by Roveir
Ok it worked!!! \o/

Do I have to drop this .txt in all Ren'Py game directories now, or can I set this RENPY_DISABLE_JOYSTICK somewhere else in the system to make it work without the need of the txt file?

Thank you very much anyway! You are awesome!

Re: Can't get any ren'py game to work anymore

Posted: Tue Jul 21, 2015 12:31 am
by PyTom
Although I don't know how, you can probably set it as a global environment variable.

Re: Can't get any ren'py game to work anymore

Posted: Tue Jul 21, 2015 10:42 am
by Roveir
Setting it as an environment variable worked perfectly. Thank you again!