Is there any Linux tool to edit, work with the files responsible for player IDs and photos? I'm asking because I recently came across a difficult problem to solve, I'll use GM Dubov, Daniil, as an example. Your photo appears in the files with an incorrect ID and name, the name appears as dubov, daniil1, renaming the name in the scid5 database from Dubov, Daniil to dubov, daniil1 so that your photo appears, this would not be an elegant solution. The file (spf) that contains the images is too large to open in a text editor and change the name of the image, I also don't know if this would solve the problem. Would it be possible for these cases to have a second file that scid would look for the image? An option in the menu within scid, where the user would mark the player so that scid searches for the image of a certain player in this second alternative file? A file that users could manipulate by placing images and player IDs. I have a scid5 database with more than 6 million games, obviously I don't expect all the players contained in this database to have their images correctly shown, especially because some don't even have images in the FIDE database. But when this happens to players who are among the top 100 in the world, not being able to resolve it is extremely frustrating. Thank you for your attention.
Long story short:
Option A: Use a spellcheckfile. Scid handles picture names according the spellcheck rules.
You can use
https://sourceforge.net/projects/scid/files/Player%20Data/ratings202309.zip/download
Option B: Add a additional file in the photos directory like "Dubov.spf" with the picture of Daniil. All .spf-file will be read at start of scid.
Long story:
Unfortunately, the problem is due to the principle: The only attribute there is the player name. The image file is synchronized with the spellcheck file, i.e. the name of a player in both files is the same.
The name "Dubov, Daniil" exists 2x in the FIDE database. Also other names exist multiple times. If the name is the same, the name is incremented.
Therefore, a correction is also implemented in scid which takes this into account and displays the image of "Dubov, Daniil1" for "Dubov, Daniil".
Because of the large amount of data this is done automatically. Therefore "Dubov, Daniil" is converted to "Dubov, Daniil1".
Thank you for your help. I liked option B, especially because I already had the ratings202309 file, but even so, the images of some well-known players do not appear in the scid. Sorry, but I don't understand option B, what should be contained in the spf file? I thought this type of file could only be created by specific software that reads a database.
Hi zugzuang,
here the file for Daniil Dubov. You can look at this file with every text editor.
The data in the file is a base64 encoded png-file (Picture).
png-file can be converted at https://onlinepngtools.com/convert-png-to-base64 or other tools.
It seems like a good idea to have a small script that comes with scid to convert images to spi format.
Thanks Uwe, it worked perfectly! Now I understand that the image must be encoded from pgn to base64. I have already created a .spf file where I will place the images as necessary. Enjoying the post: Are you from the scid development team? I have 5 sets of 8k chess pieces that I really like, all of them were made 100% in vector, 1 is my creation and 4 I recreated from scratch because they were very old and the graphic quality was very bad. I would like to make it available for anyone who wants to use it, or even for the scid developers to incorporate into the program. I know that scid doesn't yet work with 4k and 8k images, but having the pieces in this resolution for future releases could help save work. If you are interested, just send me an email or link and I will send you the files. I don't work in this area, but I like to work on it in my spare time. Link to images of the pieces -->(https://i.vgy.me/FQe2xh.png)