<# .SYNOPSIS Connects Super Mecha Champions on your Android phone to the Super Mecha Crows server (https://smc.horsecock.art/android). -Revert undoes it. Runs on a Windows PC; the phone is connected by USB with USB debugging on. .DESCRIPTION This is the installer behind Install-SMC-Android.cmd. It is a plain text file: read on to see what it does. Nothing on the phone is rooted or reinstalled, and the game's app (APK) is not changed. Everything happens in the game's own data folder (Android/data/com.netease.g93na), which only the game and USB debugging can reach. 0. adb, Google's USB debugging tool, is downloaded from Google into this kit folder (platform-tools) if missing. 1. The game on the phone is checked: it must be the last global version, unchanged and signed by NetEase. Anything else stops here with "Wrong game version." 2. The game's script part (split_aab_script.apk) is copied from the phone to a temporary folder on this PC. Three of the game's own scripts are read out of it (ConnectHelper, channel, patch_path); the temporary copy is deleted afterwards. 3. The game's update file (patch_npk/p_script.npk) is built on this PC: whatever update file the phone already has (kept as it is), plus three Crows scripts (revival-*.py in this kit, readable) and the three original scripts from step 2 under the name