Skip to content

CodeFatherG/YDKe-Specification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

YDKe URI Specification

YDKe is the export format used by many modern Yu-Gi-Oh! simulators.

Format

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.

Examples

Basic Example

  1. Blue-Eyes White Dragon (passcode: 89631139)
  2. EDOPro export: ydke://o6lXBQ==!!!
  3. Components: ['o6lXBQ==', '', '']
  4. Decoded: A3A95705 → Little-endian: 0x0557A9A3 (89631139)

Multi-Component Example

ydke://o6lXBQbqRAQ=!SSyyAg==!rvTMAg==!
  1. Components: ['o6lXBQbqRAQ=', 'SSyyAg==', 'rvTMAg==']
  2. Main deck:
  3. Extra deck:
  4. Side deck:

Note: Passcode decoding process:

  1. Base64 decode to hex
  2. Convert to little-endian
  3. Convert to decimal for final passcode

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published