Ren'Py 6.8.0 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: 15478
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.8.0 Released

#1 Post by PyTom » Mon Oct 13, 2008 6:53 pm

With the economy in shambles and the election becoming more and more negative, sometimes people are looking for a bit of good news. Well, now you have it, with the release of Ren'Py 6.8.0 "Good News". This release has wide range of improvements in it:

* We've upgraded to pygame 1.8.1.
* New TrueType font handling code supports placing multiple outlines around text.
* Text can now be justified.
* Ren'Py will automatically change the icons when building windows and mac distributions.
* A new help button will launch a web browser giving your users instructions.
* Missing images are handled more gracefully, allowing one to code a game without first defining images.

Downloads of 6.8.0 and a full release announcement can be found at:

http://www.renpy.org/wiki/renpy/releases/6.8.0
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
Dusty
Regular
Posts: 126
Joined: Fri Jul 25, 2008 11:51 pm
Contact:

Re: Ren'Py 6.8.0 Pre-Released

#2 Post by Dusty » Mon Oct 13, 2008 7:59 pm

When trying to make a new project I get a traceback:

Code: Select all

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

TypeError: 'NoneType' object is unsubscriptable

While running game code:
 - script at line 74 of renpy-6.8.0/launcher/new.rpy
 - python at line 97 of renpy-6.8.0/launcher/new.rpy.
 - python at line 176 of renpy-6.8.0/launcher/launcher.rpy.
 - python at line 61 of renpy-6.8.0/launcher/launcher.rpy.

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

  File "renpy-6.8.0\renpy\bootstrap.py", line 247, in bootstrap
  File "C:\Program Files\RenPy Beta\renpy-6.8.0\renpy\main.py", line 300, in main
  File "C:\Program Files\RenPy Beta\renpy-6.8.0\renpy\main.py", line 92, in run
  File "C:\Program Files\RenPy Beta\renpy-6.8.0\renpy\execution.py", line 199, in run
  File "C:\Program Files\RenPy Beta\renpy-6.8.0\renpy\ast.py", line 554, in execute
  File "C:\Program Files\RenPy Beta\renpy-6.8.0\renpy\python.py", line 880, in py_exec_bytecode
  File "renpy-6.8.0/launcher/new.rpy", line 97, in <module>
  File "renpy-6.8.0/launcher/launcher.rpy", line 176, in paged_menu
  File "renpy-6.8.0/launcher/launcher.rpy", line 61, in interact
  File "C:\Program Files\RenPy Beta\renpy-6.8.0\renpy\ui.py", line 58, in interact
  File "C:\Program Files\RenPy Beta\renpy-6.8.0\renpy\display\core.py", line 1318, in interact
  File "C:\Program Files\RenPy Beta\renpy-6.8.0\renpy\display\core.py", line 1461, in interact_core
  File "C:\Program Files\RenPy Beta\renpy-6.8.0\renpy\display\core.py", line 242, in predict
  File "C:\Program Files\RenPy Beta\renpy-6.8.0\renpy\display\core.py", line 217, in visit_all
  File "C:\Program Files\RenPy Beta\renpy-6.8.0\renpy\display\layout.py", line 647, in visit
  File "C:\Program Files\RenPy Beta\renpy-6.8.0\renpy\style.py", line 541, in getter
TypeError: 'NoneType' object is unsubscriptable

While running game code:

Ren'Py Version: Ren'Py 6.8.0a
This happens when I'm choosing the color settings, ~2ish seconds after it gives me the menu. To make sure this wasn't a fluke, I did it three times. (wooh, go scientific method)

User avatar
delta
Epitome of Generic
Posts: 525
Joined: Sat Dec 22, 2007 12:59 pm
Projects: yes
Contact:

Re: Ren'Py 6.8.0 Pre-Released

#3 Post by delta » Mon Oct 13, 2008 8:08 pm

Clicking the "Help" button in the Demo crashes on OSX. Works on Windows.

Code: Select all

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

Error: (-43, 'Mac OS error code -43')

While running game code:
 - script at line 698 of /Users/delta/Documents/ks svn/common/00library.rpy
 - python at line 698 of /Users/delta/Documents/ks svn/common/00library.rpy.
 - script at line 20 of /Users/delta/Documents/ks svn/common/_layout/classic_main_menu.rpym
 - python at line 128 of /Users/delta/Documents/ks svn/common/00library.rpy.

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

  File "/Users/delta/Documents/ks svn/renpy/bootstrap.py", line 247, in bootstrap
  File "/Users/delta/Documents/ks svn/renpy/main.py", line 300, in main
  File "/Users/delta/Documents/ks svn/renpy/main.py", line 92, in run
  File "/Users/delta/Documents/ks svn/renpy/execution.py", line 199, in run
  File "/Users/delta/Documents/ks svn/renpy/ast.py", line 554, in execute
  File "/Users/delta/Documents/ks svn/renpy/python.py", line 880, in py_exec_bytecode
  File "/Users/delta/Documents/ks svn/common/00library.rpy", line 698, in <module>
  File "/Users/delta/Documents/ks svn/renpy/game.py", line 272, in call_in_new_context
  File "/Users/delta/Documents/ks svn/renpy/execution.py", line 199, in run
  File "/Users/delta/Documents/ks svn/renpy/ast.py", line 554, in execute
  File "/Users/delta/Documents/ks svn/renpy/python.py", line 880, in py_exec_bytecode
  File "/Users/delta/Documents/ks svn/common/_layout/classic_main_menu.rpym", line 53, in <module>
  File "/Users/delta/Documents/ks svn/renpy/ui.py", line 58, in interact
  File "/Users/delta/Documents/ks svn/renpy/display/core.py", line 1318, in interact
  File "/Users/delta/Documents/ks svn/renpy/display/core.py", line 1789, in interact_core
  File "/Users/delta/Documents/ks svn/renpy/display/layout.py", line 583, in event
  File "/Users/delta/Documents/ks svn/renpy/display/layout.py", line 583, in event
  File "/Users/delta/Documents/ks svn/renpy/display/layout.py", line 583, in event
  File "/Users/delta/Documents/ks svn/renpy/display/layout.py", line 134, in event
  File "/Users/delta/Documents/ks svn/renpy/display/layout.py", line 583, in event
  File "/Users/delta/Documents/ks svn/renpy/display/behavior.py", line 407, in event
  File "/Users/delta/Documents/ks svn/common/00library.rpy", line 128, in _help
  File "webbrowser.pyo", line 65, in open_new
  File "webbrowser.pyo", line 60, in open
  File "webbrowser.pyo", line 539, in open
  File "ic.pyo", line 235, in launchurl
  File "ic.pyo", line 202, in launchurl
Error: (-43, 'Mac OS error code -43')

While running game code:

Ren'Py Version: Ren'Py 6.8.0a
The rest is left as an exercise for the reader.

User avatar
PyTom
Ren'Py Creator
Posts: 15478
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.8.0 Pre-Released

#4 Post by PyTom » Mon Oct 13, 2008 8:28 pm

delta: Does the documentation button in the launcher work for you?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
delta
Epitome of Generic
Posts: 525
Joined: Sat Dec 22, 2007 12:59 pm
Projects: yes
Contact:

Re: Ren'Py 6.8.0 Pre-Released

#5 Post by delta » Mon Oct 13, 2008 8:35 pm

Yes, it does.

Couple of other things on the quick:
* cmd-h and cmd-q do nothing in the launcher. I almost thought that function was broken, but they work in the Demo. What gives?
* cmd-h normally does not minimize a window to the dock on OSX (like Ren'Py does now, outside the launcher), it hides the whole application. cmd-m is supposed to minimize the window.
* Not related specifically to 6.8.0, but since something about config.window_icon was changed it reminded me: the icon png is ideally not larger than 32x32 for Windows (where larger files tend to show up crappily on the window border), but also ideally much larger for OSX (where they get shown in the Dock, which can be up to at least 128x128 IIRC). I have no idea how to fix that, but it is a problem.
The rest is left as an exercise for the reader.

User avatar
PyTom
Ren'Py Creator
Posts: 15478
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.8.0 Pre-Released

#6 Post by PyTom » Mon Oct 13, 2008 11:18 pm

Okay, I've fixed all the issues brought up by Dusty and Delta. Thanks to both of them for really good bug reports... good bug reports make my life easier.

I'll wait until tomorrow to see if anyone finds anything else, and then release 6.8.0b.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
Hentai Senshi
Regular
Posts: 105
Joined: Wed Aug 08, 2007 9:37 pm
Contact:

Outline bug + fix

#7 Post by Hentai Senshi » Tue Oct 14, 2008 2:49 am

Font outlining and text tags don't interact well - you get results like
outline-italic-bug.jpg
Sample of outline bug
I've attached a replacement renpy/display/text.py which fixes it.

Possible gotchas: from the looks of the code, dropshadows might need to be treated similarly; I'm not sure how it interacts with justification (or if the justify field in the styles does anything yet...)
Attachments
text.py
updated text.py
(41.6 KiB) Downloaded 116 times
Project statii:
Yuri no Yume: Wet Night: Released!
Tentacularity: Released!
LoliFindsKitten: AlphaBetaThingy...

User avatar
Formedras
Regular
Posts: 40
Joined: Sat Oct 04, 2008 3:11 am
Projects: Ninja TK
Contact:

6.8.0 SciTE?

#8 Post by Formedras » Tue Oct 14, 2008 3:37 am

Is SciTE going to really work this time around? I still prefer that over jEdit, especially on this computer where I want to avoid Java as much as possible. (I get enough slowdown just using Windows.)

I know I'm not the only person that was having problems with your SciTE for Ren'Py 6.7.1 package. I know this because I got replies on the "reverting back to SciTE" thread that you put the package on.

I like SciTE and I'd like to keep using it. And I'd like to not restrict myself to 6.7.0 or manual file opening to do so. (Especially since I like clicking on the editor button in the demo project.) If you make a SciTE drop-in for 6.8.0, could you test it on multiple systems to make sure it doesn't have the same problem as we've had?
http://www.google.com/profiles/tizalka
Current Project:
Ninja TK

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4039
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.8.0 Pre-Released

#9 Post by jack_norton » Tue Oct 14, 2008 4:05 am

I must confess that I prefer SciTe too over Jedit :oops:
Also, are you planning to implement in future that mudgefont bitmap font importing we discussed in this thread? making your own bitmap font that way probably would be better and solve many problems people are having with good looking italics I think.
follow me on Image Image Image Image
computer games

User avatar
PyTom
Ren'Py Creator
Posts: 15478
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.8.0 Pre-Released

#10 Post by PyTom » Tue Oct 14, 2008 12:17 pm

jack_norton wrote:Also, are you planning to implement in future that mudgefont bitmap font importing we discussed in this thread?
At the end of that thread, I had some questions about the spacing tag. Once I understand it, I'll implement mudgefont support.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4039
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.8.0 Pre-Released

#11 Post by jack_norton » Tue Oct 14, 2008 1:04 pm

Ah sorry, missed that post. From what I recall, the spacing is not used. In the python example that comes with mudgefont itself, you see:

Code: Select all

struct fontInfo
	{
	int x;
	int y;
	int width;
	int height;
	};
so that's it. Apparently the spacing is saved to display it on the program itself but not to import the data. Indeed as x spacing (each character size) can be used the width :)
follow me on Image Image Image Image
computer games

Poster1
Newbie
Posts: 2
Joined: Fri Oct 10, 2008 12:08 pm
Contact:

Re: Ren'Py 6.8.0 Pre-Released

#12 Post by Poster1 » Tue Oct 14, 2008 2:38 pm

I'm having two problems.

In renpy-6.7.1 and 6.8.0, when I click on "Edit Script", nothing happens. The message "Launched editor with 2 script files." appears at the bottom of the Ren'Py Launcher, but the script editor doesn't open. It works perfectly in renpy-6.7.0.

I'm not sure if this is relevant, but if I click on "console", I get this message in the black "console" window when I click on "Edit Script".
'javaw.exe' is not recognized as an internal or external command,
operable program or batch file.
I get that message in both 6.7.1 and 6.8.0, but not 6.7.0.

Also, in every version of Renpy I've tested, the in-game "Preferences" menu is messed up if you use a resolution with a width of 640 pixels.

Here's a screenshot.

ImageImage

The gap between the second and third column of boxes is 10 pixels, as is the gap between the third column of boxes and the right side of the screen. For some reason, however, the first column of boxes is directly against the left side of the screen and as a result, the gap between the first and second column of boxes is 20 pixels. The first column of boxes should be moved 10 pixels to the right, so that each column of boxes will be evenly spaced.

User avatar
PyTom
Ren'Py Creator
Posts: 15478
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: Outline bug + fix

#13 Post by PyTom » Tue Oct 14, 2008 4:03 pm

Hentai Senshi wrote:Font outlining and text tags don't interact well - you get results like
outline-italic-bug.jpg
I've attached a replacement renpy/display/text.py which fixes it.
I've fixed the bug, using a slightly different strategy. Each outline needs to be drawn completely before going to the next-higher outline, otherwise you can have a lower outline overlapping a higher one. But now the problem is fixed.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
PyTom
Ren'Py Creator
Posts: 15478
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.8.0 Pre-Released

#14 Post by PyTom » Tue Oct 14, 2008 4:04 pm

Poster: you need to install java to get the text editor to work.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

Poster1
Newbie
Posts: 2
Joined: Fri Oct 10, 2008 12:08 pm
Contact:

Re: Ren'Py 6.8.0 Pre-Released

#15 Post by Poster1 » Tue Oct 14, 2008 4:40 pm

Thanks. I'm not exactly sure what Java is, but I went to it's site and downloaded it, and now the script editor works perfectly in Renpy 6.7.1 and 6.8.0.

Post Reply

Who is online

Users browsing this forum: hell_oh_world