I used this method, and unfortunately I have a mac, so when I tried to open PKHeX in wine, it just stayed on the loading screen and wouldn't work. Instead, I used pokegen and when I was finished making the pokemon, I changed the file extension to .ekx and everything else worked but when I got to my pc, it just showed up as an egg that wouldn't hatch. I think it's because I need to use PKHeX and I wish somehow I could, if someone could help I would be very appreciative, I also tried it 3 times, and it still didn't work:(