Gaming Has anyone found out the Formula for Gen VI/VII TID Conversion?

Refisio

New Member
OP
Newbie
Joined
Sep 29, 2016
Messages
3
Trophies
0
Age
27
XP
76
Country
United States
I remembered this morning that Pokemon XYΩRαS has a tool that checks TSV through TID/SID. Today, I pulled it up and tried inputting my Gen VII TID and my Gen VI SID (I purposely edited my save file on Pokemon Sun to match my ΩR IDs), but it returned an error.

upload_2016-11-22_10-46-59.png


So, I started to look through some of PKHeX's files to see if I could spot something that would lead me to a formula for Gen VI to VII TID/SID Conversion, but I either didn't look hard enough, can't read code, or am just blind, because I couldn't find it. Has anyone else been able to figure this out?
 

drgoku282

Well-Known Member
Member
Joined
Oct 16, 2014
Messages
427
Trophies
0
Age
31
XP
724
Country
Mexico
TID/SID ESV/TSV mechanics are unchanged from Gen VI, the value that you see in-game (called G7ID in pkhex) is derived from the actual values.

G7ID = (TID OR (SID << 16)) mod 1000000
TSV = (TID XOR SID) >> 4

Remember that TID and SID are 32-bit values before calculations. AFIK you can't get your TSV with the G7ID alone, you still need your hidden TID and SID to get it.
 
Last edited by drgoku282,

Refisio

New Member
OP
Newbie
Joined
Sep 29, 2016
Messages
3
Trophies
0
Age
27
XP
76
Country
United States
AFIK you can't get your TSV with the G7ID alone, you still need your hidden TID and SID to get it.

Thanks a lot for the information, as well as the formula I was looking for.

Was looking for that information for a project that I would like to work on, rather than just looking up my TSV, but it looks like I'm gonna need a few more math lessons before I dive into that.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    fuck ubisoft, and fuck activision
    +1
  • realtimesave @ realtimesave:
    Nintendo needs to release a new console, switch is getting such shitty little games lately lol it's pathetic
  • Purple_Heart @ Purple_Heart:
    Lmao a new flashcart... The Unlock Switch... I knew it's not fake xD
    +1
  • NinStar @ NinStar:
    A new consoles won't solve that problem
  • NinStar @ NinStar:
    It will actually make it worse
  • The Real Jdbye @ The Real Jdbye:
    well actually
    a new console won't do anything right now, because the games are still in development, that's why there are few games being released
  • The Real Jdbye @ The Real Jdbye:
    it won't make the games finish any faster
  • Veho @ Veho:
    2/3rds of launch titles for the Switch 2 will just be lazy ports of Switch games anyway.
  • The Real Jdbye @ The Real Jdbye:
    probably
  • The Real Jdbye @ The Real Jdbye:
    maybe mario kart 9 will be a launch title
  • The Real Jdbye @ The Real Jdbye:
    i really want a new mario kart
  • Veho @ Veho:
    What, you mean the endless stream of DLCs doesn't count?
  • Veho @ Veho:
    Why develop a new game when you can just sell season passes forever?
  • Veho @ Veho:
    I'm still on MKDS so I'm not bothered :tpi:
  • The Real Jdbye @ The Real Jdbye:
    i like the dlc tbh, i'd like a new game more
  • ZeroT21 @ ZeroT21:
    but the current version is still selling fine at full price
  • SylverReZ @ SylverReZ:
    Hello
  • ZeroT21 @ ZeroT21:
    sup
    +1
  • SylverReZ @ SylverReZ:
    @realtimesave, You seen the Unlock Switch flashcart yet?
  • K3Nv2 @ K3Nv2:
    I'll see the 19.0 update that blocks use ability to it
    +1
  • K3Nv2 @ K3Nv2:
    Lol newegg+
    Screenshot-20240423-053504-Gmail.jpg
  • S @ salazarcosplay:
    does update 19 really block it
  • SylverReZ @ SylverReZ:
    Update 19 never came out yet. Just the 18.1.
    SylverReZ @ SylverReZ: Update 19 never came out yet. Just the 18.1.