Please check [https://github.com/amery/sunxi-tools] for a more complete and updated tool :)
Included tools (for now):
- script2fex.rb: converts a script.bin file back into the .fex file, for easy editing. It can be compiled back by using the closed-source script tool.