I don't know if this is what you want
I have compressed all Gamecube roms for my WII U in this way
1 - Unzip the roms * .GCZ of the "Dolphin"
Then I run this battery that does two processes.
1 - Compress and rename:
Example: "007 + random name.gcm" a "From Russia With Love [GLZE69]"
2 - Copy...