How to Create and View .nfo file (open source) in c# or WPF

      

Another little tool. I made this so that new C# or WPF coders can hopefully learn something from it. Also I haven’t really seen a simple, straight-to-the-point NFO Viewer yet. Those are the reasons for making it. This is the initial release so you shouldn’t expect too much

 

Demo (v0.1):

 

Futures:
- Read code page 437 encoded NFO files (o rly?)
- Export NFO to PNG image
- Export NFO to UTF-8 encoded xHTML (transitional/strict valid)
- About box has a catchy tune, I want cookies for this

v0.2 Notes:
- Made an installer, nfo files are now automatically associated with the program.
- Implemented the settings.
- Fixed an issue where exporting large nfo’s to PNG would result in unclear text rendering.
- Fixed missing font in the About dialog.
- Better exception handling.
Download v0.2 (Installer):
http://www.megaupload.com/?d=HPYYKMSQ
http://ifile.it/2b5q7oi/NfoViewerSetup.msi

Source:
http://www.megaupload.com/?d=ICXAHSDP
http://ifile.it/ftwcx4a/Hyperz.NfoVi…ource.v0.2.zip

Enjoy.

Credit: Hyperz

 

About

Sandeep who always wants to explore and share interesting Tips, Tricks, Tutorials, Guides and More. Catch him on Twitter, Join Facebook Fan Page. Subscribe to wRock feed via RSS or EMAIL to receive instant updates.

comments

  1. Bob says:

    Hey, great stuff, clean and neat code, something I was wondering though, how did you solve the whitespace issue when reading nfos? I can read them correctly but the spacing is completely f**ked up.

  2. Bob says:

    Sure, here it is

    http://imageshack.us/photo/my-images/545/winformsnfo2.png/

    The encoding is fine, all the characters shows up fine.

    Thats how your program displays the nfo correctly.

    http://imageshack.us/photo/my-images/263/winformsnfo2.png/

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Human Verification: In order to verify that you are a human and not a spam bot.