https://github.com/tearth/pgn2abk
Fast generator of chess openings book with support for Arena's book format (ABK).
https://github.com/tearth/pgn2abk
abk arena chess chessprogramming csharp dotnet dotnet-core pgn
Last synced: about 1 month ago
JSON representation
Fast generator of chess openings book with support for Arena's book format (ABK).
- Host: GitHub
- URL: https://github.com/tearth/pgn2abk
- Owner: Tearth
- License: gpl-3.0
- Created: 2020-06-19T20:52:10.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-26T22:19:09.000Z (almost 6 years ago)
- Last Synced: 2025-08-23T04:29:39.432Z (9 months ago)
- Topics: abk, arena, chess, chessprogramming, csharp, dotnet, dotnet-core, pgn
- Language: C#
- Size: 64.5 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PGN2ABK
This is the simple tool to generate [ABK](https://www.chessprogramming.org/ABK) (Arena's book format) files using a collection of games saved in the single PGN file. There are several sources of PGN files, my favorite one is https://database.lichess.org/. It takes about 30 minutes to parse 190 GB file on normal HDD.
Program has been written in C# for .NET Core 3 platform. It uses [CommandLineParser](https://github.com/commandlineparser/commandline) (to parse parameters) and [ShellProgressBar](https://github.com/Mpdreamz/shellprogressbar).
# Usage
```
-i, --input Required. PGN input file to process.
-o, --output Required. ABK output file.
-p, --plies (Default: 2147483647) Maximal number of plies to parse.
-e, --elo Minimal average ELO of players to parse the game.
-t, --time Minimal initial game time (in minutes) to parse the game.
-m, --multithreading Enable support for multithreading.
--help Display this help screen.
--version Display version information.
```
# Example
Input: `PGN2ABK.exe -i .\lichess_db_standard_rated_2013-01.pgn -o .\generated.abk -p 20 -t 15 -m`
Output:
