Page 4 of 10

Re: Ren'Py 6.99 Prereleases

Posted: Fri Mar 06, 2015 7:06 pm
by PyTom
Zetsubou,

That doesn't happen on gnome for me, and when not in fullscreen mode, Ren'Py shouldn't do anything interesting with window management. Could you give me the output of xprop run on the window, so I can see if we're sending anything interesting to the window manager?

Re: Ren'Py 6.99 Prereleases

Posted: Fri Mar 06, 2015 7:12 pm
by Zetsubou
Output of xprop on the Renpy Launcher:

Code: Select all

_NET_WM_ICON(CARDINAL) = 
_NET_WM_ICON_GEOMETRY(CARDINAL) = 570, 1056, 143, 24
_NET_FRAME_EXTENTS(CARDINAL) = 5, 5, 27, 5
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MOVE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_STICK
WM_STATE(WM_STATE):
		window state: Normal
		icon window: 0x1c335c20
_NET_WM_DESKTOP(CARDINAL) = 1
_NET_WM_STATE(ATOM) = 
_NET_WM_NAME(UTF8_STRING) = "Ren'Py Launcher"
WM_NAME(STRING) = "Ren'Py Launcher"
XdndAware(ATOM) = BITMAP
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, _NET_WM_PING
_NET_WM_BYPASS_COMPOSITOR(CARDINAL) = 1
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_NET_WM_PID(CARDINAL) = 16362
WM_LOCALE_NAME(STRING) = "C"
WM_CLASS(STRING) = "renpy", "renpy"
WM_HINTS(WM_HINTS):
		Client accepts input or input focus: True
WM_NORMAL_HINTS(WM_SIZE_HINTS):
		user specified location: 1520, 240
		program specified minimum size: 800 by 600
		program specified maximum size: 800 by 600
WM_CLIENT_MACHINE(STRING) = "koro-System-Product-Name"
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x0, 0x1, 0x0, 0x0, 0x7310a760, 0x5, 0xc0, 0x1, 0x258

Re: Ren'Py 6.99 Prereleases

Posted: Fri Mar 06, 2015 8:59 pm
by PyTom
Comparing your post against http://standards.freedesktop.org/wm-spe ... 01s05.html , I don't see anything that would cause Ren'Py to be sticky. _NET_WM_ACTION_STICK is just something that is possible, while _NET_WM_DESKTOP says that it's on a single desktop.

I suggest contacting the xfce or xubuntu people, and seeing if they have any idea what's going on. (You should also check to see if there's a window manager rule that makes Ren'Py or Python stuff sticky by default.)

Re: Ren'Py 6.99 Prereleases

Posted: Fri Mar 06, 2015 9:26 pm
by Zetsubou
This doesn't happen with the stable version of Renpy, or with any python programs, so I don't think that's it...
But yeah, I guess I'll have to throw it at the xfce developers. Thanks anyway.

Re: Ren'Py 6.99 Prereleases

Posted: Sun Mar 08, 2015 7:07 pm
by PyTom
6.99.0.254)

Since the last release was relatively well received, I've made 6.99.0.254 a public prerelease. The changes are:

- The new alt+shift+I (as in India) keybinding style-inspects all layers, including non-UI layers.
- Drag and drop has been fixed so that it does not stop the screen from updating.
- Solid and Frame now respect xysize.
- We now properly code-analyze imagemaps in screens that can change their images at runtime. In the unlikely event this is you, you may want to do a "Force Recompile" to get those imagemaps to work correctly.
- Dictionary and Set comprehensions now support rollback.
- We now limit the size of the textures we allocate on Android and iOS.
- Skip speed has been slightly increased.

This release also includes code that can detect and try to fix (if you click Ignore) return stack corruption. I saw one savefile with a corrupted return stack, in a game that had been using pop_return. So this doesn't seem like a very likely thing, but if you do get the return stack exception, please report it to me.

I've also made steam support available for testing. If you have a game on steam, please PM me and I'll give you a link to the files.

Once again, thanks to the testers. This is one of the biggest releases of Ren'Py ever, when it comes to the number of changes. With your help, we're getting it working.

Re: Ren'Py 6.99 Prereleases

Posted: Sun Mar 08, 2015 8:13 pm
by Samu-kun
Good news, I think all the issues with me are resolved.

I noticed a bit of lag dissolving character sprites with a lot of particles on screen (attached), so maybe there's slight room for optimization down the line. Aside from that, everything appears to be working, and even old saves from the current renpy are loading.

Re: Ren'Py 6.99 Prereleases

Posted: Mon Mar 09, 2015 12:01 am
by Arowana
Thanks for your hard work as always, PyTom! I gave my games a quick spin through 6.99, and most everything looks fine. I did have some strange issues with screens and interpolated text, though.

Here is a simple example:

Code: Select all

screen location_screen():
    vbox:
        text "This is a test screen."
        text "My location is [location]."
        
label start:
    $ location = "home"
    show screen location_screen
    "The screen isn't showing all my text."
    return
The second sentence with the interpolated text [location] does not show up when it is a vbox, frame, etc., But if I put it outside the vbox, it shows up fine. This code works fine in 6.18.0, but has the same problem in 6.18.3. Was there some change with screen behavior that now makes it invalid?

Some parts of my games also lag a lot more in 6.99, especially when I'm using a transition like hpunch or Shake with ATL moving things on screen. It works better when I isolate it from the rest of my game, though, so guess I have to keep looking for the cause. :?

I was interested in the custom text tags features, but I'm a bit confused by the "rot13" example at the end of the documentation. What is the the rot13 transform supposed to look like? I tried some random transforms, and just got "LookupError: unknown encoding." :oops:

Lastly, this more of a request than a problem, but would it be possible to add transitions to ShowMenu() like Show() has? I keep editing the Renpy common files every time a new version comes out, to something like this:
http://lemmasoft.renai.us/forums/viewto ... 98#p227198
but it would be nice if it were built-in behavior. Unless, of course, there is a reason ShowMenu() shouldn't be able to take its own transitions?

Good luck getting the official release out soon! :D

Re: Ren'Py 6.99 Prereleases

Posted: Mon Mar 09, 2015 3:43 am
by jack_norton
Loading an old save with this latest version throws an exception (before was loading fine):

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/plot/map.rpy", line 1503, in script call
    call expression par[0] from _call_expression
  File "game/plot/scene05_dingirra.rpy", line 596, in script call
    call gamesh_encounter from _call_gamesh_encounter_1
  File "game/plot/scene05_dingirra.rpy", line 464, in script
    pl "Gamesh mercenaries! They are coming toward us!"
Exception: Potential return stack corruption: dynamic=2 return=2

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

Full traceback:
  File "game/plot/map.rpy", line 1503, in script call
    call expression par[0] from _call_expression
  File "game/plot/scene05_dingirra.rpy", line 596, in script call
    call gamesh_encounter from _call_gamesh_encounter_1
  File "game/plot/scene05_dingirra.rpy", line 464, in script
    pl "Gamesh mercenaries! They are coming toward us!"
  File "C:\- indie dev -\games\renpy\renpy\execution.py", line 300, in check_stacks
    raise e
Exception: Potential return stack corruption: dynamic=2 return=2

Windows-7-6.1.7601-SP1
Ren'Py 6.99.0.254
Seasons Of The Wolf 1.0.7.5
It would be better if wasn't showing this error :oops: :oops: it happens with any savegame I load now! sometimes the value is like dynamic=1 return=1

Re: Ren'Py 6.99 Prereleases

Posted: Mon Mar 09, 2015 3:59 am
by jack_norton
Another thing I noticed is that now the game seems to use much more system resources. I notice it immediately for example when I alt-tab and browse with Firefox. Clicking on each tab has 1 second delay, like if something else was using a lot of system resources, slowing down everything. As soon as I shut down the game, things are back normal.
I think happens mostly if there's a screen shown (screen language). If it's just normal dialogue the speed is more or less the same as before.

Re: Ren'Py 6.99 Prereleases

Posted: Mon Mar 09, 2015 4:29 am
by TrailsInTheSky
wew new update. Thanks alot :D

Re: Ren'Py 6.99 Prereleases

Posted: Mon Mar 09, 2015 9:06 am
by akakyouryuu
Thank you update. I tried new version and think the issue with me is solved.

Re: Ren'Py 6.99 Prereleases

Posted: Mon Mar 09, 2015 9:49 am
by PyTom
jack_norton, I believe that is Ren'Py detecting the load of an already-corrupted savefile. What I need is you to play through the game to see if you can get this to occur outside an existing save - it shouldn't.

Re: Ren'Py 6.99 Prereleases

Posted: Mon Mar 09, 2015 1:31 pm
by ketskari
Does something weird to large AlphaMasks. for each screenshot, the left is 6.18, on the right is 6.99.
Only appears to do this to the large ones. The rest of them appear the same as far as I can tell.

With frame-by-frame animations, too. Small animations using im.AlphaMask and other im.MatrixColor effects look the same; it's the large ones that are different. A full screen animation that I can't get a good screenshot of is very jerky compared to before.

Re: Ren'Py 6.99 Prereleases

Posted: Mon Mar 09, 2015 7:15 pm
by PyTom
That's interesting. Can you get your code to me so I can try and repeat the problem?

Re: Ren'Py 6.99 Prereleases

Posted: Tue Mar 10, 2015 11:59 am
by crimsonnight
Thanks again for your hard work. I published the new version of my novel using the last pre-release and received the following support query from a user:

"It will not open on my mac. Running OSX 10.7.4, Safari 6.1.6. I downloaded the original game and played it many times without a problem. I'd appreciate your help."

I have since confirmed with him that his PC has a 64bit processor and that he's never had problems running other Ren'Py games previously. Do you have any ideas what could be causing his issue?

Thanks,