Page 7 of 9
Re: Ren'Py 6.13 Pre-Releases
Posted: Sun Sep 04, 2011 1:55 pm
by papillon
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...
Re: Ren'Py 6.13 Pre-Releases
Posted: Sun Sep 04, 2011 2:06 pm
by jack_norton
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

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

Re: Ren'Py 6.13 Pre-Releases
Posted: Sun Sep 04, 2011 2:13 pm
by PyTom
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

What's more, by including the DX installer, if both GL and DX fail, there's a really obvious fix.
Re: Ren'Py 6.13 Pre-Releases
Posted: Sun Sep 04, 2011 2:17 pm
by jack_norton
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"
Re: Ren'Py 6.13 Pre-Releases
Posted: Sun Sep 04, 2011 2:31 pm
by PyTom
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.
Re: Ren'Py 6.13 Pre-Releases
Posted: Sun Sep 04, 2011 2:40 pm
by jack_norton
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
Re: Ren'Py 6.13 Pre-Releases
Posted: Sun Sep 04, 2011 2:42 pm
by jack_norton
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()
Re: Ren'Py 6.13 Pre-Releases
Posted: Sun Sep 04, 2011 3:01 pm
by PyTom
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.
Re: Ren'Py 6.13 Pre-Releases
Posted: Sun Sep 04, 2011 3:40 pm
by jack_norton
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.
Re: Ren'Py 6.13 Pre-Releases
Posted: Sun Sep 04, 2011 4:01 pm
by jack_norton
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.
Re: Ren'Py 6.13 Pre-Releases
Posted: Sun Sep 04, 2011 4:43 pm
by PyTom
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.)
Re: Ren'Py 6.13 Pre-Releases
Posted: Sun Sep 04, 2011 6:11 pm
by jack_norton
You mean the audio files? will email them now!
Re: Ren'Py 6.13 Pre-Releases
Posted: Sun Sep 04, 2011 9:53 pm
by PyTom
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.
Re: Ren'Py 6.13 Pre-Releases
Posted: Mon Sep 05, 2011 10:38 am
by PyTom
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.
Re: Ren'Py 6.13 Pre-Releases
Posted: Mon Sep 05, 2011 10:43 am
by jack_norton
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)
