bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnubg] Batch analysis of several matches.


From: Øystein O Johansen
Subject: [Bug-gnubg] Batch analysis of several matches.
Date: Tue, 21 Jan 2003 15:41:14 +0100

Hi all,

A friend of mine asked for this feature. It's the same feature as Snowie 4
has. Batch analysis of several matches. Click a menu selection for "Batch
analyse", the user selects the files he wants to analyse, and then then he
click "Run" and the matches are all imported and analysed and saved. It
would be nice to have this feature in GNU Backgammon as well. (Of course we
will make our similar feature a bit better). Of course this can be solved
by a shell script or batch file, but I guess this may be too complicated
for most of our users.

I therefore like to discuss how to implement this. The GTK
FileSelectionDialog is not suited for this since it cannot make selections
of multiple files. So, if we want a GTK interface we have to generate a new
widget (?) for selecting files.

Now -- say the user selects one .sgf file, one .tmg file and one .mat.
Should we make the program examine the file to find the format, or should
the user specify which format each file has (and a "by extension" option).

Looping over the files and analysing the games should be simple.

An alternative to whole thing is to make another executable.
batchanalysis.exe, which takes all the files in as the argument at the
command prompt. Tools like that are useful because the the file manager /
file explorer can be configured with an extra button or a right-click menu
option to send the files to batchanalysis.exe. (guess you can do something
similar in midnight commander or any Unix file manager as well ? )

What do you think?

-Øystein

-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]