Skip to content

Instantly share code, notes, and snippets.

@xnuk
Created April 17, 2017 09:09
Show Gist options
  • Save xnuk/dbd5cbdb0dcfd072a2c66c1fa742d202 to your computer and use it in GitHub Desktop.
Save xnuk/dbd5cbdb0dcfd072a2c66c1fa742d202 to your computer and use it in GitHub Desktop.

unsigned 32bit int, big endian, base64 encoded.

A B C D E
10 001010000000 0101 00010010 000
  • A: ( ͡° ͜ʖ ͡°)
  • B: Level, from 1 to 12. In example, it means "level 3 or 5"
  • C: ( ͡° ͜ʖ ͡°)
  • D: Clear lamp. NO PLAY / FAIL / A-CLEAR / E-CLEAR / CLEAR / H-CLEAR / EXH-CLEAR / F-COMBO. In example, it means "E-CLEAR or EXH-CLEAR"
  • E: ( ͡° ͜ʖ ͡°)

Example

http://iidx.me/x-nuk/sp/search?search=EBAoIA

means

node> Buffer.from('EBAoIA', 'base64').readUInt32BE(0,4).toString(2)
'10000000100000010100000100000'

so

10 000000100000 0101 00000100 000
   Level 7           H-CLEAR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment