This script is intended to parse SHUIWIFI.BIN firmware file and generate partitions to flash ESP32/ESP8266 using USB TTL adapter.
Put SHUIWIFI.BIN file next to this script and run (or specify absolute path to the file):
python parser.py SHUIWIFI.BIN
Also, you can parse SHUIWIFI.BIN file using online tool I have developed.