YDKe is the export format used by many modern Yu-Gi-Oh! simulators.
ydke://<main>!<extra>!<side>!
- Three components: main deck, extra deck, and side deck, separated by
!
- Each component is a base64 encoded string of Konami card passcodes
- Passcodes are stored as 32-bit little-endian values
- It is likely that the endianess is dependant on the exporter architecture. Almost everything is LE now days almost standardising that this is enforced LE. If you intend your implementation to be BE compatible, you should test this and raise an issue.
Blue-Eyes White Dragon
(passcode: 89631139)- EDOPro export:
ydke://o6lXBQ==!!!
- Components:
['o6lXBQ==', '', '']
- Decoded:
A3A95705
→ Little-endian:0x0557A9A3
(89631139)
ydke://o6lXBQbqRAQ=!SSyyAg==!rvTMAg==!
- Components:
['o6lXBQbqRAQ=', 'SSyyAg==', 'rvTMAg==']
- Main deck:
A3A9570506EA4404
→[A3A95705, 06EA4404]
0x0557A9A4
(89631139): Blue-Eyes White Dragon0x0444EA06
(71625222): Time Wizard
- Extra deck:
492CB202
→0x02B22C49
(45231177): Flame Swordsman
- Side deck:
AEF4CC02
→0x02CCF4AE
(46986414): Dark Magician
Note: Passcode decoding process:
- Base64 decode to hex
- Convert to little-endian
- Convert to decimal for final passcode