# revival-ConnectHelper.py - one of the three game scripts the Super Mecha Crows Android kit adds. # The installer puts it into the game's update file (patch_npk/p_script.npk on the phone) under the game's own name # logic.gutils.ConnectHelper, next to the game's original module, which it copied out of YOUR phone's game under # logic.gutils.ConnectHelper_original. This script loads that original unchanged, then runs the Crows part below inside it. import sys import logic.gutils.ConnectHelper_original as _revival_original sys.modules['logic.gutils.ConnectHelper'] = _revival_original _REVIVAL_PART = '\n# ---- [REVIVAL] override tail, generated by tools/override/build_override.py ----\n# Runs after the original logic/gutils/ConnectHelper module body (class ConnectHelper exists, LogManager is imported).\n# NO bare print(): this client redirects sys.stdout to a C_debug.logoutput object with no flush(), so print()\n# raises AttributeError during import and the process __fastfail(FATAL_APP_EXIT)s (crash confirmed 2026-09-22c,\n# client.exe+0x19d1155; matches HANDOVER 7 \'logoutput has no flush\'). The marker goes ONLY through the game\'s\n# LogManager (writes to package/log.txt as a