Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.


Visit our new games list, blog aggregator, IRC, and wiki.
Activation problem? Email [email protected]
It is currently Sat May 25, 2013 3:41 am

All times are UTC - 5 hours [ DST ]


Forum rules


Ask questions about one topic per thread, and use a descriptive subject. "NotImplemented error in script.rpy" is a good subject, "Tom's problems" is not. Remember to include all of traceback.txt or error.txt when reporting a problem, as well as the relevant lines of script. Use the [code] tag to format scripts.



Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Renpy games won't work
PostPosted: Wed Apr 25, 2012 5:31 am 
Newbie

Joined: Mon Mar 15, 2010 7:29 pm
Posts: 7
None of my Renpy games work, unfortunately I have no idea what I have done to cause the problem. If any more information is needed please let me know. Below is my traceback for Moonlight, I will also upload the files that are mentioned in the traceback. Thanks in advance for the help.

Code:
I'm sorry, but an exception occured while executing your Ren'Py
script.

error: Unable to open a console terminal

After initialization, but before game start.

-- Full Traceback ------------------------------------------------------------

  File "/home/burdebc/Downloads/visual-novels/moonlight-2.0-linux-x86/renpy/bootstrap.py", line 247, in bootstrap
    renpy.main.main()
  File "/home/burdebc/Downloads/visual-novels/moonlight-2.0-linux-x86/renpy/main.py", line 298, in main
    game.interface = renpy.display.core.Interface()
  File "/home/burdebc/Downloads/visual-novels/moonlight-2.0-linux-x86/renpy/display/core.py", line 1068, in __init__
    self.display = Display(self)
  File "/home/burdebc/Downloads/visual-novels/moonlight-2.0-linux-x86/renpy/display/core.py", line 674, in __init__
    pygame.display.init()
error: Unable to open a console terminal

After initialization, but before game start.

Ren'Py Version: Ren'Py 6.8.1a


Attachments:
File comment: display/core.py
core.py [57.31 KiB]
Downloaded 12 times
File comment: main.py
main.py [8.76 KiB]
Downloaded 8 times
File comment: bootstrap.py
bootstrap.py [11.33 KiB]
Downloaded 7 times
Top
 Profile Send private message  
 
PostPosted: Wed Apr 25, 2012 12:00 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10780
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
What sort of system are you on? Can you post the traceback.txt and log.txt, if any?

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004; Code > Drama
(When was the last time you backed up your game?)
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming" - Theodore Roosevelt


Top
 Profile Send private message  
 
PostPosted: Thu Apr 26, 2012 10:38 pm 
Newbie

Joined: Mon Mar 15, 2010 7:29 pm
Posts: 7
I am currently running Kubuntu 12.04 64 bit. I am using the proprietary driver for my video card which is a Radeon HD4670. The traceback.txt is in the code section in my first post, but I will attach it as well. I don't have any log.txt or error.txt. I hope this helps.


Attachments:
File comment: traceback.txt
traceback.txt [946 Bytes]
Downloaded 12 times
Top
 Profile Send private message  
 
PostPosted: Thu Apr 26, 2012 10:42 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10780
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
Can you try running:

SDL_VIDEODRIVER=x11 ./renpy.sh

?

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004; Code > Drama
(When was the last time you backed up your game?)
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming" - Theodore Roosevelt


Top
 Profile Send private message  
 
PostPosted: Sat May 05, 2012 3:25 am 
Newbie

Joined: Mon Mar 15, 2010 7:29 pm
Posts: 7
PyTom wrote:
Can you try running:

SDL_VIDEODRIVER=x11 ./renpy.sh

?


Sorry, you completely lost me. Can you give me some informaiton about what this command does and how to run it? Thanks.


Top
 Profile Send private message  
 
PostPosted: Sun May 06, 2012 1:31 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10780
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
You open a terminal, change into the directory containing Ren'Py, and enter that command. It tries to force a different video driver, one more likely to work.

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004; Code > Drama
(When was the last time you backed up your game?)
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming" - Theodore Roosevelt


Top
 Profile Send private message  
 
PostPosted: Tue May 22, 2012 5:01 am 
Newbie

Joined: Mon Mar 15, 2010 7:29 pm
Posts: 7
Ok, I got the games working only after I put all of the games into my renpy directory and launched them through ren'py. Before I was simply unpacking the game and opening the script from the file manager. After I realized that the command
Code:
SDL_VIDEODRIVER=x11 ./renpy.sh
actually opened ren'py (which I should have realized as soon as I saw it) I decided to put the games I have downloaded where the "default" (i.e.: the question) games go and they launched. I can now simply open ren'py and launch any game I want, but the sound doesn't work. I think I started having issues with games not working after I tried to get 5.1 surround sound to work properly with all of my anime videos. I can't remember the tutorial I followed off hand that may have caused the issue, but once I find it I will post it. Lastly on my computer ren'py is installed as renpy.py, so I had to change the command to suit. Thanks for your help.


Top
 Profile Send private message  
 
PostPosted: Wed May 23, 2012 2:39 am 
Newbie

Joined: Mon Mar 15, 2010 7:29 pm
Posts: 7
I just downloaded the latest version of ren'py and ran the "SDL_VIDEODRIVER=x11 ./renpy.sh" command to open ren'py and got the following in my terminal:

Code:
ALSA lib conf.c:3314:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default


Top
 Profile Send private message  
 
PostPosted: Wed May 23, 2012 3:39 am 
Newbie

Joined: Mon Mar 15, 2010 7:29 pm
Posts: 7
I have managed to get things working somewhat. I can get games working simply by double-clicking the script for the games by installing lib32asound2, but I still have no sound. I also had problems with intro videos playing but that was cured by installing Kubuntu Restricted Extras. The trick to getting the videos working came from the following forum:

http://ks.renai.us/viewtopic.php?f=45&t=6320

The problem discussed here is identical to the problem I am having. I have also followed the proposed fixes to get sound back to no avail. However, I can run the windows version of ren'py through wine and get sound that way, but videos and transitions are a bit choppy so I would really like to play games through the natively in linux.


Top
 Profile Send private message  
 
PostPosted: Wed May 23, 2012 8:57 am 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10780
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
There's a couple things to try here. The first is to try installing the ia32-libs package, which includes things required to make Ren'Py work.

I just tried downloading Moonlight Walks to my Ubuntu system, and it started up fine.

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004; Code > Drama
(When was the last time you backed up your game?)
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming" - Theodore Roosevelt


Top
 Profile Send private message  
 
PostPosted: Thu May 24, 2012 3:54 am 
Newbie

Joined: Mon Mar 15, 2010 7:29 pm
Posts: 7
Everything working fine now. Thanks. This saves me from having to reinstall. Lastly it may be a good idea to start a support section for people like me who know just enough to be dangerous. Though I have no idea how often this happens and how much there really is to screw up.


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Myron


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group