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)

cmdpxl: a totally practical command-line image editor

cmdpxl: a totally practical command-line image editor Features cmdpxl has many exciting functionalities, including Editing pixels one at a time! Savin

Jieruei Chang 475 Dec 23, 2022
Simple utility to tinker with OPlus images

OPlus image utilities Prerequisites Linux running kernel 5.4 or up (check with uname -r) Image rebuilding Used to rebuild read-only erofs images into

Wiley Lau 15 Dec 28, 2022
Optimize/Compress images using python

Image Optimization Using Python steps to run the script run the command to install the required libraries pip install -r requirements.txt create a dir

Shekhar Gupta 1 Oct 15, 2021
An API that renders HTML/CSS content to PNG using Chromium

html_png An API that renders HTML/CSS content to PNG using Chromium Disclaimer I am not responsible if you happen to make your own instance of this AP

10 Aug 08, 2022
Digital image process Basic algorithm

These are some basic algorithms that I have implemented by my hands in the process of learning digital image processing, such as mean and median filtering, sharpening algorithms, interpolation scalin

JingYu 2 Nov 03, 2022
Art directed cropping, useful for responsive images

Art direction sets a focal point and can be used when you need multiple copies of the same Image but also in in different proportions.

Daniel 1 Aug 16, 2022
A functional and efficient python implementation of the 3D version of Maxwell's equations

py-maxwell-fdfd Solving Maxwell's equations via A python implementation of the 3D curl-curl E-field equations. This code contains additional work to e

Nathan Zhao 12 Dec 11, 2022
Python-based tools for document analysis and OCR

ocropy OCRopus is a collection of document analysis programs, not a turn-key OCR system. In order to apply it to your documents, you may need to do so

OCRopus 3.2k Jan 04, 2023
A Blender add-on to create interesting meshes using symmetry

Procedural Symmetries This Blender add-on automates the process of iteratively applying a set of reflection planes to a base mesh. The result will con

1 Dec 29, 2021
Vignette is a Python library to create and manage thumbnails following the FreeDesktop standard.

Vignette Vignette is a Python library to create and manage thumbnails following the FreeDesktop standard. Thumbnails are stored in a shared directory

3 Feb 06, 2022
clesperanto is a graphical user interface for GPU-accelerated image processing.

clesperanto is a graphical user interface for a multi-platform multi-language framework for GPU-accelerated image processing. It is based on napari and the pyclesperanto-prototype.

1 Jan 02, 2022
A minimal python script for generating bip39 seed phrases, and corresponding Seed Signer Seed seed phrase qr code ready for offline printing.

A minimal python script for generating bip39 seed phrases, and corresponding Seed Signer Seed seed phrase qr code ready for offline printing.

CypherToad 8 Sep 12, 2022
A procedural Blender pipeline for photorealistic training image generation

BlenderProc2 A procedural Blender pipeline for photorealistic rendering. Documentation | Tutorials | Examples | ArXiv paper | Workshop paper Features

DLR-RM 1.8k Jan 02, 2023
【萝莉图片算法】高损图像压缩算法!?

【萝莉图片算法】高损图像压缩算法!? 我又发明出新算法了! 这次我发明的是新型高损图像压缩算法——萝莉图片算法!为什么是萝莉图片,这是因为它是使动用法,让图片变小所以是萝莉图片,大家一定要学好语文哦! 压缩效果 太神奇了!压缩率竟然高达99.97%! 与常见压缩算法对比 在图片最终大小为1KB的情况

黄巍 49 Oct 17, 2022
Converting Images Into Minecraft Houses

Converting Images Into Minecraft Houses In this particular project, we turned a 2D Image into Minecraft pixel art and then scaled it in 3D such that i

Mathias Oliver Valdbjørn Jørgensen 1 Feb 02, 2022
DP2 graph edit codes.

必要なソフト・パッケージ Python3 Numpy JSON Matplotlib 動作確認環境 MacBook Air M1 Python 3.8.2 (arm64) Numpy 1.22.0 Matplotlib 3.5.1 JSON 2.0.9 使い方 draw_time_histgram(

1 Feb 19, 2022
This piece of code is a User Welcomer with Image Manipulation using Python and Pillow (PIL).

This piece of code is a User Welcomer with Image Manipulation using Python and Pillow (PIL).

Bero 4 Jan 11, 2022
QR Generator using GUI with Tinker

BinCat Token System Very simple python script with GUI that generates QR codes. It don't include a QR "decription" tool. It only generate-it and thats

Hipotesi 1 Nov 06, 2021
QR-code Generator with a basic GUI.

Qr_generator_python Qr code generator with a basic GUI. ❔ About the QR-Code-Generator This project Generates QR codes to sites, e-mails and plain text

Tecixck 2 Oct 11, 2021
Detecting haze image with hazer.

hazer-py Detecting haze image with hazer. What is hazer Hazer is a lib for getting "haze degree". This repository is python version of hazer: https://

Joey777210 2 Dec 27, 2021