ChessInTheParkToPGN is a tool that takes in the gif generated by Discord: Chess In The Park and attempts to put all the moves together and create a pgn file that can be read by chess analysis tools.
- Download the latest release and extract it to any folder
- Drag any amount of gifs onto the executable file
- All the PGN files should appear in the folder you're dragging from
- If you are not on windows, ensure dotnet sdk is installed.
- Download the latest release and extract it to any folder.
- Open the terminal in the folder you extracted to.
- If on windows, you can run the program with
./ChessInTheParkToPGN.exe
, otherwise, you can usedotnet run ./ChessInTheParkToPGN.dll
. For these instructions, i will use./ChessInTheParkToPGN.exe
. - Run the program with a file path to the gif you want to analyze. For example:
./ChessInTheParkToPGN.exe "C:/Users/kyle/CITP/71Move.gif"
. - The PGN File should appear in the folder where you downloaded ChessInTheParkToPGN.
-h
- Displays the help message.
-o [Path]
- Custom Path to output the PGN files to.
-l [Language]
- Sets the language of the inbuilt OCR. In order for it to work in other languages, the .tessdata language files for Tesseract need to be placed in the /tessdata
folder. Use -l off
to disable OCR.