Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • September 02, 2015, 03:34:37 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: NANY 2012 Release: Chess PGN File Processor  (Read 7522 times)

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,381
    • View Profile
    • Donate to Member
NANY 2012 Release: Chess PGN File Processor
« on: December 24, 2011, 04:34:03 AM »
((I seems I still get to be a NANY! Cheers to Mouser!))


NANY 2012 Entry Information

Application Name Chess PGN File Processor
Version RC2 / Final
Short DescriptionDid you ever look at the colossal waste of space PGN files take? You only want to take a 10 page printout with you, not 100! Plus you get to save Trees!
Supported OSes Windows XP (Unknown on Vista or 7)
System RequirementsOnly Tested on XP but I will try to test it on Windows 7 soon because I have one at work.
Commissioned by TaoPhoenix
DescriptionPGN is Portable (Chess) Game Notation, which is an overgrown text file with certain conventions. It's supposed to let programs read in text files of chess games and display the moves and background info. The trouble is, it takes up a huge amount of space. I used to study chess in bars and I'd just want to take a nice batch of games on a printout to look at, and spill milk on, then throw it out afterwards, except for the one page with the good game on it that I'd shove in my pocket.

Ever seen a PGN file? Here's one.

[Event "It (cat.14)"]
[Site "Hastings (England)"]
[Date "1992.??.??"]
[Round "11"]
[White "Suetin Alexey S (RUS)"]
[Black "Shirov Alexei (LAT)"]
[Result "1/2-1/2"]
[ECO "C78/11"]

1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6
5.O-O b5 6.Bb3 Bb7 7.d3 Be7 8.c4 b4
9.Ba4 d6 10.d4 O-O 11.d5 Nb8 12.Nbd2 Nbd7
13.Re1 Nb6 14.Bc2 c6 15.a3 a5 16.b3 cxd5
17.exd5 Nbd7 18.Nf1 Qb6 19.Ng3 g6 20.Ng5 bxa3
21.Rxa3 Rfc8 22.Be3 Qc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xb4 Qb6 42.g3 Kd7
43.Qa3 Kc7 44.Qa8 Qb7 45.Qg8 Kb6 46.Qd8+ Qc7 47.Qa8 Qb7 48.Qd8+ Qc7 49.Qe8 Kb7 50.Qc6+ Qxc6
51.dxc6+ Kb6 52.Bc4 d5 53.Bxd5 Kxb5 54.Bg8 h5 55.Bf7 Kxc6 56.Bxg6 h4 57.Kg2 hxg3 58.fxg3 Nd3
59.Bxf5 Ne1+ 60.Kf2 Nd3+ 61.Kf1 Kd5 62.g4 1/2-1/2.

(Look! I can modify the characters per line to fit forums!)
FeaturesWhen you want to study an opening, often you only want 1 side's wins. For example, if you are studying the King's Indian Defense, you want Black Wins to know what to do right. You can then look at the other results to know what goes wrong. I also threw in some silly UI themes, like the Green & Black Matrix colors and Commodore 64 (called Blue & White). Others: Old Macintosh, Midnight Hacker. : )
InstallationIt's just an .exe file, so you run it. I like Simple.
Using the applicationCheck out the Move Filters. A lot of chess files have silly broken fragments, so you can specify "minumum 20 moves" etc to filter out the junk. Also, Draws annoy me, so you can delete those too! (Yes, my example is a draw! The long draws are okay. It's the 18 move Grandmaster Draws that suk. So you can remove those either by Draws or by Move Count.)
UninstallingJust delete all the original components in whatever folder you put them in.
Known IssuesThis seems to be "RC2" according to my notes, I think I lost the Final copy, so I think there are minor bugs left, maybe with player names processing, and elsewhere. I think there's a bug with long names like De La Bourdonnais.
ScreenshotsSee Below for the Screen shots.

« Last Edit: December 24, 2011, 05:30:50 AM by TaoPhoenix »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 34,977
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: NANY 2012 Pledge/Release: Chess PGN File Processor
« Reply #1 on: December 24, 2011, 04:39:00 AM »
nany apps are meant to be posted by the authors.
if the author has asked you to post on their behalf that would be one thing -- but otherwise it's not appropriate.

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,381
    • View Profile
    • Donate to Member
Re: NANY 2012 Pledge/Release: Chess PGN File Processor
« Reply #2 on: December 24, 2011, 04:54:54 AM »
Okay, we can move this to the "Announce" section if you like.

I just wanted to get in on the App Providing Spirit. It's a fully paid Work For Hire I commissioned over at Rentacoder 4 years ago.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 34,977
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: NANY 2012 Pledge/Release: Chess PGN File Processor
« Reply #3 on: December 24, 2011, 05:04:00 AM »
Oh well if you own the rights to it and it's not been previously released, then it would qualify.

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,381
    • View Profile
    • Donate to Member
Re: NANY 2012 Pledge/Release: Chess PGN File Processor
« Reply #4 on: December 24, 2011, 05:05:25 AM »
Oh well if you paid for it and it's not been previously released, then it would qualify.

Aye, it's not swiped, it was coded from scratch to my specs. Yay! I can still be a NANY!

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,381
    • View Profile
    • Donate to Member
Re: NANY 2012 Release: Chess PGN File Processor
« Reply #5 on: December 24, 2011, 05:32:12 AM »
Okay, I think I'm done posting!

Holler with comments!

kyrathaba

  • N.A.N.Y. Organizer
  • Moderator
  • Joined in 2006
  • *****
  • Posts: 3,087
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: NANY 2012 Release: Chess PGN File Processor
« Reply #6 on: December 24, 2011, 10:12:57 PM »
Cool, Tao! That brings us to 37 or 38 apps, I'll have to check...

kyrathaba

  • N.A.N.Y. Organizer
  • Moderator
  • Joined in 2006
  • *****
  • Posts: 3,087
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: NANY 2012 Release: Chess PGN File Processor
« Reply #7 on: December 24, 2011, 10:13:59 PM »
38 :D

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,381
    • View Profile
    • Donate to Member
Re: NANY 2012 Release: Chess PGN File Processor
« Reply #8 on: December 25, 2011, 01:42:28 AM »

Hooray! Glad I could help! I am amused though, like they say of artists, that dated from my "dark colors" period. It was a fun app to commission though. We put some clever features in it.

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,381
    • View Profile
    • Donate to Member
Re: NANY 2012 Release: Chess PGN File Processor
« Reply #9 on: December 28, 2011, 07:04:15 PM »
Heh Repasted from a Wrong thread is Wrong (rhymes with Long Cat is Long!)


I'm going to be funny and "Donate" what would have been the costs of my gift back to DC! I operate a bit like a comet in that I swing in with fanfare only to achieve that month's goals, then I swing out again, so I wanted to leave some goodwill rather than Top-Keyboard characters!


So I don't need DC gear, y'all just pay a bill with it!

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,381
    • View Profile
    • Donate to Member
Re: NANY 2012 Release: Chess PGN File Processor
« Reply #10 on: February 20, 2012, 08:18:59 PM »
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

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,381
    • View Profile
    • Donate to Member
Re: NANY 2012 Release: Chess PGN File Processor
« Reply #11 on: July 27, 2013, 10:13:37 PM »
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!

« Last Edit: July 27, 2013, 10:23:33 PM by TaoPhoenix »