Skip to content

NoLooseEnds/the-last-nfo-viewer

Repository files navigation

App Icon

The Last NFO Viewer

A modern, native macOS application for viewing NFO, ASC, and DIZ files, written in Swift. This project has been inspired by Yet Another NFO Viewer

Features

  • Native macOS Experience: Rewritten completely in Swift for modern macOS versions and Apple Silicon.
  • QuickLook Plugin: Preview NFO files directly in Finder (Spacebar preview) without opening the app (please see Quicklook Limitations for more info).
  • Hyperlinks: Automatically detects and highlights URLs in NFO files.
  • Image Export: Export or copy the rendered NFO as a high-quality PNG image or vector SVG (Cmd+Shift+E / Cmd+Shift+C).
  • Theme Support:
    • Light/Dark Mode: Fully supports system appearance or can be forced to specific modes.
    • Custom Colors: Customize text, background, link, and selection colors via Preferences.
  • Font Collection: Bundled with high-quality DOS/ASCII fonts:
    • More Perfect DOS VGA (Default)
    • ProFontWindows
    • BlockZone
    • Fira Code Mono
    • JetBrains Mono
    • Extensive collection of Px437 (IBM CGA/EGA/VGA) fonts.

Screenshots

Main App Window

QuickLook Preview

Configuration

The QuickLook plugin shares settings with the main application. When you change fonts or colors in the App's Preferences, the changes are saved to a shared configuration file (~/.the-last-nfo-viewer.json) which the QuickLook plugin reads.

Installation

Via Homebrew

brew install NoLooseEnds/tap/the-last-nfo-viewer

Or tap the repository first:

brew tap NoLooseEnds/tap
brew install the-last-nfo-viewer

From Source

Please refer to BUILD.md for detailed build instructions.

Summary:

  1. Open The Last NFO Viewer.xcodeproj in Xcode.
  2. Build the The Last NFO Viewer scheme.
  3. Build the NFO Preview scheme (for QuickLook).

Running the App

Since this app is self-signed (ad-hoc), macOS Gatekeeper might prevent it from opening.

  1. Right-click the app and select Open.
  2. Click Open in the confirmation dialog.

Alternatively, you can go to System Settings > Privacy & Security and click Open Anyway next to the message about the app being blocked.

If you move the app to /Applications and still face issues (e.g. "App is damaged"), remove the quarantine attribute:

xattr -cr /Applications/The\ Last\ NFO\ Viewer.app

QuickLook Limitations

If you installed via Homebrew or downloaded the zip, the QuickLook plugin might show a blank window or fail to load due to macOS strict security requirements for App Extensions in ad-hoc signed apps.

To fix this, you can try:

  1. Moving the app to /Applications.
  2. Running: xattr -cr /Applications/The\ Last\ NFO\ Viewer.app
  3. Reloading QuickLook: qlmanage -r

If it still doesn't work, compiling the app from source using Xcode will guarantee the QuickLook plugin works on your machine.

History

Original project "NFO Viewer" by Kris Gybels
Then a rewrite to "Yet Another NFO Viewer" by MacKonsti
And now another complete rewrite, reaching its final form as The Last NFO Viewer.

Troubleshooting

If the QuickLook preview doesn't appear or doesn't update after changing settings:

  1. Reload QuickLook Cache: Run the following command in Terminal:
    qlmanage -r
  2. Verify Permissions: The plugin is sandboxed. If it fails to read your settings, ensure you have run the main application at least once.

License

See LICENSE file.

Note

Note that this is my first public app-project on GitHub. Be nice. :)

About

A modern, native macOS application for viewing NFO, ASC, and DIZ files, written in Swift.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors