psmith
Terrarian
It was fun to create my own png_to_xnb variant. I used an early version of this to create my texture pack. Maybe someone will also find it useful.
Source is here (C#): https://github.com/sullerandras/png_to_xnb
Precompiled exe (17 kB): https://github.com/sullerandras/png_to_xnb/raw/master/png_to_xnb.exe
It is a standalone exe, it should work on any Windows 7 or newer without installing .NET or XNA frameworks. On Mac you need wine or mono to run it.
Note that it supports batch converting via command line arguments. Start it without any command line arguments (e.g. double clicking it) to see a basic GUI.
Also note that the program only handles 8 bits per pixel PNG files. In other words: 16 bits / pixel images will not work properly, you need to convert them to 8 bpp.
This is my first C# project. I used Mono (Xamarin Studio) on a Mac for development.
Source is here (C#): https://github.com/sullerandras/png_to_xnb
Precompiled exe (17 kB): https://github.com/sullerandras/png_to_xnb/raw/master/png_to_xnb.exe
It is a standalone exe, it should work on any Windows 7 or newer without installing .NET or XNA frameworks. On Mac you need wine or mono to run it.
Note that it supports batch converting via command line arguments. Start it without any command line arguments (e.g. double clicking it) to see a basic GUI.
Also note that the program only handles 8 bits per pixel PNG files. In other words: 16 bits / pixel images will not work properly, you need to convert them to 8 bpp.
This is my first C# project. I used Mono (Xamarin Studio) on a Mac for development.
Last edited: