i'll don't knoe how you fix it but the rom when i patch it with this ips i get rary things see when i start the rom
But that is easy to overcome. You are probably refering to the glitched naming screen as a result of the false file size. When you open a new game, I just press any button like A, and then START to play with the name G.
Or use a SRM save from regular Alttp and rename it to Lyra Islands and you will have your name (save) already in.
Or like SGP said, after patching expand the hacked rom from 1.027MB to 2MB or 1.5MB (this can be done in hex too) and this glitched naming screen will not be glitched.
Note: The extra size comes from making certain edits with Hyrule Magic (especially title screen edits). Some times it doesn't know what to do with certain data so it tacks it on to the end of the ROM and creates an irregular file size (because it's stupid).
+
Actually it is not that stupid, it replaces the data correctly, but it forgets to expand the rom.
Irony: ZSNES can read the ortodox file size too (I tested it), but this is not recomended, since all other devices will reject this odd size.