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

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
Roveir
Newbie
Posts: 7
Joined: Fri Jul 17, 2015 12:39 pm
Contact:

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

#1 Post 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.

User avatar
PyTom
Ren'Py Creator
Posts: 16088
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

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

#2 Post 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.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Roveir
Newbie
Posts: 7
Joined: Fri Jul 17, 2015 12:39 pm
Contact:

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

#3 Post 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?

User avatar
PyTom
Ren'Py Creator
Posts: 16088
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

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

#4 Post by PyTom »

basically, you run it, telling it to capture events, run the game, and then save the output it produces.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Roveir
Newbie
Posts: 7
Joined: Fri Jul 17, 2015 12:39 pm
Contact:

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

#5 Post 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?

User avatar
PyTom
Ren'Py Creator
Posts: 16088
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

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

#6 Post by PyTom »

Can you zip it up and email it to pytom@bishoujo.us, so I can take a look at it?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Roveir
Newbie
Posts: 7
Joined: Fri Jul 17, 2015 12:39 pm
Contact:

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

#7 Post by Roveir »

Ok! I just sent it to you.

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

Thank you.

User avatar
Samu-kun
King of Moé
Posts: 2262
Joined: Mon Sep 03, 2007 3:49 pm
Organization: Love in Space Inc
Location: United States
Contact:

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

#8 Post 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.

User avatar
PyTom
Ren'Py Creator
Posts: 16088
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

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

#9 Post 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.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Roveir
Newbie
Posts: 7
Joined: Fri Jul 17, 2015 12:39 pm
Contact:

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

#10 Post 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.

User avatar
PyTom
Ren'Py Creator
Posts: 16088
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

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

#11 Post by PyTom »

Can you drop this environment.txt file in the base directory (the one containing the exe file)?
Attachments
environment.txt
(27 Bytes) Downloaded 123 times
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Roveir
Newbie
Posts: 7
Joined: Fri Jul 17, 2015 12:39 pm
Contact:

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

#12 Post 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!

User avatar
PyTom
Ren'Py Creator
Posts: 16088
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

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

#13 Post by PyTom »

Although I don't know how, you can probably set it as a global environment variable.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Roveir
Newbie
Posts: 7
Joined: Fri Jul 17, 2015 12:39 pm
Contact:

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

#14 Post by Roveir »

Setting it as an environment variable worked perfectly. Thank you again!

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot]