Viewer for NFO files

Overview

NFO Viewer

Test Packages Flathub Gitter

NFO Viewer is a simple viewer for NFO files, which are "ASCII" art in the CP437 codepage. The advantages of using NFO Viewer instead of a text editor are preset font and encoding settings, automatic window size and clickable hyperlinks.

Installing

Linux

Packages

NFO Viewer is packaged for most of the popular distros, so easiest is to install via your distro's package management. If not packaged for your distro or you need a newer version than packaged, read below on how to install from Flatpak or the source code.

Flatpak

Stable releases are available via Flathub.

The development version can be installed by running command make install under the flatpak directory. You need make, flatpak-builder and gettext to build the Flatpak.

Source

NFO Viewer requires Python ≥ 3.2, PyGObject ≥ 3.0.0 and GTK ≥ 3.12. You also need a font that supports the kinds of glyphs commonly used in NFO files: Cascadia Code is a good choice and used by NFO Viewer by default, if available. During installation you will also need gettext. On Debian/Ubuntu you can install these with the following command.

sudo apt install fonts-cascadia-code \
                 gettext \
                 gir1.2-gtk-3.0 \
                 python3 \
                 python3-gi

Then, to install NFO Viewer, run command

sudo python3 setup.py install --prefix=/usr/local

Windows

Windows installers are built irregularly, see releases.

Comments
  • Can't run it anymore (ModuleNotFoundError).

    Can't run it anymore (ModuleNotFoundError).

    Starting today, I can't run it anymore. I'm getting this error message:

    >nfoview
    Traceback (most recent call last):
    File "/usr/local/bin/nfoview", line 16, in <module>
    import nfoview
    ModuleNotFoundError: No module named 'nfoview'
    >
    

    It happened today, after Python upgrade (through repositories). I'm at PCLinux.

    >python3 -V
    Python 3.10.6
    >
    

    NFOView latest version from here (NOT the repo version).

    opened by Achaean 5
  • Extended ASCII (ISO/IEC 8859-1 / CP819) support

    Extended ASCII (ISO/IEC 8859-1 / CP819) support

    Thanks for an awesome .NFO/.DIZ viewer! I use it everyday and reminisce about old times. Do you plan to add extended ASCII as a possible enhancement someday?

    opened by ThurahT 3
  • Homepage link in

    Homepage link in "About" box, is broken (Windows).

    V1.23 installed on Win 10 x64 v.10.0.15063. Workaround: Right click -> "Copy Link Address" -> paste in browser.

    Sidequestion: 32-bit apps aren't so stable on 64 Windows. Is it possible to compile it as native 64 app? How?

    opened by Achaean 3
  • appstream 'mimetypes' tag is deprecated

    appstream 'mimetypes' tag is deprecated

    The toplevel mimetypes tag (used in io.otsaloma.nfoview.appdata.xml) is deprecated in favour of mediatype tags in a provides block to indicate that your software provides a media handler for the given types.

    See docs at freedesktop.org.

    opened by jcfp 1
  • Sort .po input file list

    Sort .po input file list

    Sort .po input file list so that nfoview.desktop and nfoview.appdata.xml builds in a reproducible way in spite of indeterministic filesystem readdir order and http://bugs.python.org/issue30461

    See https://reproducible-builds.org/ for why this is good.

    I thought, I had tested that #13 fixed all of it, but there was still variation in nfoview.appdata.xml now that went away with this patch.

    opened by bmwiedemann 1
  • Sort input file list

    Sort input file list

    so that .desktop and appdata.xml files build in a reproducible way in spite of indeterministic filesystem readdir order and http://bugs.python.org/issue30461

    See https://reproducible-builds.org/ for why this is good.

    opened by bmwiedemann 1
  • update appstream metadata install location

    update appstream metadata install location

    because apparently, "appdata" is a legacy location.

    See section 2.1.2 at https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html and https://lintian.debian.org/tags/appstream-metadata-in-legacy-location.html

    opened by jcfp 1
  • Package for ubuntu

    Package for ubuntu

    I would really like to see this as a package as i can select easily open with... for .nfo's and set it as the default for those. Because right now is very difficult to open .nfo's in samba shares for me

    opened by Ntemis 1
  • Migrate screen size calculations

    Migrate screen size calculations

    nfoview/window.py:274: DeprecationWarning: Gdk.Screen.width is deprecated
      size[0] = min(size[0], int(0.8 * Gdk.Screen.width()))
    nfoview/window.py:275: DeprecationWarning: Gdk.Screen.height is deprecated
      size[1] = min(size[1], int(0.8 * Gdk.Screen.height()))
    
    opened by otsaloma 1
  • Flickering mouse cursor on Windows

    Flickering mouse cursor on Windows

    Mouse cursor doesn't change to a hand when hovering over a link, but it flickers like it changes for a very brief moment. Clicking links seems to work fine though.

    With GTK+ 3.18 from pygi-aio.

    opened by otsaloma 1
  • Gtk.Widget.override_* are deprecated

    Gtk.Widget.override_* are deprecated

    Since GTK+ 3.16.

    • Gtk.Widget.override_font
    • Gtk.Widget.override_color
    • Gtk.Widget.override_background_color
    • Gtk.StyleContext.get_background_color

    Use CSS instead.

    opened by otsaloma 1
Releases(1.29)
  • 1.29(Oct 3, 2022)

    • Fix font name quoting in Gtk CSS
    • Use make for installation instead of plain setup.py, see the README file for the new installation commands, and Makefile for the details
    • Update translations
    Source code(tar.gz)
    Source code(zip)
  • 1.28.1(Oct 6, 2021)

  • 1.28(Apr 28, 2020)

  • 1.27.1(Apr 10, 2020)

  • 1.27(Aug 9, 2019)

    • New app icon, as full-color and symbolic SVGs (#16)
    • Use the reverse domain name "io.otsaloma.nfoview" for desktop file, appdata file and icons
    Source code(tar.gz)
    Source code(zip)
  • 1.26.1(Jun 8, 2019)

  • 1.26(Dec 16, 2018)

  • 1.25(Dec 12, 2018)

    • Add support for building a Flatpak
    • Add 64x64 and 128x128 icons
    • Update AppData XML file
    • Fix build reproducibility (#15)
    • Update translations
    Source code(tar.gz)
    Source code(zip)
  • 1.24(Apr 22, 2018)

  • 1.23(Nov 6, 2017)

  • 1.22(Mar 17, 2017)

    • Fix window height calculation if line-spacing non-zero
    • Fix color scheme names not translated (#10)
    • Add Brazilian Portuguese translation (Ricardo Borges Jr.)
    • Add Romanian translation (Nicolae Crefelean)
    • Remove severely incomplete Swiss German, Italian and Simplified Chinese translations
    • Update translations
    Source code(tar.gz)
    Source code(zip)
    nfoview-1.22-win32.exe(11.84 MB)
  • 1.21(Oct 29, 2016)

  • 1.20(Jul 23, 2016)

  • 1.19(May 12, 2016)

    • Fix mouse cursor and links with GTK+ 3.20
    • Use CSS for setting custom font and colors, fix selection color with GTK+ 3.20 (#2, #4)
    • Fix default window size calculations to work better with GTK+ 3.20
    • Don't use deprecated Gdk.Cursor.new
    • Update preferences dialog GtkBuilder file with Glade 3.20
    • Remove shadow from around the text view
    • Add top and bottom margins to the text view
    • Move web pages to http://otsaloma.io/nfoview/
    • Move bugs from GNOME Bugzilla to GitHub
    • Update AppData file
    • Update translations
    Source code(tar.gz)
    Source code(zip)
  • 1.18(Jan 23, 2016)

  • 1.17(Oct 11, 2015)

  • 1.16(May 7, 2015)

    • Use a header bar and a menu button in application windows
    • Use a header bar for the preferences dialog
    • Migrate from deprecated Gtk.UIManager, Gtk.Action etc. to Gtk.Application, Gio.Action etc.
    • New application icon
    • Use markdown for documentation files (README etc.)
    • Bump GTK+ depedency to version 3.12
    • Add European Portuguese translation (Pedro Albuquerque)
    • Update Polish translation (Piotr Drąg)
    • Move web pages from gna.org to github.io
    • Move releases from gna.org to github.com
    • Use Transifex to manage translations
    • Close nfoview-list mailing list, use gitter.im instead to reach developers
    • Close nfoview-announcements mailing list, use RSS instead to be informed about new releases (see also e.g. sibbell.com)
    Source code(tar.gz)
    Source code(zip)
  • 1.15.1(Apr 6, 2015)

  • 1.15(Apr 6, 2015)

    • Fix preferences dialog padding with GTK+ 3.14
    • Fix selection background color with GTK+ 3.14
    • Remove use of deprecated stock items, GtkAlignment and gi.types.Boxed.__init__
    • Update French translation
    • Update Turkish translation
    Source code(tar.gz)
    Source code(zip)
  • 1.14(Apr 6, 2015)

    • Fix default response buttons for dialogs
    • Make AppData file translatable
    • Add GTK+ to list of dependencies in the README file (GTK+ has always been a dependency, its explicit mention was just forgotten when migrating from PyGTK to PyGObject)
    • Bump GTK+ dependency to 3.2 or greater
    Source code(tar.gz)
    Source code(zip)
  • 1.13.1(Apr 6, 2015)

    • Possibly fix default colors with some GTK+ themes
    • Add an AppData XML file
      • http://people.freedesktop.org/~hughsient/appdata/
    • Update French translation
    • Update Turkish translation
    Source code(tar.gz)
    Source code(zip)
  • 1.13(Apr 6, 2015)

    • Add action to export document as an image file (#622078)
    • Apply GNOME Goal: Add keywords to application desktop files
      • https://wiki.gnome.org/GnomeGoals/DesktopFileKeywords
    • Update Turkish translation
    Source code(tar.gz)
    Source code(zip)
  • 1.12.1(Apr 6, 2015)

  • 1.12(Apr 6, 2015)

  • 1.11(Apr 6, 2015)

    • Fix immediate crash resulting from bad use of Gtk.StyleContext on newer versions of PyGObject and/or GTK+ (#687513)
    • Remove deprecated get_data and set_data calls
    • Use Gtk.Grid for preferences dialog instead of Gtk.Table
    • Release source tarballs only compressed as tar.xz (instead of the previous tar.gz and tar.bz2)
    Source code(tar.gz)
    Source code(zip)
  • 1.10(Apr 6, 2015)

    • Migrate to Python 3, GTK+ 3, GNOME 3 and PyGI
    • Bump Python dependency to 3.2 or greater
    • Replace PyGTK dependency with PyGobject 3.0.0 or greater
    • Add 48x48 and 256x256 pixel PNG icons and remove SVG icon
    • Speed up text parsing and display when opening files
    • Update Bulgarian translation (Svetoslav Stefanov)
    Source code(tar.gz)
    Source code(zip)
  • 1.9.5(Apr 6, 2015)

  • 1.9.4(Apr 6, 2015)

  • 1.9.3(Apr 6, 2015)

    • Update author email address
    • Move development repository from Gitorious to GitHub (https://github.com/otsaloma/nfoview)
    • Abandon use of Transifex for translations
    • Add Turkish translation (Anonymous)
    • Add Serbian translation (Goran Velemirov)
    • Update French translation (Anonymous)
    Source code(tar.gz)
    Source code(zip)
  • 1.9.2(Apr 6, 2015)

Simple AoC helper program you can use to develop your own solutions in python.

AoC-Compabion Simple AoC helper program you can use to develop your own solutions in python. Simply install it in your python environment using pip fr

Alexander Vollmer 1 Dec 20, 2021
synchronize projects via yaml/json manifest. built on libvcs

vcspull - synchronize your repos. built on libvcs Manage your commonly used repos from YAML / JSON manifest(s). Compare to myrepos. Great if you use t

python utilities for version control 200 Dec 20, 2022
Backend Interview Challenge

Inspect HOA backend challenge This is a simple flask repository with some endpoints and requires a few more endpoints. It follows a simple MVP (model-

1 Jan 20, 2022
Convert-Decimal-to-Binary-Octal-and-Hexadecimal

Convert-Decimal-to-Binary-Octal-and-Hexadecimal We have a number in a decimal number, and we have to convert it into a binary, octal, and hexadecimal

Maanyu M 2 Oct 08, 2021
A joke conlang with minimal semantics

SyntaxLang Reserved Defined Words Word Function fo Terminates a noun phrase or verb phrase tu Converts an adjective block or sentence to a noun to Ter

Leo Treloar 1 Dec 07, 2021
How did Covid affect businesses?

NYC_Business_Analysis How did Covid affect businesses? COVID's effect on NYC businesses We all know that businesses in NYC have been affected by COVID

AK 1 Jan 15, 2022
Capture screen and download off Roku based devices

rokuview Capture screen and download off Roku based devices Tested on Hisense TV with Roku OS built-in No guarantee this will work with all Roku model

3 May 27, 2021
Earth-to-orbit ballistic trajectories with atmospheric resistance

Earth-to-orbit ballistic trajectories with atmospheric resistance Overview Space guns are a theoretical technology that reduces the cost of getting bu

1 Dec 03, 2021
Hospitality app for ERPNext to manage hotels & restaurants.

Hospitality ERPNext Hospitality module is designed to handle workflows for Hotels and Restaurants. Manage Restaurants The Restaurant module in ERPNext

Frappe 19 Dec 26, 2022
AMTIO aka All My Tools in One

AMTIO AMTIO aka All My Tools In One. I plan to put a bunch of my tools in this one repo since im too lazy to make one big tool. Installation git clone

osintcat 3 Jul 29, 2021
Цифрова збрoя проти xуйлoвської пропаганди.

Паляниця Цифрова зброя проти xуйлoвської пропаганди. Щоб негайно почати шкварити рашистські сайти – мерщій у швидкий старт! ⚡️ А коли ворожі сервери в

8 Mar 22, 2022
Originally used during Marketplace.tf's open period, this program was used to get the profit of items bought with keys and sold for dollars.

Originally used during Marketplace.tf's open period, this program was used to get the profit of items bought with keys and sold for dollars. Practically useless for me now, but can be used as an exam

BoggoTV 1 Dec 11, 2021
A python package that computes an optimal motion plan for approaching a red light

redlight_approach redlight_approach is a Python package that computes an optimal motion plan during traffic light approach. RLA_demo.mov Given the par

Jonathan Roy 4 Oct 27, 2022
When should you berserk in lichess arena tournament games?

When should you berserk in a lichess arena tournament game? 1+0 arena tournament 3+0 arena tournament Explanation For details on how I arrived at the

18 Aug 03, 2022
🎴 LearnQuick is a flashcard application that you can study with decks and cards.

🎴 LearnQuick is a flashcard application that you can study with decks and cards. The main function of the application is to show the front sides of the created cards to the user and ask them to guess

Mehmet Güdük 7 Aug 21, 2022
A comprensive software collection for nmea manipulation

nmeatoolkit A comprensive software collection for nmea manipulation; it includes a library and a collections of command line tools. Library pipes: con

Davide Gessa 1 Sep 14, 2022
TriOTP, the OTP framework for Python Trio

TriOTP, the OTP framework for Python Trio See documentation for more informations. Introduction This project is a simplified implementation of the Erl

David Delassus 7 Nov 21, 2022
Albert launcher extension for rolling dice.

dice-roll-albert-ext Extension for rolling dice in Albert launcher Installation Locate the modules directory in the Python extension data directory. T

Jonah Lawrence 1 Nov 18, 2021
A Bot Which Can generate Random Account Based On Your Hits.

AccountGenBot This Bot Can Generate Account With Hits You Save (Randomly) Keyfeatures Join To Use Support Limit Account Generation Using Sql Customiza

DevsExpo 30 Oct 21, 2022
This module extends twarc to allow you to print out tweets as text for easy testing on the command line

twarc-text This module extends twarc to allow you to print out tweets as text for easy testing on the command line. Maybe it's useful for spot checkin

Documenting the Now 2 Oct 12, 2021