MStar devices store their operating system in a single large file called a .bin file. This file is "packed" and cannot be edited directly.
Move your unpack_mstar_bin_beta3_patched script into the mstar_unpack folder. Copy your MStar firmware binary into the same folder. unpack mstar bin beta 3 patched