ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > N.A.N.Y. 2012

NANY 2012 Release: Chess PGN File Processor

<< < (3/3)

TaoPhoenix:
Funny comment on the much appreciated video:

The Narrator went for a "Scoresheet" approach, which certainly this program can do. I went for more of a "How few pages can I fit this file into so I can take it to the bar" style. If I recall it went from 2.5 games per page to like 8 games per page, turning a crushing 200 page file into something like 40 after I played with the fonts and nuked draws. : )

TaoPhoenix:
Haha Shameless Bump!

Paraphrasing Linus Torvalds:
"Wimps make backups. Real men submit NANY entries and get DC to host your file for you!"

I am getting back into some chess. But I quickly desperately needed some random games to look at in a bar this week! Rather than a particular opening, I wanted something general as an overview. So I decided on the games list from the "Amber 2011" tourney which specializes in quick and blindfold games.

"Stupid PGN files... Oh wait a minute..."
:Thmbsup:

Tip: I forgot last time I made this that you often end up with dead space on the right side. The way you fix that is you change the font to Arial, which is skinnier than Courier, and then change the Character Count and then you get more text per line, and more games per page.

Wordpad tells me it chopped one particularly bad file down from 25 pages to 4!

TaoPhoenix:

Hooray!

After a few attempts, each months apart, to re-invigorate this little utility, I was sad when it seemed not to be working on my new (happens to be) Win 10 box.

Turns out, there was one of those aging problems where a couple of the old .Net files were missing from some versions of Windows, and probably many people collected them over the years, but each time I had tried, I was either too tired or else discouraged.

But it's up and running today, both on my main machine and an ancient ultra backup laptop!

But one day it may be interesting for someone to try a Version 2.0. Most notably, in the last couple of years, Chess.com has added automated downloads of games, but they come with timestamps that confuse this program!

Of course, for "serious" studying, the heavy duty players have either Chessbase or something else, but this was always meant for a quick dash of a few games to look over at lunch or dinner.

I ended up just playing after looking at a couple of the test games, but a quick fix might be something like a regex on the Chess.com or even a coding snack to slice out the timestamps.

More interesting as a Version 2.0 feature would be it can't handle commentary text, which simply vanishes. But I have no idea what specs from what or where I'd even want yet.

I'm just glad it's still usable with even my thin skills after all! So apparently it was fairly cleanly written after all! It has a .src file, which looks like source code.

TaoPhoenix:
And after some irritating losses in games, I'm back to my Nany!
We've learned by now after all the Windows versions, a few background files have come and gone on people's computers.
Depending on people's setups, I think it's the following two DLL's that tend to cause trouble if missing:

Msvcp71.dll And Msvcr71.dll
[though I'm never sure if these things are case sensitive]

For some other day, Chess.com in particular, haven't yet checked Lichess in detail, produces timestamps that mess the program up.
That might call for a coding snack to nuke the time stamps, since they are surrounded by double brackets - sorta {{    }}
At heart this is a Poor Man's tool, when you don't want to spend five hours learning and/or buying bigger software.
Chess Mentor seems to do a really good job of the Fremium model - there are some two hundred thousand games, and they offer for sale their own lightweight analysis program, yet the game files are real, do with them as you like.
More in a bit ...

Chess.com also seems to double number moves -
1. e4 1...e5
So those would have to go too. Maybe the coding snack works in layers. Delete the time stamps, then look for 3 dots and the numeral adjacent to it on the left until it hits a space.
Though something is still off ...


TaoPhoenix:

Before I forget, this site looks pretty good:

I think it's run by a Swedish company - I wasn't aware of those folks at the top of hacker lists [I know, exceptions].
Multiple versions with checksum hashes - I presume a better tech than me can hunt down and verify those if they're legit - it would be a bold move to checksum a corrupted version!

Here is one of the pages. I went with both of the newest versions, [usually a good starting policy], and they seem to work for two copies of Windows 10.

https://www.dll-files.com/msvcr71.dll.html

Navigation

[0] Message Index

[*] Previous page

Go to full version