Jump to content

Updating B2W2 Save Structure Documentation


Recommended Posts

It seems like the technical documentation for B2W2's save structure hasn't been updated in a while on the site. This is mostly minutia that I imagine won't wind up being too important, but I couldn't find the information listed elsewhere on the site. 

Unlisted fields that have since been discovered by suloku and/or kaphotics:

 

0x1DD00: Mail

0x1FB00: IR

0x20800: Gimmick

0x21A00: Battle Subway Play Info

0x21B00: Battle Subway Score Info

0x21D00: Battle Subway Wifi Info

0x22A00: Entralink forest (this might be what evandixon meant by area npc tbh)

0x23700: PWT Info

0x25900: Festa missions

0x25E00: 3DS Link info

0x20400: GTS Data

 

Additionally, I've filled in a couple blank spots as well. 

Block 65 (0x23A00-23AFFF inclusive) are where the game keeps the Route 4 Cottonee/Petilil trade, and the Accumula trades, since the game likes to use your nickname to refer to those Pokemon only. 

0x77000-79FFF inclusive contains Pokestar records (Which Pokemon participated, what endings you unlocked, et cetera). NPC Pokemon you've used in the past on first clear can also be stored here even if they aren't shown on the billboard in-game.  

Structure of block at 0x23A00

0x00: PID (4 bytes)

0x4-17: Name (20 bytes) big endian. if name ends early, followed by two terminating bytes, padded with zeroes until terminating byte
0x18: Terminating byte

0x19: Padding

0x1A: ?????? related to level?

0x1B: Padding

0x1C-1D: TID

0x1E-1F: SID


That first slot is where Cottonee would be in Black 2 if you've made the trade. In White 2, it's left.


0x20: Petilil if White 2 (32 bytes)

Excadrill goes here:


0x40: Excadrill (32 bytes)


0x60: Hippowdon (32 bytes) 

0x80-81: times written to the block

0x82-83: Block checksum

 

Dumped from Black 2, so the Petilil slot is empty.

image.png.81754be8eeedf0b14214f9961da0afe2.png

Dumped from White 2, so the Cottonee slot is empty. 

image.png.03f18277cba2f147cf3371e093fbbf95.png

Sorry if this is kind of incoherent. I'm told the 3DS Link data chunks aren't very well documented right now so hopefully I'll have more information on those soon. 

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...