Page 8 of 10

Re: Ren'Py 6.15 Pre-Releases

Posted: Sun Mar 03, 2013 4:01 am
by Jake
SundownKid wrote:I'm also getting a crash bug when I reload for some reason.
The exception being...?

I get crash bugs upon reload all the time, when I write classes that don't pickle!

Re: Ren'Py 6.15 Pre-Releases

Posted: Sun Mar 03, 2013 8:44 am
by nyaatrap
PyTom wrote:I just uploaded Ren'Py 6.15.0.274 to the prerelease channel.

This fixes nyaatrap's problem, and I think I might have also fixed Sundownkid's in the process... I don't yet quite understand what was wrong, but I think both bugs might be related to the same timing problem. It's worth trying out.

It also fixes a problem where rolling back in nvl mode when a non-default language was active would cause a line of dialogue to be repeated, and a compatibility problem with older games.
Thanks it's perfect. I've noticed this bug a long time ago, but I didn't know how to explain details (like as SundownKid troubled to explain) so I putted off reporting.

Re: Ren'Py 6.15 Pre-Releases

Posted: Sun Mar 03, 2013 6:34 pm
by ScottySeng
This is minor, but if you update to 6.15.0.274 and hit update, it will ask if you want to update (More like downgrade) to 6.141.366

Re: Ren'Py 6.15 Pre-Releases

Posted: Sun Mar 03, 2013 6:45 pm
by PyTom
That should be fixed now.

Re: Ren'Py 6.15 Pre-Releases

Posted: Mon Mar 04, 2013 12:25 am
by ScottySeng
@ PyTom

It's working fine now. Thanks

Re: Ren'Py 6.15 Pre-Releases

Posted: Mon Mar 04, 2013 1:27 am
by PyTom
For the record, 6.15 has been released.

Re: Ren'Py 6.15 Pre-Releases

Posted: Mon Mar 04, 2013 5:03 am
by jack_norton
Just wanted to make sure that isn't some weird behavior of my version: when building for all targets, the lib subdirectory is 52mb !? is that right? :shock:

Re: Ren'Py 6.15 Pre-Releases

Posted: Mon Mar 04, 2013 5:13 am
by jack_norton
Also, just tried building BH2 for Mac, game started on windowed and then pressed F key to switch to fullscreen and game crashed with:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00start.rpy", line 122, in script call
  File "game/script.rpy", line 229, in script
Exception: Could not set video mode.

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

Full traceback:
  File "/Users/celsoriva/Desktop/dist/BionicHeart2-0.8-mac/Bionic Heart 2.app/Contents/Resources/autorun/renpy/bootstrap.py", line 254, in bootstrap
    renpy.main.main()
  File "/Users/celsoriva/Desktop/dist/BionicHeart2-0.8-mac/Bionic Heart 2.app/Contents/Resources/autorun/renpy/main.py", line 328, in main
    run(restart)
  File "/Users/celsoriva/Desktop/dist/BionicHeart2-0.8-mac/Bionic Heart 2.app/Contents/Resources/autorun/renpy/main.py", line 90, in run
    renpy.execution.run_context(True)
  File "/Users/celsoriva/Desktop/dist/BionicHeart2-0.8-mac/Bionic Heart 2.app/Contents/Resources/autorun/renpy/execution.py", line 505, in run_context
    context.run()
  File "/Users/celsoriva/Desktop/dist/BionicHeart2-0.8-mac/Bionic Heart 2.app/Contents/Resources/autorun/renpy/execution.py", line 288, in run
    node.execute()
  File "/Users/celsoriva/Desktop/dist/BionicHeart2-0.8-mac/Bionic Heart 2.app/Contents/Resources/autorun/renpy/ast.py", line 1102, in execute
    renpy.exports.with_statement(trans, paired)
  File "/Users/celsoriva/Desktop/dist/BionicHeart2-0.8-mac/Bionic Heart 2.app/Contents/Resources/autorun/renpy/exports.py", line 941, in with_statement
    return renpy.game.interface.do_with(trans, paired, clear=clear)
  File "/Users/celsoriva/Desktop/dist/BionicHeart2-0.8-mac/Bionic Heart 2.app/Contents/Resources/autorun/renpy/display/core.py", line 1526, in do_with
    clear=clear)
  File "/Users/celsoriva/Desktop/dist/BionicHeart2-0.8-mac/Bionic Heart 2.app/Contents/Resources/autorun/renpy/display/core.py", line 1838, in interact
    repeat, rv = self.interact_core(preloads=preloads, **kwargs)
  File "/Users/celsoriva/Desktop/dist/BionicHeart2-0.8-mac/Bionic Heart 2.app/Contents/Resources/autorun/renpy/display/core.py", line 2123, in interact_core
    self.set_mode()
  File "/Users/celsoriva/Desktop/dist/BionicHeart2-0.8-mac/Bionic Heart 2.app/Contents/Resources/autorun/renpy/display/core.py", line 1389, in set_mode
    raise Exception("Could not set video mode.")
Exception: Could not set video mode.

Darwin-12.2.0-x86_64-i386-64bit
Ren'Py 6.15.0.274
 0.8
The weird thing is that tried again changing it from option screens, and this time worked. Then, all other attempt both with option and pressing F worked fine. It was only that time that crashed!

Re: Ren'Py 6.15 Pre-Releases

Posted: Mon Mar 04, 2013 6:10 am
by jack_norton
Another weird behavior, on Windows this time:
1) I start the game windowed and press F, doesn't crash, but when I press again F the window is BIGGER than the original one. For example was 1280x720, and when got back wasn't that original size
2) going in options screen and toggling windowed/fullscreen twice instead returned the right windowed size

so maybe the F key has some problems (see previous Mac bug)? not a big deal but thought to let you know!

Re: Ren'Py 6.15 Pre-Releases

Posted: Mon Mar 04, 2013 10:08 am
by nyaatrap
This may not a bug anymore but I think I should mention this for someone who got the same issue to me. Config.image_cache now works in ren'py scripts in 6.15, but not in python scripts. When I executed many renpy.show in a python block, there's possibility to reach at the memory crash.

Re: Ren'Py 6.15 Pre-Releases

Posted: Mon Mar 04, 2013 10:19 am
by PyTom
jack_norton wrote:Just wanted to make sure that isn't some weird behavior of my version: when building for all targets, the lib subdirectory is 52mb !? is that right? :shock:
Yes.

The difference is that some of the mac files that used to be inside the renpy.app package have moved into the lib directory, so one has shrunk and the other has grown.

Re: Ren'Py 6.15 Pre-Releases

Posted: Mon Mar 04, 2013 10:21 am
by PyTom
nyaatrap wrote:This may not a bug anymore but I think I should mention this for someone who got the same issue to me. Config.image_cache now works in ren'py scripts in 6.15, but not in python scripts. When I executed many renpy.show in a python block, there's possibility to reach at the memory crash.
If you can put together a demo of this, I can look into it.

Re: Ren'Py 6.15 Pre-Releases

Posted: Mon Mar 04, 2013 10:51 am
by nyaatrap
It's a wild guess while debugging my game since there are still many bugs in my game. It's hard to extract the core issue in this stage, but I'll investigate it along with debugging.
For your information, the memory crash occurred while executing this code:

Code: Select all

init python:
    def load(list):
        for i in list:
            renpy.show(i, layer="load")
            renpy.pause(0.000001, hard=True)
            renpy.hide(i, layer="load")

Re: Ren'Py 6.15 Pre-Releases

Posted: Thu Mar 07, 2013 11:21 am
by nyaatrap
hmmm. I think a memory leaking problem maybe came from Intel Core Processor chipset. Somewhat it tries to consume any available RAM - even it' over 2GB.
The weird thing is, I never met this problem on other applications. Only Ren'py has this leaking problem.

Re: Ren'Py 6.15 Pre-Releases

Posted: Wed Mar 13, 2013 1:20 am
by nyaatrap
I think I found a problem of the out of memory error.
It's skip. While skipping, or loading images pretty fast, bail out couldn't occur.