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 18, 2013 5:37 am

All times are UTC - 5 hours [ DST ]


Forum rules


Ren'Py support questions should go here. This forum is for discussing changes to Ren'Py itself.



Post new topic Reply to topic  [ 117 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Author Message
PostPosted: Sat Jul 28, 2012 5:52 pm 
Eileen-Class Veteran
User avatar

Joined: Sun Mar 25, 2012 6:35 pm
Posts: 1054
Location: [DATA REDACTED]
Completed: My Beautiful AI (GUI), Death Rule: Fear Complex, Amity: One Tale
Projects: Amity: White Package Edition, Death Rule:lost code, Aeternam Conquest: Dual-Chain Rhapsody
Organization: MESI Games (Team Repeated Fear, Team Dead Samurai)
Image

_________________
ImageImage
MESI Games/Personal Twitter/Death Rule: lost code Demo
Hijiri's Law: There will always be a body count.


Top
 Profile Send private message  
 
PostPosted: Sat Jul 28, 2012 6:04 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10766
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
Thanks. I'll work on a fix tonight.

_________________
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 Jul 28, 2012 10:27 pm 
Eileen-Class Veteran
User avatar

Joined: Sat Apr 23, 2011 2:43 pm
Posts: 1086
Completed: Ristorante Amore, The Elevator, SPLENDIDEST OTOGE
Projects: Break Chance Memento, Swan Grimoire
Organization: Cyanide Tea
I'm using a fairly new Mac (2011 iMac) with Mountain Lion and there's no memory leak as far as I can tell. I've left the app open for almost an hour. The app was at 47MB just as it opened, but stabilized at about 55MB and has basically stayed there... It fluctuates between 53.5MB and 54.9MB from time to time, but never goes above 55MB even after I launch a game.

This is the first time I've actually looked at the memory usage for Ren'Py, but as far as I remember using it, I don't think I've ever experienced a slow-down of my computer after keeping the launcher open. Sometimes I'd leave it open for 5-8 hours at a time, too. ^^;

_________________
1/2 of Cyanide Tea | BCM | Ristorante Amore | The Elevator | @Twitter


Top
 Profile Send private message  
 
PostPosted: Sun Jul 29, 2012 4:27 am 
Lemma-Class Veteran
User avatar

Joined: Mon Jul 21, 2008 5:41 pm
Posts: 3396
Projects: Planet Stronghold: Warzone, Loren The Amazon Princess, Queen Of Thieves, DIM, Undead Lily, and more...
I did a new test since previous one was only for 10-15min: started at 79mb, using 7% of CPU even if was idle, after 1hour is stable too, fluctuating between 83-85mb. So it was a false alarm, sorry :oops:

_________________
follow me on Image Image Image Image
computer games


Top
 Profile Send private message  
 
PostPosted: Sun Jul 29, 2012 7:40 am 
Lemma-Class Veteran
User avatar

Joined: Mon Jul 21, 2008 5:41 pm
Posts: 3396
Projects: Planet Stronghold: Warzone, Loren The Amazon Princess, Queen Of Thieves, DIM, Undead Lily, and more...
Was wondering also if was possible to do some callback for the missing audio files? I know is a bad idea, but for example for Bionic Heart I had voiced/unvoiced version, and in the unvoiced simply I was not adding the voices.rpa archive, but I left all the voice statement (was a pain to remove them all from the game). Not a top priority but it would be nice if I could choose what happens when renpy can't find a voice file (like it happens for graphic files). Thanks!

_________________
follow me on Image Image Image Image
computer games


Top
 Profile Send private message  
 
PostPosted: Sun Jul 29, 2012 7:44 am 
Veteran
User avatar

Joined: Thu Jun 09, 2011 8:14 pm
Posts: 220
Having toi deal with this voice/unvoiced thing by the past, I remember using a personalized/customized or rewritten voice function which played the voice only if $voice_version was true. If ever there are no other solutions.


Top
 Profile Send private message  
 
PostPosted: Sun Jul 29, 2012 8:03 am 
Lemma-Class Veteran
User avatar

Joined: Mon Jul 21, 2008 5:41 pm
Posts: 3396
Projects: Planet Stronghold: Warzone, Loren The Amazon Princess, Queen Of Thieves, DIM, Undead Lily, and more...
Hmm yes you're right, with a search/replace for every voice command I could probably solve the problem this way, true!

_________________
follow me on Image Image Image Image
computer games


Top
 Profile Send private message  
 
PostPosted: Sun Jul 29, 2012 12:49 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10766
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
So far, I've been unable to repeat the memory leak on my mac. So far, it looks like for everyone who's provided numbers, Ren'Py has been stable with memory usage, modulo garbage collection.

Samidarenina, did you see it going up with numbers, or is the memory leak more of an impression based on feel?

Re: Voicing

The voice statement is implemented as a call to the voice function. So you can just override the voice function to make it do what you want to.

Code:
init python:
    def voice(fn):
        if not voiced:
            return
        renpy.music.play(fn, channel="voice")

_________________
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: Sun Jul 29, 2012 2:45 pm 
Lemma-Class Veteran
User avatar

Joined: Mon Jul 21, 2008 5:41 pm
Posts: 3396
Projects: Planet Stronghold: Warzone, Loren The Amazon Princess, Queen Of Thieves, DIM, Undead Lily, and more...
Cool, thanks that is the best solution :)

_________________
follow me on Image Image Image Image
computer games


Top
 Profile Send private message  
 
PostPosted: Sun Jul 29, 2012 3:15 pm 
Regular
User avatar

Joined: Sun Aug 01, 2010 1:21 pm
Posts: 137
I definately saw numbers, but I quickly shut down the app when I've noticed it was at fault. The speed returned to normal and I immediately felt sorry for not making a screenshot.
I've tried replicating it, but had no luck so far.


Top
 Profile Send private message  
 
PostPosted: Sun Jul 29, 2012 5:41 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10766
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
Well, if it happens again - to anyone - please try to remember what you were doing. Also, please take a screenshot of the numbers.

_________________
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: Sun Jul 29, 2012 10:30 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10766
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
I've posted 6.14.0.312.

The big improvement in this release is that the updater is a lot more robust to existing files. If you have trouble updating, please download the latest version of the updater (attached, and newer than the one posted above), place it into common, and it should fix things for you.

There was a change to renpy.get_game_runtime, so that it now only includes runtime in the main context. (When the user is playing the game.) Previously, it would include time in the main context and the current menu, which didn't make a lot of sense when called from inside a menu.

Finally, I added a few new screen functions, and changed a few screen actions. The result is that it's now fairly simple to build a save screen where the user can click to create a new save slot, using code like:

Code:
screen file_picker:

    frame:
        style "file_picker_frame"

        yfill True
        xmaximum 400

        has vbox

        # The buttons at the top allow the user to pick a
        # page of files.
        hbox:
            style_group "file_picker_nav"
           
            textbutton _("Saves"):
                action FilePage(1)

            textbutton _("Auto"):
                action FilePage("auto")

            textbutton _("Quick"):
                action FilePage("quick")

        viewport:
            scrollbars "vertical"
            mousewheel True

            has vbox

            textbutton _("+ New Slot") action FileAction(None) xfill True

            for slot in FileUsedSlots(highest_first=(FileCurrentPage() not in [ "auto", "quick" ])):
               
                button:
                    action FileAction(slot)
                    xfill True

                    has hbox

                    # Add the screenshot.
                    add FileScreenshot(slot)
                   
                    # Format the description, and add it as text.
                    $ description = "%s\n%s" % (
                        FileTime(slot),
                        FileSaveName(slot))

                    text description

                    key "save_delete" action FileDelete(i)


Please update to the in-game updater, and let me know if this is working for you. I'm hoping to move to a public pre-release in a day or so, and then get 6.14 out there.

Thanks again to everyone who's been testing these pre-releases.


Attachments:
00updater.rpy [39.19 KiB]
Downloaded 18 times

_________________
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: Sun Jul 29, 2012 10:59 pm 
Eileen-Class Veteran
User avatar

Joined: Sun Mar 25, 2012 6:35 pm
Posts: 1054
Location: [DATA REDACTED]
Completed: My Beautiful AI (GUI), Death Rule: Fear Complex, Amity: One Tale
Projects: Amity: White Package Edition, Death Rule:lost code, Aeternam Conquest: Dual-Chain Rhapsody
Organization: MESI Games (Team Repeated Fear, Team Dead Samurai)
Either I'm doing something wrong, or your updater hates me, because:
Image
Tell me if I should try anything else, otherwise I think I'll just download the update straight from the site and see if anything broken in that one as well.

EDIT: It actually managed to get 1% downloaded before it said "The update could not be downloaded" (This happened after I went to the sdk file I had and put everything from that into my folder, then added the update fix)

EDIT2: Aaand it goes back to not updating at all again.
Code:
running ['C:\\Documents and Settings\\Kira\\Desktop\\renpy\\lib\\windows-x86\\zsync.exe', '-o', 'C:\\Documents and Settings\\Kira\\Desktop\\renpy\\update\\sdk.update.new', '-k', 'C:\\Documents and Settings\\Kira\\Desktop\\renpy\\update\\sdk.zsync', '-i', 'C:\\Documents and Settings\\Kira\\Desktop\\renpy\\update\\sdk.update.new.part.old', '-i', 'C:\\Documents and Settings\\Kira\\Desktop\\renpy\\update\\sdk.update', 'http://update.renpy.org/prerelease/renpy-6.14.0-sdk.zsync']
read: No such file or directory
freespace 64506839040
EOF from /prerelease/renpy-6.14.0-sdk.update.gz
failed to retrieve from renpy-6.14.0-sdk.update.gz
Aborting, download available in C:\Documents and Settings\Kira\Desktop\renpy\update\sdk.update.new.part
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
partfile does not exist
Traceback (most recent call last):
  File "common\00updater.rpy", line 286, in run
  File "common\00updater.rpy", line 377, in update
  File "common\00updater.rpy", line 884, in download
UpdateError: The update file was not downloaded.

Image
This is the file that it apparently says dosen't exist

_________________
ImageImage
MESI Games/Personal Twitter/Death Rule: lost code Demo
Hijiri's Law: There will always be a body count.


Last edited by Hijiri on Sun Jul 29, 2012 11:18 pm, edited 4 times in total.

Top
 Profile Send private message  
 
PostPosted: Sun Jul 29, 2012 11:09 pm 
Eileen-Class Veteran
User avatar

Joined: Sat Apr 23, 2011 2:43 pm
Posts: 1086
Completed: Ristorante Amore, The Elevator, SPLENDIDEST OTOGE
Projects: Break Chance Memento, Swan Grimoire
Organization: Cyanide Tea
After this update, the TODOs don't work quite right... It used to be that clicking on the TODO in the launcher would go straight to that line in the code. Now it opens up the file that the TODO is in, but doesn't go to the specific TODO line anymore.

_________________
1/2 of Cyanide Tea | BCM | Ristorante Amore | The Elevator | @Twitter


Top
 Profile Send private message  
 
PostPosted: Sun Jul 29, 2012 11:16 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10766
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
Hijiri wrote:
Either I'm doing something wrong, or your updater hates me, because:
Image
Tell me if I should try anything else, otherwise I think I'll just download the update straight from the site and see if anything broken in that one as well.

EDIT: It actually managed to get 1% downloaded before it said "The update could not be downloaded" (This happened after I went to the sdk file I had and put everything from that into my folder, then added the update fix)

EDIT2: Aaand it goes back to not updating at all again.


Please post updater/log.txt again, then delete the .part and .old files in the updater directory.

Camille:

There are a couple things I ask you to try:

1) Try hitting refresh on the TODOs screen. Does it fix the problem?

2) Do other screens, like the labels screen, work?

3) Is your editor set to Editra or jEdit, rather than the system editor?

_________________
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  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 117 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users


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