/png2xnb

An XNB packer for modern times. 📦

Primary LanguageC#GNU General Public License v3.0GPL-3.0

png2xnb png2xnb logo

An XNB packer for modern times. 📦

A fork of sullerandras/png_to_xnb.
Icon beautifully crafted by kkaero.


Preview

Overview

(checked = done; unchecked = uncomplete atm)
The basic png_to_xnb features such as:

  • PNG file conversion
  • PNG folder conversion
  • Toggle for premultiplying alpha
  • Reach and HiDef formats support
  • Image compression

but png2xnb adds:

  • Automatic output fill
  • Settings-that-save-on-closing-the-application 🤯
  • Feedback on inputs (data validation)
  • System notification on auto convert
  • Auto convert (listens for file modifications and converts automatically)
  • Recursive folder conversion (compiling every PNG inside every subfolder too)

Motivation

While working on JumpKingPlus, two fellow friends of mine introduced me to png_to_xnb for updating their levels' hitboxes and I quickly realized how useful and quick this tool was in Jump King Level Making

...so why not make it better by completely rewriting the UI in WPF?!?

Requirements

The program requires .NET 4.8.
The program only runs on Windows unless a miracle happens with wine or mono.

Requires as in:

"I've compiled it in 4.8 because I haven't bothered seeing if it can be lowered further. It should work with newer .NET versions and probably older versions too if you dare to recompile and deal with dependencies."

License

Following sullerandras' legacy with GPLv3 (see LICENSE file).