Read about HOME Trackers here: https://projectpokemon.org/home/forums/topic/56296-read-home-tracker-value/
Mew from VC is transferred from Gen1/2 to Gen7 via Bank, then it is transferred to Gen8+ using HOME, which it then gets a Tracker. As I previously mentioned, you cannot legally import it into Gen8+, which leaves Gen1/2 and Gen7 as your only legal options.
Awesome. Do you have any documentation to read so I know how can I put those lines in the batch editor? I'm not good at coding, so this is a little strange to me, but I could read and try it out.
Also, there is not block data editor when I load a Ranch save file. OR at least I haven't found in the sav tab as always
It won't fix the "broken" save file; you can fix it manually by using a hex editor and copying the last 0x10 bytes at the bottom of the save file over to the "broken" from the original.