Jump to content

Trainer ID, and secret ID


Necrodox

Recommended Posts

03575 is the normal trainer ID on my card in SoulSilver, I got a code to find my SID and that is; 96209. When I plug these values into Pokesav and click "Ok" for that particular Pokemon, I go back and click "Edit" to double check. The values changed from 03575 to 3575, and my SID from 96209 to 65535.

Is there an explanation for this?

I'm trying to make LEGAL duplicates of my team in Pokemon Diamond (lost the game a year or so ago) and apparently there are other methods that need to be used in conjunction with Pokesav to ensure the legality of said Pokemon; anyone mind clarifying?

I apologize if these are reoccurring questions I am a bit new to this stuff, any help is greatly appreciated!

EDIT: Please disregard my question in terms of legality of said Pokemon, I don't know how I missed the stickied guide hah, however if you have any tips for a novice legal Pokemon creator I would greatly appreciate it! :P

Link to comment
Share on other sites

If that's only what you're doing, then ditch Pokesav and use PokeGen. PokeGen is far more user-friendly than Pokesav will ever be.

Anyways, your TID changing from 03575 to 3575 is no problem, as the "blank" space is still read as 0. Now, your SID changing I've no clue about...

Like I said, use PokeGen.

Link to comment
Share on other sites

I suspect that the SID may have a maximum value of 65535. The safest way to check SID is to look at the Pokemon in Pokesav or Pokegen. If you can't do that directly, you can trade any Pokemon to me and I can upload the save to check the SID.

There is a program that checks the legality of a Pokemon, but it has its limitations. Event and Pokewalker Pokemon come out as hacked. If the information on the Pokemon is correct and available for that Pokemon then it is probably legal.

Pokegen calculates its PID in conjunction with Nature and IV's (I think). Only certain combinations of IV's will generate a PID in Pokegen. For a Shiny it also takes into account the Trainer ID and SID, unless you generate a Shiny by adjusting SID.

Link to comment
Share on other sites

I actually used an AR to find my Secret ID however I am rather skeptical about certain codes producing the incorrect data; I'll try this code and if it matches with the current secret ID I'll assume it is the correct one.

Link to comment
Share on other sites

Oh I thought that was simply a fault within Pokesav, they can't EVER exeed 65535 eh? So I guess my SID is 30673! I still can't seem to figure out the whole PID thing, when I click it another window pops up that completely boggles the mind.

The Met, Stats, Attacks and OT/Misc are all filled correctly, also in OT/Misc is extra bytes something I should worry about or simply leave it the stock values?

Link to comment
Share on other sites

  • 1 month later...

The SID displaying as 96209 and not 30673 is a from a typo I made in making the code. The money is stored as a 32-bit singed int and the SID is a 16-bit unsigned int.

The code overwrites the first 16 bits with the bits form the SID when if should overwrite all 32-bits. If you had 65535 or less cash, then all the bits used by the cash will be replaced and your SID is shown. If you have 65536 or more. then there are bits in the upper half of the 32 bit value that is not modified, so the number displayed is the SID plus upper half the of the 32-bit value.

So results are:

SID (0000000000000000XXXXXXXXXXXXXXXX)

65536 + SID (0000000000000001XXXXXXXXXXXXXXXX)

131072 + SID (0000000000000010XXXXXXXXXXXXXXXX)

196608 + SID (0000000000000011XXXXXXXXXXXXXXXX)

262144 + SID (0000000000000100XXXXXXXXXXXXXXXX)

327680 + SID (0000000000000101XXXXXXXXXXXXXXXX)

393216 + SID (0000000000000110XXXXXXXXXXXXXXXX)

458752 + SID (0000000000000111XXXXXXXXXXXXXXXX)

524288 + SID (0000000000001000XXXXXXXXXXXXXXXX)

589824 + SID (0000000000001001XXXXXXXXXXXXXXXX)

655360 + SID (0000000000001010XXXXXXXXXXXXXXXX)

720896 + SID (0000000000001011XXXXXXXXXXXXXXXX)

786432 + SID (0000000000001100XXXXXXXXXXXXXXXX)

851968 + SID (0000000000001101XXXXXXXXXXXXXXXX)

917504 + SID (0000000000001110XXXXXXXXXXXXXXXX)

983040 + SID (0000000000001111XXXXXXXXXXXXXXXX)

Since the fixed code showed the SID of 30673, that would be the second result. 65536 + 30673 = 96209

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...