diff options
Diffstat (limited to 'sast/renpy.rpy-sast.py')
-rw-r--r-- | sast/renpy.rpy-sast.py | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sast/renpy.rpy-sast.py b/sast/renpy.rpy-sast.py new file mode 100644 index 0000000..d49c2bf --- /dev/null +++ b/sast/renpy.rpy-sast.py @@ -0,0 +1,34 @@ +if True: + if persistent.steam: + stdout("Steam Module verification...") + try: + steam.init() + except: + import _renpysteam as steam + statusmsg=_("Validating SSL Certificates...") + stdout("Before menu OK") + build_vault() + stdout("Vault PEM OK") + renpy.invoke_in_thread(CONFIGURE_LAUNCHER) + stdout("Thread start OK") + # Block the main thread until the socket connection is done + stdout("Thread finish OK") + status_update(_("{color=#F00}Failure! Vault ID could not be set.{/color}")) + stdout("Connection established! User ID %d" % vaultId) + persistent.vaultId = vaultId + renpy.block_rollback() + stdout("Good bye!") + renpy.quit() + stdout("V0id") + statusmsg=_("Now loading...") + renpy.invoke_in_thread(launch_game, _return) + stdout("Program died - unsucessful game launch") + stdout("MLP Destination is set") + try: + _return=dl_search_idx(persistent.serverlist, "UUID", MLP_DEST) + _return=int(_return) + except: + traceback.print_exc() + _return=-1 + MLP_DEST=None + stdout("WID Target: %d" % (_return)) |