Ren'Py 6.99 Prereleases

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Message
Author
User avatar
PyTom
Ren'Py Creator
Posts: 16088
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.99 Prereleases

#46 Post 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?
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
Zetsubou
Miko-Class Veteran
Posts: 522
Joined: Wed Mar 05, 2014 1:00 am
Completed: See my signature
Github: koroshiya
itch: zetsuboushita
Contact:

Re: Ren'Py 6.99 Prereleases

#47 Post 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
Finished games
-My games: Sickness, Wander No More, Max Massacre, Humanity Must Perish, Tomboys Need Love Too, Sable's Grimoire, My Heart Grows Fonder, Man And Elf, A Dragon's Treasure, An Adventurer's Gallantry
-Commissions: No One But You, Written In The Sky, Diamond Rose, To Libertad, Catch Canvas, Love Ribbon, Happy Campers, Wolf Tails

Working on:
Sable's Grimoire 2

https://zetsubou.games

User avatar
PyTom
Ren'Py Creator
Posts: 16088
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.99 Prereleases

#48 Post 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.)
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
Zetsubou
Miko-Class Veteran
Posts: 522
Joined: Wed Mar 05, 2014 1:00 am
Completed: See my signature
Github: koroshiya
itch: zetsuboushita
Contact:

Re: Ren'Py 6.99 Prereleases

#49 Post 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.
Finished games
-My games: Sickness, Wander No More, Max Massacre, Humanity Must Perish, Tomboys Need Love Too, Sable's Grimoire, My Heart Grows Fonder, Man And Elf, A Dragon's Treasure, An Adventurer's Gallantry
-Commissions: No One But You, Written In The Sky, Diamond Rose, To Libertad, Catch Canvas, Love Ribbon, Happy Campers, Wolf Tails

Working on:
Sable's Grimoire 2

https://zetsubou.games

User avatar
PyTom
Ren'Py Creator
Posts: 16088
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.99 Prereleases

#50 Post 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.
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
Samu-kun
King of Moé
Posts: 2262
Joined: Mon Sep 03, 2007 3:49 pm
Organization: Love in Space Inc
Location: United States
Contact:

Re: Ren'Py 6.99 Prereleases

#51 Post 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.
Attachments
screenshot0002.png

User avatar
Arowana
Miko-Class Veteran
Posts: 531
Joined: Thu May 31, 2012 11:17 pm
Completed: a2 ~a due~
Projects: AXIOM.01, The Pirate Mermaid
Organization: Variable X, Navigame
Tumblr: navigame-media
itch: navigame
Contact:

Re: Ren'Py 6.99 Prereleases

#52 Post 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
Complete: a2 ~a due~ (music, language, love)
In progress: The Pirate Mermaid (fairytale otome)
On hold: AXIOM.01 (girl detective game)

Image

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4084
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.99 Prereleases

#53 Post 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
follow me on Image Image Image
computer games

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4084
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.99 Prereleases

#54 Post 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.
follow me on Image Image Image
computer games

User avatar
TrailsInTheSky
Regular
Posts: 39
Joined: Thu May 22, 2014 10:27 am
Projects: I'm Not The Perfect Guy For Her
Contact:

Re: Ren'Py 6.99 Prereleases

#55 Post by TrailsInTheSky »

wew new update. Thanks alot :D
Mystery creates wonder and wonder is the basis of man's desire to understand.
-Neil Armstrong

Current project: I'm Not The Perfect Guy For Her (Rom.Com.Drama)
https://www.facebook.com/trailsin.thesky.1
http://bestofthebestclassicalpianomusic.tumblr.com
http://blog-trailsinthesky.tumblr.com/

User avatar
akakyouryuu
Regular
Posts: 161
Joined: Fri Nov 30, 2012 10:29 am
Contact:

Re: Ren'Py 6.99 Prereleases

#56 Post by akakyouryuu »

Thank you update. I tried new version and think the issue with me is solved.

User avatar
PyTom
Ren'Py Creator
Posts: 16088
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.99 Prereleases

#57 Post 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.
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
ketskari
Veteran
Posts: 296
Joined: Tue Dec 21, 2010 6:22 pm
Completed: Asher, Sunrise, Tell a Demon
Projects: Asher Remake, TEoA
Organization: Sun Labyrinth
Tumblr: sunlabyrinth
Deviantart: sunlabyrinth
itch: sunlabyrinth
Contact:

Re: Ren'Py 6.99 Prereleases

#58 Post 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.
Attachments
AlphaMask02.jpg
AlphaMask01.jpg

User avatar
PyTom
Ren'Py Creator
Posts: 16088
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.99 Prereleases

#59 Post by PyTom »

That's interesting. Can you get your code to me so I can try and repeat the problem?
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

crimsonnight
Veteran
Posts: 298
Joined: Fri Apr 20, 2012 4:44 am
Contact:

Re: Ren'Py 6.99 Prereleases

#60 Post 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,
alwaysthesamebluesky.com

Post Reply

Who is online

Users browsing this forum: Google [Bot]