Remove the header first, then patch the ips to the rom.