This tool compresses the R4 SDHC's firmware, so you don't have to do this yourself.
It is basically backing the file up.
It also asks you if you want to compress Moonshell 2.
EDIT: Oh and before you start complaining, I did this out of boredom.
Download