Hi MyChess,

Zitat von
Mychess
I decode like this:
...
Too simple ?
perfect - you deserve the title "Code cracker"!
But tell the truth - have you looked at my 'ccmk2' plugin?
About your FF flags: the bytes 0xbb are just placeholders for a 2nd queen after a promotion (they change to 0xcc when the 2 lists are exchanged after turning the board).
It's indeed a very strange method to store the coordinates for each piece in a list instead of the usual 8x8 board table filled with piece codes - I've not seen this in any other engine in CB-Emu.
And of course it has some disadvantages: positions with more than 2 pieces QRBN are not possible, and also a promotion to a queen is only possible once, for any further promotion the ccmk2 automatically uses the next possible piece (I've not yet tried what he does when all pieces exist twice).
Regards,
Franz