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)

Script to calculate delegator epoch returns for all pillars

znn_delegator_calculator Script to calculate estimated delegator epoch returns for all Pillars, so you can delegate to the best one. You can find me o

2 Dec 03, 2021
Stock Monitoring

Stock Monitoring Description It is a stock monitoring script. This repository is still under developing. Getting Started Prerequisites & Installing pi

Sission 1 Feb 03, 2022
Simple Kahoot Botter.

Kahoot A simple Botter made in Python 3 for Kahoot.com. Also sorry for the shitty code lol. How to Run You need Python 3 installed on your device. Aft

7 Jun 29, 2022
Simple cash register system made with guizero

Eje-Casher なにこれ guizeroで作った簡易レジシステムです。実際にコミケで使う予定です。 これを誰かがそのまま使うかどうかというよりは、guiz

Akira Ouchi 4 Nov 07, 2022
A streamlit app for exploring image search results from HuggingPics

title emoji colorFrom colorTo sdk app_file pinned huggingpics-explorer 🤗 blue red streamlit app.py false huggingpics-explorer A streamlit app for exp

Nathan Raw 4 Sep 10, 2022
Christmas tree on the desktop.

new-year-tree Christmas tree on the desktop. [Ссылка на статью habr]

Daniil Gorbenko 10 Dec 29, 2022
Runtime inspection utilities for Python typing module

Typing Inspect The typing_inspect module defines experimental API for runtime inspection of types defined in the Python standard typing module. Works

Ivan Levkivskyi 284 Dec 29, 2022
Extra scripts to improve user experience related to OpenTaiko

OpenTaiko-Utils Extra scripts to improve user experience related to OpenTaiko osu2tja /!\ IMPORTANT NOTE /!\ Converted charts that aren't yours are fo

2 Dec 25, 2022
fast_bss_eval is a fast implementation of the bss_eval metrics for the evaluation of blind source separation.

fast_bss_eval Do you have a zillion BSS audio files to process and it is taking days ? Is your simulation never ending ? Fear no more! fast_bss_eval i

Robin Scheibler 99 Dec 13, 2022
Automation of VASP DFT workflows with ASE - application scripts

This repo contains a library that aims at automatizing some Density Functional Theory (DFT) workflows in VASP by using the ASE toolkit.

Frank Niessen 5 Sep 06, 2022
Modern robots.txt Parser for Python

Robots Exclusion Protocol Parser for Python Robots.txt parsing in Python. Goals Fetching -- helper utilities for fetching and parsing robots.txts, inc

Moz 176 Dec 16, 2022
Chicks get hostloc points regularly

hostloc_getPoints 小鸡定时获取hostloc积分 github action大规模失效,mjj平均一人10鸡,以下可以部署到自己的小鸡上

59 Dec 28, 2022
It converts ING BANK account historic into a csv file you can import in HomeBank application.

ing2homebank It converts your ING Bank account historic csv file into another csv file you can import in HomeBank application

1 Feb 14, 2022
Implementation of the MDMC method to search for magnetic ground state using VASP

Implementation of MDMC method ( by Olga Vekilova ) to search for magnetic ground state using VASP

Utkarsh Singh 1 Nov 27, 2021
This suite consists of two different scripts, made to automate attacks against NoSQL databases.

NoSQL-Attack-Suite This suite consists of two different scripts, made to automate attacks against NoSQL databases. The first one looks for a NoSQL Aut

16 Dec 26, 2022
Tracing and Observability with OpenFaaS

Tracing and Observability with OpenFaaS Today we will walk through how to add OpenTracing or OpenTelemetry with Grafana's Tempo. For this walk-through

Lucas Roesler 8 Nov 17, 2022
ViberExport - Export messages from Viber messenger using viber.db file

📲 ViberExport Export messages from Viber messenger using viber.db file ⚡ Usage:

7 Nov 23, 2022
NCAR/UCAR virtual Python Tutorial Seminar Series lesson on MetPy.

The Project Pythia Python Tutorial Seminar Series continues with a lesson on MetPy on Wednesday, 2 February 2022 at 1 PM Mountain Standard Time.

Project Pythia Tutorials 6 Oct 09, 2022
Source code for Learn Programming: Python

This repository contains the source code of the game engine behind Learn Programming: Python. The two key files are game.py (the main source of the ga

Niema Moshiri 25 Apr 24, 2022
Listen Surah, prepare for next and Endless life...

Al-Quran In this repository, I have linked up all Surah with Arabic-Bangla Audio From Youtube. So, you just need to choose and listen. and the ( surah

SpiderX 1 Sep 30, 2022