Small issue with the newest build that seems to cascade into much bigger issues. 6.99.9 doesn't seem to like dash characters "-" in image names. Every single image with a dash in the name fails to compile in 6.99.9, but compiles correctly in 6.99.8. Even weirder, if you compile initially in 6.99.8 and then run the same untouched rpyc files in 6.99.9, it works.
Each error looks like this:
Code: Select all
File "game/includes.rpy", line 86: expected '=' not found.
image bg Rest-Area-Background = "images/bg/Rest Area/Rest Area Background.jpg"
^
Also, possibly related, it crashes on launch with this (assuming you compile straight from 6.99.9 instead of using a project that was once run in 6.99.8):
Code: Select all
I'm sorry, but an uncaught exception occurred.
After loading the script.
Exception: Invalid key specifier skip
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "/Applications/renpy-6.99.9-sdk/renpy/bootstrap.py", line 277, in bootstrap
renpy.main.main()
File "/Applications/renpy-6.99.9-sdk/renpy/main.py", line 399, in main
if renpy.parser.report_parse_errors():
File "/Applications/renpy-6.99.9-sdk/renpy/parser.py", line 2442, in report_parse_errors
renpy.display.error.report_parse_errors(full_text, error_fn)
File "/Applications/renpy-6.99.9-sdk/renpy/display/error.py", line 156, in report_parse_errors
error_fn = error_fn,
File "/Applications/renpy-6.99.9-sdk/renpy/game.py", line 265, in invoke_in_new_context
return callable(*args, **kwargs)
File "/Applications/renpy-6.99.9-sdk/renpy/display/error.py", line 42, in call_exception_screen
return renpy.ui.interact(mouse="screen", type="screen", suppress_overlay=True, suppress_underlay=True)
File "/Applications/renpy-6.99.9-sdk/renpy/ui.py", line 277, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "/Applications/renpy-6.99.9-sdk/renpy/display/core.py", line 2425, in interact
repeat, rv = self.interact_core(preloads=preloads, **kwargs)
File "/Applications/renpy-6.99.9-sdk/renpy/display/core.py", line 3085, in interact_core
renpy.display.behavior.skipping(ev)
File "/Applications/renpy-6.99.9-sdk/renpy/display/behavior.py", line 242, in skipping
if map_event(ev, "skip"):
File "/Applications/renpy-6.99.9-sdk/renpy/display/behavior.py", line 210, in map_event
check_code = eval("lambda ev : " + compile_event(keysym, True), globals())
File "/Applications/renpy-6.99.9-sdk/renpy/display/behavior.py", line 119, in compile_event
raise Exception("Invalid key specifier %s" % key)
Exception: Invalid key specifier skip
Darwin-15.3.0-x86_64-i386-64bit
Ren'Py 6.99.9.1161
Finally, the weirdest part to all of this:
Running the game in 6.99.9 (after running it once in 6.99.8 to get it working in 6.99.9):
Running the game in 6.99.9 after only making a change to the line displayed and nothing else, reloading, but without rolling back far enough to reload the background:
Running the game in 6.99.9 after only making a change to the line displayed and nothing else, reloading, and running from the very beginning of the script to make sure the background has to be reloaded:
If you look closely, it looks like Ren'Py is adding a space before the dash, as the code for that background in the scene is:
Code: Select all
scene bg Motorhome-Day onlayer background:
zoom 0.75
xalign 0.1
yalign 0.2
So Ren'Py 6.99.9 really doesn't like dashes while compiling, whether it wants them to be '=' signs or adding extra spaces.