Ren'Py 6.14 Pre-Releases

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Message
Author
User avatar
Hijiri
Eileen-Class Veteran
Posts: 1519
Joined: Sun Mar 25, 2012 6:35 pm
Completed: Death Rule:lost code Overdrive Edition, Where the White Doves Rest-Tsumihanseishi
Projects: Death Rule: Killing System
Organization: MESI Games
IRC Nick: Hizi
Tumblr: mesigames
Skype: kurotezuka
itch: hijiri
Location: Los Angeles
Contact:

Re: Ren'Py 6.14 Pre-Releases

#61 Post by Hijiri »

Image
Image Image
"Perfection goal that always changes. Can pursue, cannot obtain."

User avatar
PyTom
Ren'Py Creator
Posts: 16096
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: Ren'Py 6.14 Pre-Releases

#62 Post by PyTom »

Thanks. I'll work on a fix tonight.
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

User avatar
Camille
Eileen-Class Veteran
Posts: 1227
Joined: Sat Apr 23, 2011 2:43 pm
Completed: Please see http://trash.moe
Projects: the head well lost
Organization: L3
Tumblr: narihira
Deviantart: crownwaltz
itch: lore
Contact:

Re: Ren'Py 6.14 Pre-Releases

#63 Post by Camille »

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. ^^;

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4085
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: Ren'Py 6.14 Pre-Releases

#64 Post by jack_norton »

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
computer games

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4085
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: Ren'Py 6.14 Pre-Releases

#65 Post by jack_norton »

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
computer games

User avatar
Ziassan
Veteran
Posts: 231
Joined: Thu Jun 09, 2011 8:14 pm

Re: Ren'Py 6.14 Pre-Releases

#66 Post by Ziassan »

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.

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4085
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: Ren'Py 6.14 Pre-Releases

#67 Post by jack_norton »

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
computer games

User avatar
PyTom
Ren'Py Creator
Posts: 16096
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: Ren'Py 6.14 Pre-Releases

#68 Post by PyTom »

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: Select all

init python:
    def voice(fn):
        if not voiced:
            return
        renpy.music.play(fn, channel="voice")
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

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4085
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: Ren'Py 6.14 Pre-Releases

#69 Post by jack_norton »

Cool, thanks that is the best solution :)
follow me on Image Image Image
computer games

User avatar
Samidarenina
Regular
Posts: 137
Joined: Sun Aug 01, 2010 1:21 pm
Contact:

Re: Ren'Py 6.14 Pre-Releases

#70 Post by Samidarenina »

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.

User avatar
PyTom
Ren'Py Creator
Posts: 16096
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: Ren'Py 6.14 Pre-Releases

#71 Post by PyTom »

Well, if it happens again - to anyone - please try to remember what you were doing. Also, please take a screenshot of the numbers.
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

User avatar
PyTom
Ren'Py Creator
Posts: 16096
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: Ren'Py 6.14 Pre-Releases

#72 Post by PyTom »

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: Select all

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 91 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

User avatar
Hijiri
Eileen-Class Veteran
Posts: 1519
Joined: Sun Mar 25, 2012 6:35 pm
Completed: Death Rule:lost code Overdrive Edition, Where the White Doves Rest-Tsumihanseishi
Projects: Death Rule: Killing System
Organization: MESI Games
IRC Nick: Hizi
Tumblr: mesigames
Skype: kurotezuka
itch: hijiri
Location: Los Angeles
Contact:

Re: Ren'Py 6.14 Pre-Releases

#73 Post by Hijiri »

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: Select all

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
Last edited by Hijiri on Sun Jul 29, 2012 11:18 pm, edited 4 times in total.
Image Image
"Perfection goal that always changes. Can pursue, cannot obtain."

User avatar
Camille
Eileen-Class Veteran
Posts: 1227
Joined: Sat Apr 23, 2011 2:43 pm
Completed: Please see http://trash.moe
Projects: the head well lost
Organization: L3
Tumblr: narihira
Deviantart: crownwaltz
itch: lore
Contact:

Re: Ren'Py 6.14 Pre-Releases

#74 Post by Camille »

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.

User avatar
PyTom
Ren'Py Creator
Posts: 16096
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: Ren'Py 6.14 Pre-Releases

#75 Post by PyTom »

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?
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

Post Reply

Who is online

Users browsing this forum: d_21