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)

Convert HDR photos taken by iPhone 12 (or later) to regular HDR images

heif-hdrgainmap-decode Convert HDR photos taken by iPhone 12 (or later) to regular HDR images. Installation First, make sure you have the following pa

Star Brilliant 5 Nov 13, 2022
Anaglyph 3D Converter - A python script that adds a 3D anaglyph style effect to an image using the Pillow image processing package.

Anaglyph 3D Converter - A python script that adds a 3D anaglyph style effect to an image using the Pillow image processing package.

Kizdude 2 Jan 22, 2022
Fixed Version Of Blender Low Poly Rock Generator For Blender 3.0.0

Blender (3.0.0) - Low Poly Rock Generator This is an addon for Blender 3.0.0 to generate low poly rocks. It was based on an addon that unfortunately h

3 Mar 24, 2022
Find target hash collisions for Apple's NeuralHash perceptual hash function.💣

neural-hash-collider Find target hash collisions for Apple's NeuralHash perceptual hash function. For example, starting from a picture of this cat, we

Anish Athalye 630 Jan 01, 2023
HyperBlend is a new type of hyperspectral image simulator based on Blender.

HyperBlend version 0.1.0 This is the HyperBlend leaf spectra simulator developed in Spectral Laboratory of University of Jyväskylä. You can use and mo

SILMAE 2 Jun 20, 2022
Next-generation of the non-destructive, node-based 2D image graphics editor

Non-destructive, node-based 2D image graphics editor written in Python, focused on simplicity, speed, elegance, and usability

Gimel Studio 238 Dec 30, 2022
An application that maps an image of a LaTeX math equation to LaTeX code.

Convert images of LaTex math equations into LaTex code.

1.3k Jan 06, 2023
A proof-of-concept implementation of a parallel-decodable PNG format

mtpng A parallelized PNG encoder in Rust by Brion Vibber [email protected] Backgrou

Brion Vibber 193 Dec 16, 2022
The following program is used to swap the faces from two images.

Face-Swapping The following program is used to swap the faces from two images. In today's world deep fake technology has become really popular . As a

1 Jan 19, 2022
Design custom QR codes with this web app!

My-QR.Art This web app lets users design their own QR codes to any domain. It can be acessed on my-qr.art. You can find some more background info abou

Marien Raat 406 Dec 20, 2022
starfish is a Python library for processing images of image-based spatial transcriptomics.

starfish: scalable pipelines for image-based transcriptomics starfish is a Python library for processing images of image-based spatial transcriptomics

199 Dec 08, 2022
LSB Image Steganography Using Python

Steganography is the science that involves communicating secret data in an appropriate multimedia carrier, e.g., image, audio, and video files

Mahmut Can Gönül 2 Nov 04, 2021
A ray tracing render implemented using Taichi language.

A ray tracing render implemented using Taichi language.

Mingrui Zhang 45 Oct 23, 2022
Convert Image to ASCII Art

Convert Image to ASCII Art Persiapan aplikasi ini menggunakan bahasa python dan beberapa package python. oleh karena itu harus menginstall python dan

Huda Damar 48 Dec 20, 2022
Bringing vtk.js into Dash and Python

Dash VTK Dash VTK lets you integrate the vtk.js visualization pipeline directly into your Dash app. It is powered by react-vtk-js. Docs Demo Explorer

Plotly 88 Nov 29, 2022
TRREASURE_IMAGE is python lib by which you can hide anything in a .jpg image with Command-Line Interface[cli] feature

TRREASURE_IMAGE TRREASURE_IMAGE is a python third-party library with Command-Line Interface[cli] feature. Table of Contents General Info Python librar

Fatin Shadab 3 Jun 07, 2022
Image histogram remapping

Hmap An image histogram remapping script written in Python 2.7 by Anthony Kesich and Ross Goodwin. Changes source image so that source image's histogr

Ross Goodwin 199 Nov 19, 2022
Water marker for images.

watermarker linux users: To fix this error,please add truetype font path File "watermark.py", line 58, in module font = ImageFont.truetype("Dro

13 Oct 27, 2022
Draw a torus passing through three given points.

PyTorusThreePoints Draw a torus passing through three given points. Usage import numpy as np import pyvista as pv from torus_three_points.main import

2 Nov 19, 2021
A Gtk based Image Selector with Preview

gtk-image-selector This is an attempt to restore Gtk Image Chooser "lost functionality": displaying an image preview when selecting images... This is

Spiros Georgaras 2 Sep 28, 2022