When I have a similar problem I load the PGN in a text editor that has line numbers and fix or delete the problem games, depending on the reason.
Plus, I think SCID will still load a PGN file with some problem games, it just won't include those. You can also import directly from the progam into an existing database, no need to use separate utilities.
Hello,
I have spent around half an hour searching Google and I have not found what I am looking for -perhaps I did recognise it as what I needed if I had come across it. I have just recently downloaded SCID and decided to add all of my games from Chess.com here as a starter to a database.
After combining all the separate PGN files into one, I used the utility that comes with SCID to convert it into the SCID database format. Along with the output of that utility is a file -.err format- of errors -if any- that occurred during conversion. While the number of errors I got is not much, it is large enough for it be a --- complicated process if I went through and deleted the games by hand.
An example from the first three lines of the error file:
my_games.pgn:(game 383, line 10658) Error: Invalid FEN: rnqkrbbn/pppppppp/8/8/8/8/PPPPPPPP/RNQKRBBN w EAea - 0 1
my_games.pgn:(game 383, line 10658) Error reading tag: [FEN "rnqkrbbn/pppppppp/8/8/8/8/PPPPPPPP/RNQKRBBN w EAea - 0 1"]
my_games.pgn: (game 383, line 10663) Error reading move in game graffitivisuals - walidmujahid, 2012: Ng3
Is there a utility out there where I could simply pass my PGN file though it and specify the game number -multiple- to delete. I am still new to SCID, so perhaps did I miss the fact that SCID has something that can help with this matter?
Any guidance on this would be most appreciated.
Post Script: GitHub was among the places that searched for such a utility, though, without fruition. If, perhaps, there is a script that comes remotely close to doing what I described, or perhaps even does exactly what I need, any guidance towards that script would also be most appreciated.