Ren'Py 6.13 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
papillon
Arbiter of the Internets
Posts: 4104
Joined: Tue Aug 26, 2003 4:37 am
Completed: lots; see website!
Projects: something mysterious involving yuri, usually
Organization: Hanako Games
Tumblr: hanakogames
Contact:

Re: Ren'Py 6.13 Pre-Releases

#91 Post by papillon » Sun Sep 04, 2011 1:55 pm

We're still getting a couple of customers for MD that can't even launch games until they're taught the software-mode-switch trick; not MANY, but then, most people who can't launch the demo probably just delete it and don't tell me. IIRC the last one was a windows 7 user, not exactly an ancient computer...

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4067
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.13 Pre-Releases

#92 Post by jack_norton » Sun Sep 04, 2011 2:06 pm

PyTom wrote: Actually, it will try DX, but if it fails, it won't report an error - it will try GL. On windows, we prefer DX when both are available, because DX is often better. Your DX is out of date - you can fix that by running the setup program in the lib directory (but watch out for the bing toolbar).
edit: nevermind read badly what you wrote :D I've downloaded the DX9 and will test it now.
papillon wrote:We're still getting a couple of customers for MD that can't even launch games until they're taught the software-mode-switch trick; not MANY, but then, most people who can't launch the demo probably just delete it and don't tell me. IIRC the last one was a windows 7 user, not exactly an ancient computer...
Yes same here, that's why the Angle/DX port is a very good news - if an user doesn't have both GL AND DX working, then I don't know how he/she can play ANY game :mrgreen:
follow me on Image Image Image
computer games

User avatar
PyTom
Ren'Py Creator
Posts: 15893
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.13 Pre-Releases

#93 Post by PyTom » Sun Sep 04, 2011 2:13 pm

jack_norton wrote:Yes same here, that's why the Angle/DX port is a very good news - if an user doesn't have both GL AND DX working, then I don't know how he/she can play ANY game :mrgreen:
What's more, by including the DX installer, if both GL and DX fail, there's a really obvious fix.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4067
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.13 Pre-Releases

#94 Post by jack_norton » Sun Sep 04, 2011 2:17 pm

I still have that bug:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/story.rpy", line 62, in script
        python:
  File "game/story.rpy", line 73, in python
            rx=ui.interact()
Exception: Can't display False as Text.

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

Full traceback:
  File "C:\download\renpy-6.13.0\renpy\execution.py", line 261, in run
  File "C:\download\renpy-6.13.0\renpy\ast.py", line 630, in execute
  File "C:\download\renpy-6.13.0\renpy\python.py", line 977, in py_exec_bytecode
  File "game/story.rpy", line 73, in <module>
  File "C:\download\renpy-6.13.0\renpy\ui.py", line 237, in interact
  File "C:\download\renpy-6.13.0\renpy\display\core.py", line 1788, in interact
  File "C:\download\renpy-6.13.0\renpy\display\core.py", line 1940, in interact_core
  File "C:\download\renpy-6.13.0\renpy\display\predict.py", line 51, in displayable
  File "C:\download\renpy-6.13.0\renpy\display\core.py", line 245, in visit_all
  File "C:\download\renpy-6.13.0\renpy\display\core.py", line 245, in visit_all
  File "C:\download\renpy-6.13.0\renpy\display\core.py", line 245, in visit_all
  File "C:\download\renpy-6.13.0\renpy\display\core.py", line 242, in visit_all
  File "C:\download\renpy-6.13.0\renpy\text\text.py", line 1140, in visit
  File "C:\download\renpy-6.13.0\renpy\text\text.py", line 1126, in update
  File "C:\download\renpy-6.13.0\renpy\text\text.py", line 1336, in tokenize
Exception: Can't display False as Text.

Windows-post2008Server-6.1.7601-SP1
Ren'Py 6.13.0.1594
in the code:

Code: Select all

    python:
        with ui.vbox(xalign=0.5):
            ui.text("Select your hero",size=48,style="bix",xalign=0.5,ypos=0)
            with ui.hbox():
                img=im.FactorScale("gfx/chars/joshua.png",0.5)
                tt=Tooltip("{size=36}Click to select Joshua Nelson.{/size}\n\nThis choice will only influence the romance options inside the game, both characters can be any class and have no particular gender-specific limitations.")
                ui.imagebutton(im.Grayscale(img),img,clicked=ui.returns(0),hovered=tt.show, unhovered=tt.hide)
                img=im.FactorScale("gfx/chars/lisa.png",0.5)
                tt=Tooltip("{size=36}Click to select Lisa Nelson.{/size}\n\nThis choice will only influence the romance options inside the game, both characters can be any class and have no particular gender-specific limitations.")
                ui.imagebutton(im.Grayscale(img),img,clicked=ui.returns(1),hovered=tt.show, unhovered=tt.hide)
                
        rx=ui.interact()
        genhelp=0
    if rx==0:
        $ he="he";his="his";him="him";He="He";His="His";mainc="i_joshua";pname="Joshua Nelson";rpgc="joshua";spn="Joshua"
    else:
        $ he="she";his="her";him="her";He="She";His="Her";mainc="i_lisa";pname="Lisa Nelson";rpgc="lisa";spn="Lisa"
    $ chapter = "Chapter 1: The Arrival";_game_menu_screen = "battlesave"
follow me on Image Image Image
computer games

User avatar
PyTom
Ren'Py Creator
Posts: 15893
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.13 Pre-Releases

#95 Post by PyTom » Sun Sep 04, 2011 2:31 pm

Can you try a shift+U update? This was a different (but related) prediction error. It's hard to tell if it's corresponding to a bug in your code, or if it's just aggressive prediction.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4067
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.13 Pre-Releases

#96 Post by jack_norton » Sun Sep 04, 2011 2:40 pm

Same bug (I think):

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/story.rpy", line 62, in script
        python:
  File "game/story.rpy", line 73, in python
            rx=ui.interact()
Exception: Can't display False as Text.

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

Full traceback:
  File "C:\download\renpy-6.13.0\renpy\execution.py", line 261, in run
  File "C:\download\renpy-6.13.0\renpy\ast.py", line 630, in execute
  File "C:\download\renpy-6.13.0\renpy\python.py", line 977, in py_exec_bytecode
  File "game/story.rpy", line 73, in <module>
  File "C:\download\renpy-6.13.0\renpy\ui.py", line 237, in interact
  File "C:\download\renpy-6.13.0\renpy\display\core.py", line 1788, in interact
  File "C:\download\renpy-6.13.0\renpy\display\core.py", line 2026, in interact_core
  File "C:\download\renpy-6.13.0\renpy\display\core.py", line 245, in visit_all
  File "C:\download\renpy-6.13.0\renpy\display\core.py", line 245, in visit_all
  File "C:\download\renpy-6.13.0\renpy\display\core.py", line 245, in visit_all
  File "C:\download\renpy-6.13.0\renpy\display\core.py", line 245, in visit_all
  File "C:\download\renpy-6.13.0\renpy\display\core.py", line 245, in visit_all
  File "C:\download\renpy-6.13.0\renpy\display\core.py", line 242, in visit_all
  File "C:\download\renpy-6.13.0\renpy\text\text.py", line 1140, in visit
  File "C:\download\renpy-6.13.0\renpy\text\text.py", line 1126, in update
  File "C:\download\renpy-6.13.0\renpy\text\text.py", line 1336, in tokenize
Exception: Can't display False as Text.

Windows-post2008Server-6.1.7601-SP1
Ren'Py 6.13.0.1595
follow me on Image Image Image
computer games

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4067
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.13 Pre-Releases

#97 Post by jack_norton » Sun Sep 04, 2011 2:42 pm

Ah, wait in that screen I use the old Tooltip code you wrote time ago in forums, you think might be related to that?

Code: Select all

    class Tooltip(object):
        def __init__(self,id):
            self.id=id;self.ok=None;self.bk=renpy.store.tipT
        def show(self):
            self.ok = True
            renpy.store.tipT=self.id
            if renpy.store.genhelp!=0:
                renpy.restart_interaction()
        def hide(self):
            if self.ok:
                renpy.store.tipT=self.bk
                self.ok = False
            if renpy.store.genhelp!=0:
                renpy.restart_interaction()
follow me on Image Image Image
computer games

User avatar
PyTom
Ren'Py Creator
Posts: 15893
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.13 Pre-Releases

#98 Post by PyTom » Sun Sep 04, 2011 3:01 pm

I don't get this - but it's possible this isn't even the relevant code. I went ahead and added a check to Text, causing it to error out if it gets a non-string, non-displayable argument. That will at least indicate the error in the correct place.

shift+U gets you 1596, which has the fix.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4067
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.13 Pre-Releases

#99 Post by jack_norton » Sun Sep 04, 2011 3:40 pm

Ah lol yes. I had a variable on overlay related to tooltip (TipT) set to False. So was a bug in my code, though previous Text allowed you to display "False" (wasn't displaying anything). I put TipT="" and now works! will keep testing now.
follow me on Image Image Image
computer games

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4067
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.13 Pre-Releases

#100 Post by jack_norton » Sun Sep 04, 2011 4:01 pm

I found an audio bug, but is so hard to explain for me that I made two videos!

The code queue different musics in a loop to form a continuous song:
$renpy.music.queue(["snd/ending1.ogg","snd/ending1.ogg","snd/ending2.ogg","snd/ending2.ogg"],loop=True)
in the old version the music "sounds right" without any noticeable changes / differences:
http://www.winterwolves.net/old.wmv
in the new version, you can clearly hear when each new loop begins:
http://www.winterwolves.net/new.wmv

is hard for the to explain it in English, hope the videos are clear enough (the audio in particular). You can hear the problem in the new.wmv at second 6, 16, 25 clearly I think.
follow me on Image Image Image
computer games

User avatar
PyTom
Ren'Py Creator
Posts: 15893
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.13 Pre-Releases

#101 Post by PyTom » Sun Sep 04, 2011 4:43 pm

Can you attach the files? (Or email them to me?) I'll need them to figure out what's going wrong. (I upgraded ffmpeg, which could be the problem.)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4067
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.13 Pre-Releases

#102 Post by jack_norton » Sun Sep 04, 2011 6:11 pm

You mean the audio files? will email them now!
follow me on Image Image Image
computer games

User avatar
PyTom
Ren'Py Creator
Posts: 15893
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.13 Pre-Releases

#103 Post by PyTom » Sun Sep 04, 2011 9:53 pm

The audio problem stemmed from a bug in the most recent ffmpeg. I've switched over to libav for now - it's a fork, but it's the one used by debian and ubuntu, and so is probably more stable.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
PyTom
Ren'Py Creator
Posts: 15893
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.13 Pre-Releases

#104 Post by PyTom » Mon Sep 05, 2011 10:38 am

Ren'Py 6.13.0.1598 is up. It includes the move to libav, the error when you try to display a non-string as text, less-bad behavior in the case of a Frame where the borders are larger than the source image, and various packaging fixes.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4067
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.13 Pre-Releases

#105 Post by jack_norton » Mon Sep 05, 2011 10:43 am

As soon as I have some time I'm planning to slowly update my oldest games to the DX version and do some promotional sales, this way you should get a much better testing (on larger scale) :)
follow me on Image Image Image
computer games

Post Reply

Who is online

Users browsing this forum: No registered users