Modding Help - Error When Extracting rpy files [Summertime Saga 19.1]

Gundark

Newbie
Jan 1, 2018
18
73
I like altering dialogue in games to suit different scenarios, but the new Summertime Saga version is giving me trouble. After extracting and decompiling the .rpyc files, when I start the game I get the following "Parsing Failure" message:

Code:
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.


File "game/scripts/core/computer/error.rpy", line 8: expected statement.
    from copy import copy
                          ^

File "game/scripts/core/computer/error.rpy", line 9: expected statement.
    from textwrap import dedent
                                ^

File "game/scripts/core/computer/error.rpy", line 11: expected statement.
    from renpy.display.screen import ScreenDisplayable, get_screen_variant
              ^

File "game/scripts/core/computer/error.rpy", line 12: expected statement.
    from renpy.store import Fixed, NullAction, Transform
              ^

File "game/scripts/core/computer/error.rpy", line 14: expected statement.
    from store.util import struct
              ^

File "game/scripts/core/computer/error.rpy", line 17: expected statement.
(Perhaps you left out a ' at the end of the first line.)
    stack = dedent('''\
          ^
            While running game code:
                  File "game/bedroom.rpy", line 12, in script call
                    call click()
                  File "game/bedroom.rpy", line 26, in script
                    call screen bedroom()
                  File "renpy/common/000statements.rpy", line 531, in execute_call_screen
                    store._return = renpy.call_screen(name, *args, **kwargs)
                NameError: name 'click' is not defined
            ''')

File "game/scripts/core/computer/error.rpy", line 28: expected statement.
(Perhaps you left out a ' at the end of the first line.)
    error = dedent('''\
          ^
            Message DarkCookie if you have received this error.
                (He loves bug reports)
            ''')

File "game/scripts/core/computer/error.rpy", line 33: expected statement.
    noop = NullAction()
         ^

File "game/scripts/core/computer/error.rpy", line 35: expected statement.
    scope = {'config': struct(version='0.0.7-goldeneye', developer=False),
          ^
                 'renpy': struct(platform='AsbestOS-3.1', version_only='6.99.11'),
                 'full': error,
                 'ignore_action': noop,
                 'reload_action': noop,
                 'rollback_action': noop,
                 'short': stack,
                 'traceback_fn': None}

File "game/scripts/core/computer/error.rpy", line 44: expected statement.
    scr = copy(get_screen_variant('_exception'))
        ^

File "game/scripts/core/computer/error.rpy", line 45: expected statement.
    scr.modal = 'False'
              ^

File "game/scripts/core/computer/error.rpy", line 46: expected statement.
    scr.sensitive = 'False'
                  ^

File "game/scripts/core/computer/error.rpy", line 48: expected statement.
    d = ScreenDisplayable(scr, None, None, scope=scope)
      ^

File "game/scripts/core/computer/error.rpy", line 50: expected statement.
    renpy.image('pc_saga_ex', Transform(Fixed(d, xysize=(800, 525)), zoom=.64))
                                                                               ^

File "game/scripts/core/user_interface/computer/app/email.rpy", line 31: expected 'word' not found.
    use 'pc_app_email_' + app.tmp.open
        ^

File "game/scripts/core/user_interface/computer/desktop.rpy", line 18: end of line expected.
    use app.screen(app)
           ^

File "game/scripts/core/user_interface/popup/notice.rpy", line 9: Has expects a child statement.
    has
        ^

File "game/scripts/core/user_interface/popup/proxy.rpy", line 22: end of line expected.
    use spec[0](*spec[1:])
            ^

File "game/scripts/core/user_interface/popup/shop.rpy", line 13: Has expects a child statement.
    has
        ^

File "game/scripts/core/util.rpy", line 7: expected statement.
    class struct(dict):
                ^
This is frankly beyond my depth. Has anyone else experienced the same or similar issues? How would I fix this?
 
  • Like
Reactions: SeoWallah