About nochetodbload and nochetodbeval
Introduction
You can save chess positions and games from PGN files into a (sqlite) database using the nochetodbload executable.
Saved positions in the database can by evaluated by nochetodbeval executable, which saves the results in the same database.
Saved games, positions and evaluations can be viewed in the nocheto's opening explorer, in moves tree etc.
nochetodbload and nochetodbeval do the same as the analyze+! command (and more). But they are more convenient if you want to just add games (or just the positions) from a PGN file(s) to your database (and evaluate them). The analyze command can also save chess positions only (with the analyze result), but cannot save chess games (chess game consists of the informations about the game - who and when played, result of the game etc., plus the moves).
About databases in Nocheto
Many chess applications use the world database when they refer the PGN files (every file can contain more than one chess game). In nocheto the PGN file representation is called sheet. The "Database" word refers to a SQlite database wich is used to save games, game positions, their evalueation etc.
Default directory to save nocheto database is ~/.nocheto/data/explorer/
.
You can have configured two databases. One under the [database] section, the second under the [explorer] section.
[database] dbname = data/myowngames/
The database is saved in a directory which consists of
~/.nocheto/
and the value of dbname
property.
The default value of dbname is data/explorer/
.
You have to have writte access to the directory. Sqlite database file is only one file (explorer3.sqlite3), but during inserting games it creates some other temporary files. That is why the value of the dbname property is a name of the directory, not the sqlite file.
If the [explorer] section is defined, nocheto takes data for move and game explorer from a database configured in this section, otherwise everything is taken and saved into the database configured under the [database] section.
You can create many databases for the explorer, but you can have open only one at a time in nocheto (the one currently configured in [explorer] section). The future nocheto might be able to switch the databases "on the fly", but for now the best way to separate games into some groups is to use namespaces.
About namespaces1.1.0
Games in a database can be stored under different namespaces. This can be used to separate your own games from a grandmaster games etc.
Default namespace is primary.
If you want to load game(s) under different namespace,
use nochetodbload --namespace "yournamespace" --games <file(s)>
.
A game can by stored only under one namespace.
To filter games from a particular namespace in the nocheto's explorer, use the namespaces command.