@Gh0str1d3r erm.
Could you at least load your save file first?
PKHeX is a save editor.
After reading this, I'm starting to think that I've been thrown off by your statement about PKHeX, as well as believe that you are unable to extract your save.
PKHeX is a save editor, not a code generator. Don't know why you're looking at PKHeX at the first place, if you cannot obtain your save.
Anyway, the "???" can easily be resolved by editing the previous code you used.
Alternatively, if you're hard stuck on using Pokesav (to generate codes), it's on our site this whole time: https://projectpokemon.org/home/files/file/2066-pokésav/
When you type in the Trainer name, make sure you use the right arrow key to go all the way to the end of the textbox, and delete any spaces that may be hiding in plain sight behind the new Trainer name you typed in. Typically that steps resolves it.
(It happens with trainer names and nicknames of Pokemon. One of the many reasons why people dropped Pokesav)