• Forum Moderator applications are now open! If you're interested in joining an active team of moderators for one of the biggest Pokémon forums on the internet, click here for info.

Pokemon Data Structure in the DS article up. Please help.

MarkusE

New Member
Joined
Sep 16, 2007
Messages
4
Reaction score
0
Article: Pok%C3%A9mon_data_structure_in_the_DS

After about 10 hours of messing around on my own part, I've managed to figure out exactly where everything is stored. The bad news is that I don't know the algorithm that gets us from the 136-byte data structure to the encrypted data stored in the game. (The first 8 bytes are left the same, while the remaining 128 are encrypted in a far more complicated way than that in the GBA games.)

In case you're wondering, I'm currently the lead developer of a new PokéSAV with more features, e.g.
- the ability to mass-edit Pokémon in the PC boxes, e.g. set global gender, level, OT, etc.
- the ability to retrieve default values for move PPs, "met at" levels/locations, etc.
- the ability to filter out abilities, moves, etc. that aren't (legitimately) compatible with a Pokémon
For more information, please see http://gbatemp.net/index.php?showtopic=59118

I will handsomely reward anyone who can decode the encryption algorithm so that I can finish my project.
 
Last edited:
Please don't double-post.

Have you talked to pika, a.k.a. loadingNOW? He may be of assistance.
 
I thought reverse-engineering copyrighted software was illegal. xD That's what they taught us in our ethics course at college anyway. :p
 
Say whaaa? Whats this all about? Whatever, i guess this guy is being a naughty boy...
HoS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
I thought reverse-engineering copyrighted software was illegal. xD That's what they taught us in our ethics course at college anyway. :p

Actually, reverse engineering is a protected right. What's illegal is to reverse-engineer software which protects copyright, i.e. copy-protection software.
 
Actually, reverse engineering is a protected right. What's illegal is to reverse-engineer software which protects copyright, i.e. copy-protection software.
So if software is encrypted, it's perfectly legal to reverse-engineer it?

I may have misheard my ethics professor on that chapter, but I'm almost certain that it's illegal. :/
 
Not so much software that is encrypted, but the means by which it is protected from copying, which may include encryption, is not a legal thing to reverse-engineer, due to the DMCA. (It used to be legal.)
 
I may have misheard my ethics professor on that chapter, but I'm almost certain that it's illegal. :/
I heard the same thing from my ethics lecturer. Maybe it's some sort of conspiracy between ethics lecturers worldwide. =)
 
may i propose that 82 is current location of pokemon? like whether it is a box or in the party. i don't really know but it seems logical...
 
Really?

I thought box and party were stored in different blocks of data. Box Pokemon begin from 0xC104. In this case, there'd be no need for a separate variable.

Also, party Pokemon have a few more bytes indicating their Level, HP, and other stats. Once they are deposited into the PC boxes, they lose those bytes. Their stats only get recalculated when withdrawn.
 
that doesn't make much sense for the coders... they would need to initialize like 20 variables for each pokemon instead of just assigning the variable to the pokemon themselfs...

never mind then this is tough...
 
I will handsomely reward anyone who can decode the encryption algorithm so that I can finish my project.

If you want help from (a greated pool of) potential "de-encryptors" please post a link to somwhere where we can
a) Download a .SAV
b) Reference to at least 1 Pokemon's entire known data from the game (preferably higher level since we *know* their IV values) (including obviously their box positions).
 
hmmmmmm what is the variable that computes the things such as what type of burmey or unknown you have?
 
That's the Personality Value as well (albeit for Wurmple, not Burmy). Ditto for Spinda's spots.
 
Please note: The thread is from 19 years ago.
Please take the age of this thread into consideration in writing your reply. Depending on what exactly you wanted to say, you may want to consider if it would be better to post a new thread instead.
Back
Top Bottom