Changing Pokémon X/Y Game Sync ID?

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by daxtsu, Oct 30, 2015.

  1. daxtsu
    OP

    daxtsu GBAtemp Guru

    Member
    5,546
    3,955
    Jun 9, 2007
    Antarctica
    I have a save with nearly 400 hours and over 500 Pokémon, and I'd like to change my Game Sync ID. It's not currently registered on the PGL (it used to be, but I ended up using this save on a JPN 3DS, so it ended up invalidating the ID on the PGL). Because I used it on a JPN 3DS, it has given me a Game Sync ID that won't sync up to the US PGL (I've since moved back to a US N3DS, like my signature says), and the game didn't generate a new one. Is there a way I can force the game to generate a new one? I'm not real keen on starting over, even with the ability to use PKHex to change a new trainer's ID and boxes, and such.
     
    Last edited by daxtsu, Oct 30, 2015
    kiwiis likes this.
  2. daxtsu
    OP

    daxtsu GBAtemp Guru

    Member
    5,546
    3,955
    Jun 9, 2007
    Antarctica
    Apologies for the double post, but I figured it out:

    1. Make a new save (back up your old one, of course) and play until you get access to the menu, and get yourself a Game Sync ID.
    2. Export it using SDF or SVDT to get your "main" file.
    3. Open it in a hex editor and copy 8 bytes starting from 0x14008 to 0x1400F.
    4. Open your other save that you want to change the Game ID for with a hex editor, and paste over 0x14008 to 0x1400F with the new Game Sync ID you made.
    5. Use PKHeX to open your old "main" file, and use Export SAV to fix checksums.
    6. Import your save again with SaveDataFiler or SVDT (erase the secure value if necessary).
    7. Now you should be able to use your new Game Sync ID on the PGL and sync in-game.

    I had wanted to figure out where exactly the game decided you had an ID or not, but after a couple hours of tinkering, I had no luck. But now we know 0x14008-0x1400F controls your Game Sync ID. It's basically as easy as starting a new game, getting an ID, and transplanting said new ID into your old game.

    New edit: December 15, 2015: ORAS uses the same offset for the Game Sync ID, so just follow the above steps and it should work there too.
     
    Last edited by daxtsu, Dec 15, 2015
    Games&Stuff and Aditzu like this.
  3. Aditzu

    Aditzu Member

    Newcomer
    45
    10
    Jan 20, 2016
    Romania
    It worked! Love ya dude! :D
    #nohomo
     
    daxtsu likes this.
  4. daxtsu
    OP

    daxtsu GBAtemp Guru

    Member
    5,546
    3,955
    Jun 9, 2007
    Antarctica
    I forgot to update that post, but newer versions of PkHeX are supposed to have Game Sync ID editing, so you can shorten those steps to something like this:

    1. Make a new save (back up your old one, of course) and play until you get access to the menu, and get yourself a Game Sync ID.
    2. Export it using SDF or SVDT to get your "main" file.
    3. Open it in a hex editor and copy 8 bytes starting from 0x14008 to 0x1400F.
    5. Use PKHeX to open your old "main" file, edit the Game Sync ID with it, then use Export SAV to fix checksums.
    6. Import your save again with SaveDataFiler or SVDT (erase the secure value if necessary).
    7. Now you should be able to use your new Game Sync ID on the PGL and sync in-game.

    If PKHex was extended even further to use the ID from a different "main" file, then you could eliminate the use of a hex editor altogether. I haven't used it in quite some time, though.
     
  5. Aditzu

    Aditzu Member

    Newcomer
    45
    10
    Jan 20, 2016
    Romania
    Yeah, I noticed at first that I could modify the ID straight from PKHEX, skipping the third step and it wasn't working...then I found your post and was really surprised that I should've edited the hex values as well...oh well, what it matters is that I got it to work now! Thanks again! :)
     
  6. daxtsu
    OP

    daxtsu GBAtemp Guru

    Member
    5,546
    3,955
    Jun 9, 2007
    Antarctica
    If the editor in PKHeX isn't working, you should probably tell @Kaphotics about it.
     
  7. Aditzu

    Aditzu Member

    Newcomer
    45
    10
    Jan 20, 2016
    Romania
    Well...the editor itself worked, it let me change the value and save it, but it didn't show modified in the game (which now I know why).
     
  8. BlazeEruption

    BlazeEruption Member

    Newcomer
    22
    0
    Feb 23, 2016
    United States
    @daxtsu
    So I was trying to follow your guide but when I went in hex a editor I couldn't find the bytes I had to copy and paste.
    So you just can't copy and paste the game sync id from one save to the other in PKHex?
     
  9. Aditzu

    Aditzu Member

    Newcomer
    45
    10
    Jan 20, 2016
    Romania
    Nope, apparently it doesn't work like that sadly...
     
  10. BlazeEruption

    BlazeEruption Member

    Newcomer
    22
    0
    Feb 23, 2016
    United States
    How did you find the bytes in the hex editor I can't find it in HxD.
     
  11. Aditzu

    Aditzu Member

    Newcomer
    45
    10
    Jan 20, 2016
    Romania
    I didn't use the ctrl+f function.Instead I just searched manually for it and I eventually found it.Just look for 14008 and 1400F (without "0x" in front) and it should be there, assuming you have the correct file.
     
  12. BlazeEruption

    BlazeEruption Member

    Newcomer
    22
    0
    Feb 23, 2016
    United States
    Can't seen to find those values , but found some similar ones 14080 and 140F0.:huh:
     
  13. Aditzu

    Aditzu Member

    Newcomer
    45
    10
    Jan 20, 2016
    Romania
    Here it is to be precise...
    Hope it helps!
     

    Attached Files:

  14. BlazeEruption

    BlazeEruption Member

    Newcomer
    22
    0
    Feb 23, 2016
    United States
    Hey,man thank you very much it worked.^_^

    Also do you know if you can get banned from PGL if your previous save file had more Pokemon recorded in the pokedex?
     
  15. daxtsu
    OP

    daxtsu GBAtemp Guru

    Member
    5,546
    3,955
    Jun 9, 2007
    Antarctica
    I suppose they could, but it's not like changing the Game Sync ID can really be used for any cheating, right? It's mainly for those of us who got stuck with an ID that somehow became invalid due to region changing or other problems like that.
     
  16. BlazeEruption

    BlazeEruption Member

    Newcomer
    22
    0
    Feb 23, 2016
    United States
    Ok ,thank you for guide.
     
  17. Hoshi_Star

    Hoshi_Star Member

    Newcomer
    16
    1
    Mar 27, 2016
    Ran into a problem. All Id changed and all went well then I found out on cybersave I can read the cache files anymore in order to inject files

    ★負ける気がしねぇ。I Don't Feel Like Losing ★
     
  18. skarton94

    skarton94 Newbie

    Newcomer
    2
    0
    Jan 12, 2015
    Brunei
    Osorno, Chile
    the new save file you used to create the new sync ID has to have the same TID, SID, trainer name, etc as the old save file we want to inject new sync ID into?
    wont the global link see that the values (the ones from the old save file) doesnt match with the new sync ID, as it is related to it's original save file values?

    what i want to do is change my trainer id with pkhex(nothing too complicated). but i dont know if that would result in ban when i sync with GL
    would i need to make a new save file with the trainer name i want to, then create a new sync id with it and copy it to the old save file with the trainer name already changed? or i just have to change the trainer name on pkhex and im worrying to much?

    EDIT: can i unregister my card, then change the trainer name, and then reregister with the same gamesync code?
     
    Last edited by skarton94, Jun 27, 2016
  19. Hoshi_Star

    Hoshi_Star Member

    Newcomer
    16
    1
    Mar 27, 2016
    Just change the name. When you sync it will automaticly change to the new name.

    Down side is your Pokemon ids won't change so you might wanna have to change the ids one by one or use the mass editor

    ★負ける気がしねぇ。I Don't Feel Like Losing ★
     
  20. skarton94

    skarton94 Newbie

    Newcomer
    2
    0
    Jan 12, 2015
    Brunei
    Osorno, Chile
    thanks, ill do just that