Ren'Py 5.6.2 Released

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: 16096
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:

Ren'Py 5.6.2 Released

#1 Post by PyTom »

I'm pleased to announce the release of Ren'Py 5.6.2 "New World Order". This release brings with it the new Launcher program, a tool that assists in developing Ren'Py games by automating many common tasks. It lets you create new games, edit games, check the games, and release standalone distributions for all 3 supported platforms. On Windows and Linux, we include the SciTE text editor, which should improve the Ren'Py editing experience. This release includes a number of minor bug fixes.

Downloads and a full release announcement can be found at:

http://www.renpy.org/wiki/renpy/releases/5.6.2

Please read the full release announcement for information on upgrading.
Last edited by PyTom on Mon Jan 08, 2007 5:09 pm, edited 3 times in total.
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

tart
Newbie
Posts: 3
Joined: Mon Aug 16, 2004 7:14 pm
Location: NoVA
Contact:

#2 Post by tart »


User avatar
PyTom
Ren'Py Creator
Posts: 16096
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:

#3 Post by PyTom »

That's right. Sorry about that.
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

RedSlash
Veteran
Posts: 351
Joined: Sun Oct 31, 2004 12:48 am
Location: Canada
Contact:

#4 Post by RedSlash »

Very very nice. The launcher makes the game making process simpler to use. Too bad that opening the "game" directory is not supported on my platform (not that I really need it).

How about a button to automatically submit your game to the renai archives? Just a thought.

denzil
Veteran
Posts: 293
Joined: Wed Apr 20, 2005 4:01 pm
Contact:

#5 Post by denzil »

Nice thing. But I ran in few problems:

Manual and readme are missing.

Ren'Py treats Windows error messages as UTF-8, but they aren't, it ends in showing garbage instead of Czech characters (convert errors into UTF-8 before saving them).

bytecode.rpyb is stored incorectly in built archives (verified for archives built for windows and mac) - it's saved in directory with empty name in "project name/" instead of "project name/game", this results in extracting it as "project name/bytecode.rpyb"

I get error when creating project with Czech characters (directory created, template copied, Ren'Py can't started until the directory is deleted):

Code: Select all

I'm sorry, but an exception occured while executing your Ren'Py
script.

UnicodeDecodeError: 'ascii' codec can't decode byte 0xec in position 26: ordinal not in range(128)

While executing game script on line 248 of T:\ab\renpy/data/launcher.rpy.
While executing python code on line 249 of T:\ab\renpy/data/launcher.rpy.
While executing python code on line 204 of T:\ab\renpy/data/launcher.rpy.
While executing python code on line 171 of T:\ab\renpy/data/launcher.rpy.

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

  File "P:\temp\_copy\renpy-5.6.2\renpy\bootstrap.py", line 163, in bootstrap
  File "P:\temp\_copy\renpy-5.6.2\renpy\main.py", line 273, in main
  File "P:\temp\_copy\renpy-5.6.2\renpy\main.py", line 92, in run
  File "P:\temp\_copy\renpy-5.6.2\renpy\execution.py", line 97, in run
  File "P:\temp\_copy\renpy-5.6.2\renpy\ast.py", line 379, in execute
  File "P:\temp\_copy\renpy-5.6.2\renpy\python.py", line 800, in py_exec_bytecode
  File "T:\ab\renpy/data/launcher.rpy", line 249, in <module>
  File "T:\ab\renpy/data/launcher.rpy", line 204, in load_projects
  File "T:\ab\renpy/data/launcher.rpy", line 171, in load_project
UnicodeDecodeError: 'ascii' codec can't decode byte 0xec in position 26: ordinal not in range(128)

While executing game script on line 248 of T:\ab\renpy/data/launcher.rpy.
While executing python code on line 249 of T:\ab\renpy/data/launcher.rpy.
While executing python code on line 204 of T:\ab\renpy/data/launcher.rpy.
While executing python code on line 171 of T:\ab\renpy/data/launcher.rpy.

Ren'Py Version: Ren'Py 5.6.2

I get error when Czech characters are used in config.window_title:

Code: Select all

I'm sorry, but an exception occured while executing your Ren'Py
script.

UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-8: ordinal not in range(128)

After initialization, but before game start.

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

  File "P:\temp\_copy\renpy-5.6.2\renpy\bootstrap.py", line 163, in bootstrap
  File "P:\temp\_copy\renpy-5.6.2\renpy\main.py", line 264, in main
  File "P:\temp\_copy\renpy-5.6.2\renpy\display\core.py", line 888, in __init__
  File "P:\temp\_copy\renpy-5.6.2\renpy\display\core.py", line 617, in __init__
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-8: ordinal not in range(128)

After initialization, but before game start.

Ren'Py Version: Ren'Py 5.6.2
I would also suggest moving projects into projects/ directory, because now it's a mess.
Practice makes purrrfect.
Finished projects: Broken sky .:. colorless day .:. and few more...

User avatar
DaFool
Lemma-Class Veteran
Posts: 4171
Joined: Tue Aug 01, 2006 12:39 pm
Contact:

#6 Post by DaFool »

I really like the dating sim-specific example, as I've been looking for code to emulate the True Tears type of calendar-planning, and the meager example in the original demo with roundrect theme was not enough.
RedSlash wrote: How about a button to automatically submit your game to the renai archives? Just a thought.
Um, there are standards to go into renai archives (some strict), such as being pure-love related, absolutely no copyright / non-permission items, and a certain default level of technical quality / completeness. Which requires some peer review on the forums first.

yummy
Miko-Class Veteran
Posts: 733
Joined: Fri Jul 07, 2006 9:58 pm
Projects: Suna to Majo
Location: France
Contact:

#7 Post by yummy »

I had an error while trying to access the tools when I clicked on the button.

Code: Select all

KeyError: 'ro'

While executing game script on line 423 of T:\ab\renpy/data/launcher.rpy.
While executing python code on line 452 of T:\ab\renpy/data/launcher.rpy.
While executing python code on line 444 of T:\ab\renpy/data/launcher.rpy.

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

  File "C:\temp\ren'py\renpy-5.6.2-full\renpy-5.6.2\renpy\bootstrap.py", line 163, in bootstrap
  File "C:\temp\Bureau\ren'py\renpy-5.6.2-full\renpy-5.6.2\renpy\main.py", line 273, in main
  File "C:\temp\ren'py\renpy-5.6.2-full\renpy-5.6.2\renpy\main.py", line 92, in run
  File "C:\temp\ren'py\renpy-5.6.2-full\renpy-5.6.2\renpy\execution.py", line 97, in run
  File "C:\temp\ren'py\renpy-5.6.2-full\renpy-5.6.2\renpy\ast.py", line 379, in execute
  File "C:\temp\ren'py\renpy-5.6.2-full\renpy-5.6.2\renpy\python.py", line 800, in py_exec_bytecode
  File "T:\ab\renpy/data/launcher.rpy", line 452, in <module>
  File "T:\ab\renpy/data/launcher.rpy", line 444, in ifrw
KeyError: 'ro'

While executing game script on line 423 of T:\ab\renpy/data/launcher.rpy.
While executing python code on line 452 of T:\ab\renpy/data/launcher.rpy.
While executing python code on line 444 of T:\ab\renpy/data/launcher.rpy.

Ren'Py Version: Ren'Py 5.6.2
It seems like Pytom forgot to put the correct file path for the launcher

Code: Select all

T:\ab\renpy/data/launcher.rpy
instead of

Code: Select all

<default program path>/renpy/data/launcher.rpy
Edit: okay I found the problem, you just have to copy the launcherinfo.py file into your root path of your game directory (not in <root path>/game but in <root path>)

Then edit launcherinfo.py with scite and set Template to False.

The tool section is now available.

User avatar
PyTom
Ren'Py Creator
Posts: 16096
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:

#8 Post by PyTom »

Okay, looks like I'm going to need to update this release.
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
PyTom
Ren'Py Creator
Posts: 16096
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:

#9 Post by PyTom »

Could one of our Czech users do the following:

Make a directory containing a number of the odder Czech characters (defined as those not shared with latin-1), zip it up, and email it to me. I want to figure out what encoding is used.

(Since, according to the standard, you really shouldn't be able to zip Czech up at all.)

Also, if you could tell me what it should look like, I'd appreciate it. Treat me as a moron... or take a screenshot of what the filenames should look like properly rendered.

Thanks.
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
PyTom
Ren'Py Creator
Posts: 16096
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:

#10 Post by PyTom »

Okay, I'm now reasonably certain that there isn't a way to stick non-ascii-named files into a zip file, and have it work in a cross-platform manner. So what I've done is to eliminate the ability of the launcher to deal with non-ascii game directories. It will complain if the user wants to create one, but will not crash horribly.

I don't do this lightly... but I'd rather the launcher not deal with non-ascii files, then to deal with them incorrectly on some platforms. I'll revisit this if things change. Note that you can still build the distribution by hand, it's just that what you build may not work on some platforms. (And it will be tough to build on Mac for Windows, or vice versa.)

I've also fixed the other bugs reported here. Thanks to everyone for reporting them.

I've updated the page to indicate that 5.6.2 was in pre-release, and it's still in pre-release. (Somewhat evil... but I didn't link to 5.6.2 from the main Ren'Py page yet.) If people could check and be sure that this works, I'd appreciate it.

Thanks to everyone for helping out.
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
PyTom
Ren'Py Creator
Posts: 16096
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:

#11 Post by PyTom »

Unless people find any more bugs with 5.6.2, I'm going to officially bless it tonight, since I would like to have it available to people who find out about Ren'Py from MangaNext.
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

yummy
Miko-Class Veteran
Posts: 733
Joined: Fri Jul 07, 2006 9:58 pm
Projects: Suna to Majo
Location: France
Contact:

#12 Post by yummy »

I didn't find any more problems, I tested with different image types and media types (avi, mpg, mp3, ogg, wav). Still no problem so far.
The launcher has not malfunctionned since then.

Everythings on green! Good luck with the release :D

Alessio
Miko-Class Veteran
Posts: 576
Joined: Fri May 07, 2004 9:40 am
Completed: GO! Magical Boy (2006), Angelic Orbs (soundtrack)
Projects: Cyberlin (in progress)
Location: Finland
Contact:

#13 Post by Alessio »

The 10 MB zip link on the Wiki download page to http://www.bishoujo.us/dl/5.6.2/renpy-5.6.2-full.zip does not seem to work ("Object not found").
Edit: Now works again. Hmm. Sorry for false alarm. Ah, the link changed!

denzil
Veteran
Posts: 293
Joined: Wed Apr 20, 2005 4:01 pm
Contact:

#14 Post by denzil »

Made some more testing with the updated version:
bytecode.rpyb is stored incorectly in built archives (verified for archives built for windows and mac) - it's saved in directory with empty name in "project name/" instead of "project name/game", this results in extracting it as "project name/bytecode.rpyb"
This actually happens only for dse and only because there's copy of bytecode.rpyb in dse directory. Ren'Py distribution build tool seems to handle files in project directory in some strange way.

Project description files (launcherinfo.py) with Czech characters causes Ren'Py to crash. The problem seems to be Python 2.3, because it worked when I used Python 2.4 I have installed.

The system errors still aren't saved correctly, there is still garbage instead of text.

Attached testcase and traceback for description, example traceback for system error with broken characters.
Practice makes purrrfect.
Finished projects: Broken sky .:. colorless day .:. and few more...

User avatar
PyTom
Ren'Py Creator
Posts: 16096
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:

#15 Post by PyTom »

It looks like there's an endianness issue going on here. I'll check it out when I get back from MangaNext (tomorrow or sunday), and deal with it then.

(I'll also include a way to translate the launcher in 5.6.3.)
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

Post Reply

Who is online

Users browsing this forum: Bing [Bot]