It may be a good idea to post the patch and pgn on Steve's scidvspc sourceforge page.
On 08/01/2016 01:26 PM, Britton Farrar wrote: > All i did was write the below message and attached the patch file and > a big test pgn. For some reason it is spamming out the patch file into > the message. Thankfully not the pgn. Sorry! > > From earlier: > I wrote a patch for chess960. It works pretty well I think. If > importing pgn make sure that castling in the FEN string is like KQkq > instead of the other ways ive seen it done. > > This code knows no difference between chess960 castling and regular > chess castling, it is all chess960 castling. Since regular chess is > just one position in chess960, it works for standard chess as well. > > For now, to castle in the gui, the king must capture a friendly rook. > The move 2 spaces is not implemented anymore, even for regular chess. > I tried several locations to do it, but failed mainly from laziness. I > think the gui should substitute a friendly rook capture for a king > moving 2 as early as possible before passing move to the c code. I > kind of want to keep that out of there to keep it simple. > > FICS has not been touched nor has any tcl code > > The global encodeVariation func is now a member of Game. The encoding > process needs current positions as it encodes kings so it knows what > the king is actually trying to do, so importing large pgns is maybe > slower now! > > Also, Position class now contains a pointer to the Game that owns it, > so a position can know about the start position. Some position's Game > * is NULL (like opening books, etc, i think). > > Let me know what you think! > > I would like to continue on. Maybe the FICS functionality could be > improved. Maybe bughouse or crazyhouse. I do not know tcl/tk, although > that may change. > > Im going to try to attach to this email a pgn of some fics chess960 > games for to play with, import, etc > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Scidvspc-users mailing list > Scidvspc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/scidvspc-users ------------------------------------------------------------------------------ _______________________________________________ Scidvspc-users mailing list Scidvspc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scidvspc-users