Ren'Py 6.8.0 Released
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.
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.
- 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.8.0 Released
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
* 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(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Re: Ren'Py 6.8.0 Pre-Released
When trying to make a new project I get a traceback:
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)
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
Re: Ren'Py 6.8.0 Pre-Released
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.
- 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.8.0 Pre-Released
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(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Re: Ren'Py 6.8.0 Pre-Released
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.
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.
- 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.8.0 Pre-Released
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.
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(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
-
- Regular
- Posts: 105
- Joined: Wed Aug 08, 2007 9:37 pm
- Contact:
Outline bug + fix
Font outlining and text tags don't interact well - you get results like
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...)
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 137 times
Project statii:
Yuri no Yume: Wet Night: Released!
Tentacularity: Released!
LoliFindsKitten: AlphaBetaThingy...
Yuri no Yume: Wet Night: Released!
Tentacularity: Released!
LoliFindsKitten: AlphaBetaThingy...
6.8.0 SciTE?
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?
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?
- 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.8.0 Pre-Released
I must confess that I prefer SciTe too over Jedit
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.
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.
- 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.8.0 Pre-Released
At the end of that thread, I had some questions about the spacing tag. Once I understand it, I'll implement mudgefont support.jack_norton wrote:Also, are you planning to implement in future that mudgefont bitmap font importing we discussed in this thread?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
- 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.8.0 Pre-Released
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:
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
Code: Select all
struct fontInfo
{
int x;
int y;
int width;
int height;
};
Re: Ren'Py 6.8.0 Pre-Released
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".
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.
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.
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".
I get that message in both 6.7.1 and 6.8.0, but not 6.7.0.'javaw.exe' is not recognized as an internal or external command,
operable program or batch file.
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.
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.
- 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: Outline bug + fix
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.Hentai Senshi wrote:Font outlining and text tags don't interact well - you get results likeI've attached a replacement renpy/display/text.py which fixes it.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
- 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.8.0 Pre-Released
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(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Re: Ren'Py 6.8.0 Pre-Released
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.
Who is online
Users browsing this forum: No registered users