Ren'Py 6.13.9 Pre-Release

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 6.13.9 Pre-Release

#1 Post by PyTom »

Here's what's new with Ren'Py 6.13.9:

The new RAPT tool makes it far easier to package a Ren'Py game for Android.
It can semi-automatically set up an Android build environment on your
system, build a package, and install that package on your Android device.

The new config.save_dump variable causes Ren'Py to write out
save_dump.txt each time it saves. This file describes the contents of the
save, making it possible to figure out what's causing an overly large save
file.

Worked around a bug in Mesa that can cause crashes on certain Linux systems.

Fixed the following bugs in Ren'Py:

* The (default) texwrap layout represents character widths as floating-point
numbers. This fixes a bug where non-integer kerning would lead to text
overflowing its bounding box.
* Menu choices are logged correctly.
* All file access is now done in unicode, rather than the system's native
encoding. This prevents crashes that occured when Ren'Py was placed
in a directory that had non-ASCII characters in it.
* Fixed focus_mask on the ANGLE renderer.
* Displayables can now have fractional-pixel sizes. This allows a zooming
image to remain precisely centered on the screen.
* Fixed a problem where Ren'Py would save unnecessary trees of displayables
each time it saved a screen. This would lead to overly large save files and
slow save performance.
* Ren'Py would not attempt an alternate rendering method if the texture
test failed, leading a "Textures are not rendering properly." exception.
* A crash in Render.fill.

Ren'Py 6.13.9 can be downloaded from:

http://www.renpy.org/dl/6.13.9/

or by hitting shift+U in a 6.13 version of Ren'Py.
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
backansi
Veteran
Posts: 224
Joined: Sun May 31, 2009 7:15 am
Location: Korea, Republic of
Contact:

Re: Ren'Py 6.13.9 Pre-Release

#2 Post by backansi »

Thanks for the update :3
It works for me to use images and music files in a non-ascii path. Image Location Picker works fine, too. But Filename List doesn't.
(I only changed a directory name)

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)

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

Full traceback:
  File "E:\renpy-6.13.0\renpy\execution.py", line 265, in run
  File "E:\renpy-6.13.0\renpy\ast.py", line 632, in execute
  File "E:\renpy-6.13.0\renpy\python.py", line 977, in py_exec_bytecode
  File "common/_developer.rpym", line 502, in <module>
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)

Windows-post2008Server-6.1.7601-SP1
Ren'Py 6.13.9.1695


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:

Re: Ren'Py 6.13.9 Pre-Release

#3 Post by PyTom »

Just to make clear what we support and what we don't:

- We support placing the Ren'Py game in a non-ASCII path. For example, placing the game in C:\한국말-Games\MyGame\... should work.

- We don't support including non-ASCII filenames as part of a game (or in the game name). This is due to a limitation of the .zip format - it doesn't specify an encoding to use, so if you were to take a game written on a Korean system and unzip it on a Japanese one, it won't work. (The converse is also true.)

I'm going to add a check to lint about this, as well as adding a check to the filename list tool.
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
backansi
Veteran
Posts: 224
Joined: Sun May 31, 2009 7:15 am
Location: Korea, Republic of
Contact:

Re: Ren'Py 6.13.9 Pre-Release

#4 Post by backansi »

I've just tried to run Tutorial Game through the button on the Launcher and an exception occurred;

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "launcher/project.rpy", line 207, in script
  File "launcher/project.rpy", line 210, in python
AttributeError: 'module' object has no attribute 'FsPopen'

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

Full traceback:
  File "E:\renpy-6.13.0\renpy\execution.py", line 265, in run
  File "E:\renpy-6.13.0\renpy\ast.py", line 632, in execute
  File "E:\renpy-6.13.0\renpy\python.py", line 977, in py_exec_bytecode
  File "launcher/project.rpy", line 210, in <module>
AttributeError: 'module' object has no attribute 'FsPopen'

Windows-post2008Server-6.1.7601-SP1
Ren'Py 6.13.9.1695
 

reductoabsurdum
Newbie
Posts: 7
Joined: Mon May 16, 2011 5:55 pm
Completed: Spare Change
Contact:

Re: Ren'Py 6.13.9 Pre-Release

#5 Post by reductoabsurdum »

Thank you for the update! I've been looking forward to it.

However, I get the following (ignorable) error message upon opening the launcher:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "launcher/script.rpy", line 9, in script
  File "launcher/script.rpy", line 12, in python
  File "launcher/editor.rpy", line 113, in python
SyntaxError: invalid syntax (<string>, line 4)

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

Full traceback:
  File "/Users/USER/Desktop/renpy-6.13.9/renpy/execution.py", line 265, in run
  File "/Users/USER/Desktop/renpy-6.13.9/renpy/ast.py", line 632, in execute
  File "/Users/USER/Desktop/renpy-6.13.9/renpy/python.py", line 977, in py_exec_bytecode
  File "launcher/script.rpy", line 12, in <module>
  File "launcher/editor.rpy", line 113, in setup_editor
SyntaxError: invalid syntax (<string>, line 4)

Darwin-10.8.0-x86_64-i386-32bit
Ren'Py 6.13.9.1695
If I click ignore, the launcher opens normally, but the script editor and lint feature fail to initiate.

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:

Re: Ren'Py 6.13.9 Pre-Release

#6 Post by PyTom »

When you go to change the editor (in options), what happens?
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

reductoabsurdum
Newbie
Posts: 7
Joined: Mon May 16, 2011 5:55 pm
Completed: Spare Change
Contact:

Re: Ren'Py 6.13.9 Pre-Release

#7 Post by reductoabsurdum »

In "Launcher Options," jEdit is listed as the text editor. When I select jEdit on the "Choose Editor" screen, I get this error message:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "launcher/editor.rpy", line 133, in script
  File "launcher/editor.rpy", line 163, in python
  File "launcher/editor.rpy", line 113, in python
SyntaxError: invalid syntax (<string>, line 4)

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

Full traceback:
  File "/Users/USER/Desktop/renpy-6.13.9/renpy/execution.py", line 265, in run
  File "/Users/USER/Desktop/renpy-6.13.9/renpy/ast.py", line 632, in execute
  File "/Users/USER/Desktop/renpy-6.13.9/renpy/python.py", line 977, in py_exec_bytecode
  File "launcher/editor.rpy", line 163, in <module>
  File "launcher/editor.rpy", line 113, in setup_editor
SyntaxError: invalid syntax (<string>, line 4)

Darwin-10.8.0-x86_64-i386-32bit
Ren'Py 6.13.9.1695

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:

Re: Ren'Py 6.13.9 Pre-Release

#8 Post by PyTom »

Can you try going into options, select project directory, make sure the current install is the project directory, and then try changing the editor again? Just to make sure you're not using an old editor file.

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

reductoabsurdum
Newbie
Posts: 7
Joined: Mon May 16, 2011 5:55 pm
Completed: Spare Change
Contact:

Re: Ren'Py 6.13.9 Pre-Release

#9 Post by reductoabsurdum »

I changed the project directory to the renpy-6.13.9 folder, but I'm still getting the same error message.

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:

Re: Ren'Py 6.13.9 Pre-Release

#10 Post by PyTom »

I just updated the first post in this thread, and posted up Ren'Py 6.13.9.1699 and RAPT 6.13.9.2. These fix the bugs given above, and add a check in lint for non-ASCII filenames.

Right now, there are no outstanding problems that would prevent release, as far as I know. So please test - especially on non-ASCII systems, and those that have been having video problems - and let me know if there are problems.
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
ScottySeng
Regular
Posts: 162
Joined: Tue Oct 04, 2011 9:57 am
Completed: May-Chan
Projects: Fairy Tale, What do you see
Skype: scottyseng
Location: Carrollton, TX
Contact:

Re: Ren'Py 6.13.9 Pre-Release

#11 Post by ScottySeng »

I updated to the lastest version that you just posted.

I did not get a launch error as the people above have.
Running Windows 7 Ultimate x64
The tutorial game launches just fine for me.

When I attempt to edit the script using "Edit Script":
All of the files on Jedit appear to be empty and colored yellow:
<Content no longer relevant>

So I tried to make a new project and edit the script of that to see what happened.
There are several files that do not exist that show up in the directory: (Business, My, My, and Visual)
<Content no longer relevant>
Last edited by ScottySeng on Sat Jul 07, 2012 1:30 am, edited 1 time in total.

reductoabsurdum
Newbie
Posts: 7
Joined: Mon May 16, 2011 5:55 pm
Completed: Spare Change
Contact:

Re: Ren'Py 6.13.9 Pre-Release

#12 Post by reductoabsurdum »

The new latest perfectly, and now I can get my game working on Windows XP. Thank you very much!

HigurashiKira
Miko-Class Veteran
Posts: 832
Joined: Mon Nov 01, 2010 9:10 pm
Contact:

Re: Ren'Py 6.13.9 Pre-Release

#13 Post by HigurashiKira »

ScottySeng wrote:I updated to the lastest version that you just posted.

I did not get a launch error as the people above have.
Running Windows 7 Ultimate x64
The tutorial game launches just fine for me.

When I attempt to edit the script using "Edit Script":
All of the files on Jedit appear to be empty and colored yellow:
Image

So I tried to make a new project and edit the script of that to see what happened.
There are several files that do not exist that show up in the directory: (Business, My, My, and Visual)
Image
Had this error too with JEdit, but seems like moving to a new editor fixed the problem.
I have moved to a new account. Please contact me here from now on. T/Y~

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:

Re: Ren'Py 6.13.9 Pre-Release

#14 Post by PyTom »

I've just posted up Ren'Py 6.13.9.1702, the not-the-Enterprise prelease.

The problems that people were having with the editor above were difficult to solve using 6.13's editor code. 6.14 has new editor support, so I backported that code into 6.13.9. It changes how you configure a custom editor by maying config.editor and RENPY_EDITOR obsolete - the new method is documented here.

I've also posted up RAPT 6.13.9.3, the corresponding RAPT release. It fixes a texture bug that caused a crash on startup on some devices, so if you're developing for Android - and many of you now are - you should use that release.

Once again, my list of bugs blocking the 6.13.9 release is empty - so if you can't fill it up again, this will be 6.13.9 final. Thanks for the testing and bug reports, everyone.
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
ScottySeng
Regular
Posts: 162
Joined: Tue Oct 04, 2011 9:57 am
Completed: May-Chan
Projects: Fairy Tale, What do you see
Skype: scottyseng
Location: Carrollton, TX
Contact:

Re: Ren'Py 6.13.9 Pre-Release

#15 Post by ScottySeng »

@Pytom:

Just updated again, and jEdit is working fine.

Thanks for the bugfix.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot]