PCD file structure

This are just a try of decrypting the pcd-file-format as used in the pokemon games (wondecards). As this is guessed in some placed, it might be plain wrong

StartEndCommentData
0x0000 0x0003 Type of Card
  • 0x01: Pokemon
  • 0x02: Pokemon Egg
  • 0x03: Item
  • 0x07: Manaphy Egg
  • 0x08: Game Event: Member Card (Darkrai)
  • 0x09: Game Event: Oaks Letter (Shaymin)
  • 0x0B: Poketch Application
  • 0x0C: Game Event: Secret Key (Rotom)
  • 0x0E: Pokewalker Area
0x0004 0x0007 Parameter for card
  • For Pokemon (0x01) this is whether OT is fixed
  • For Pokemon eggs (0x02) this is whether OT is fixed
  • For item (0x03) this is hexcode of item
  • For Poketch (0x0b) this is index of application
  • For Pokewalker area (0x0e), this is index of area
0x0008 0x00F3 Parameter for pokemon and egg
  • For Pokemon and eggs: This is the pokemon in ecrypted style, 236 bytes
  • For non-pokemon this it zero
0x00F4 0x0103 ??? ???
0x0104 0x0149 Caption of Card This is the title of the card, as displayed on the front of the card.
Standard Pokemon char numbering is used (see char table). maximum 76 Bytes = 38 Chars
Padded to end with FFFF
0x014A 0x014B Padding? Always seems to be FFFF (end of Card title?)
0x014C 0x014D Compatible Editions Bitfield:
  • Bit 7: Heartgold
  • Bit 8: Soulsilver
  • Bit 10: Diamond
  • Bit 11: Pearl
  • Bit 12: Platinum
Example: HG+Diamond+Platinum = 0x1480 (stored as 8014)
0x014E 0x014F Padding? Always seems to be 0000
0x0150 0x0153 Index number The game stores all index numbers you ever you received a card with. It refuses any new card with a number already existing in this list.
0x0154 0x0335 Text of card This is the text displayed on the back of the card.
Standard Pokemon char numbering is used. Maximum 482 Bytes = 241 Chars
Padded to end with FFFF
0x0336 0x0347 Padding? Always seems to be FFFF (end of card text?)
0x0348 0x0349 Redistributions left How often this Card may be shared. This is 0 for never and 0xFF for unlimited
0x034A 0x034B Icon 1 First Pokemon icon to be displayed on card (pokemon hexcode)
0x034C 0x034D Icon 2 Second Pokemon icon to be displayed on card (pokemon hexcode)
0x034E 0x034F Icon 3 Third Pokemon icon to be displayed on card (pokemon hexcode)
0x0350 0x0353 Padding? Always seems to be 0000
0x0354 0x0357 Date of Receipt When this card was received. Date is given as "Days since 2000-01-01"
  • 0x0000 is 2000-01-01
  • 0x001E is 2000-01-31
  • 0x001F is 2000-02-01
  • 0x016D is 2000-12-31
  • 0x099E is 2006-09-28 (day of japanese release)
  • 0x0C71 is 2008-09-20 (Pokemon Day Oberhausen)
  • 0x0E45 is 2010-01-01