This is a script to repack any Fusee-Gelee/Shofel2 payloads to a boot.dat so you can boot them directly with an SX Pro Dognle. All of this is written by CTCaer and originated here. I've simply changed it to take the input .bin file as an argument instead of being hardcoded in the file.
Python3
python tx_custom_boot.py payload.bin