MikeAtBookup wrote:That's a lot of changes to the EPD importing. I can see why you'd want them though.
I tried importing the following analyzed epd line. The epd (w/o opcodes) is an end position exported from an ebook.
rn1qkb1r/pp3ppp/2p1pn2/5b2/P1BP4/2N1PN2/1P3PPP/R1BQK2R b KQkq - acd 21; ce -33; bm Bb4;
And I get this.
So acd is considered in the comment but not the bm.
Perhaps anything before the ce opcode are included in the comment.
If I will use pv instead of bm opcode.
rn1qkb1r/pp3ppp/2p1pn2/5b2/P1BP4/2N1PN2/1P3PPP/R1BQK2R b KQkq - acd 21; ce -33; pv Bb4;
COW comment is:
pv Bb4 +33
So If I will append the acd in the tail of the pv.
rn1qkb1r/pp3ppp/2p1pn2/5b2/P1BP4/2N1PN2/1P3PPP/R1BQK2R b KQkq - ce -33; pv Bb4 [d=21];
In COW I get this.
pv Bb4 [d=21] +33
So this is the hack, append the depth at the end of pv or perhaps even at the front of pv so that COW will show it.
Now if I will add Analysis tag before importing the epd, say Sf8, in COW I get this.
pv Bb4 [d=21] +33 Sf8
It seems you don't need to make changes at all in COW, the format of analyzed epd to be imported has to be modified a little bit.
One more trick to see a better comment.
Import an epd like this.
rn1qkb1r/pp3ppp/2p1pn2/5b2/P1BP4/2N1PN2/1P3PPP/R1BQK2R b KQkq - ce -33; pv Bb4 [+33/21 "Stockfish 8"];
In COW.
pv Bb4 [+33/21 "Stockfish 8"] +33
The ce -33 in analyzed epd is SPOV, this is according to epd standard.
In COW the ce becomes +33, since COW uses WPOV.