Thomas Malloy wrote:
> Hi,
>
> Are there any scripting or batch processing functions in scid?
> For example:
>
> 1.  You have a pgn file  of thousands of chess positions from games, but
> not the games themselves. Say like a file containing tactical positions
> from famous games.  You want to want to search for those positions in
> your normal big database because you want to play through the games
> completely and not just solve the positions as problems.
> But you might not want to do this individually for each position. It
> might take a long time.
> Can that be scripted or batch processed?
>
> Basically a for next loop  that selects the start position of tactical
> position from the pgn file, then searches for the position in the big
> database, and saves it into a new database.
>
> Can that be done with scid?
> Thanks
>
>   
I believe that is not possible.
However the script sc_tree.tcl (in subfolder scripts/) does something 
similar.
It's not simple:
1) Modify the sc_tree.tcl script to take a FEN string instead of a list 
of moves (sc_game_startBoard is the function to set the current board)
2) sed your source pgn file to get a list of FEN strings
3) Do a bash script that feed each FEN string to the modified 
sc_tree.tcl script

However, I'm not sure i completely understand  your particular use case, 
because for me it will be simpler to:
1) open the pgn file
2) open the big database as tree

Bye,
Fulvio

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to