Skip to content

WalkerMx/AutoCrispy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoCrispy

Automatically apply AI upscaling on Dumped Textures.

AutoCrispy Features

  • Seamless Upscaling - Experimental system for improving seamless texture upscales, based on JoeyBallentine's 'upscale.py' script. Available for all backends. For advanced users. More information will be available in the manual.

  • Model Chaining - Arbitrarily chain models for upscaling. Adding a model to a chain 'snapshots' your current settings for the backend, meaning you can apply the same backend with differant settings or models (ESRGAN), or apply any mix of backends in sequence to your textures.

  • Defringing - Basic, GDI+ defringing scheme. Removes ugly halo artifacts ('fringes') from textures with transparency. This works best where all textures are roughly the same size.

Backend Features

The following are the features supported in AutoCrispy. Any feature listed is not necessarily the same as the features or requirements of the program. To work, AutoCrispy requires one of the following to be downloaded, or ESRGAN to be installed. More about the Backends and Comparison shots can be found here

Backend Scale Range Denoising Support Alpha Support TAA Custom Filters Speed VRAM Requirements Download
Waifu2x Caffe 1-4 ✔️ ✔️ ✔️ Slow Very High Link
Waifu2x Vulkan 1-2 ✔️ ✔️ ✔️ Average Medium Link
RealSR Vulkan 4-4 ✔️ ✔️ Slow High Link
SRMD Vulkan 2-4 ✔️ ✔️ ✔️ Average Medium Link
Waifu2x CPP 1-8 ✔️ ✔️ Quick Low Link
Anime4K CPP 1-8 ✔️ ✔️ Quick Low Link
xBRZ 2-6 ✔️ Quick Low Link

Texconv

AutoCrispy supports Microsoft's Texconv Utility for processing DDS textures. Most DDS formats are supported, as well as many image formats. When chaining, ensure that the backends you have selected support the format you have chosen (PNG is widely supported).

To use texconv, place it in the folder with AutoCrispy, or in it's own folder in AutoCrispy's folder. To set up for DDS files, set the first item in your chain to Texconv, set to "DDS Input". Then, set the last item to Texconv, set to "DDS Output".

ESRGAN

It is possible to use ESRGAN. A PyInstalled version is provided here for use with AutoCrispy:
https://github.com/WalkerMx/ESRGAN_Python_Embedded/releases

This does not include any models. They can be found here.

How to use:

-Toss AutoCrispy into the folder from the backend(s) you chose, and run it.

-Pick the folder where the textures dump.

-Pick the folder where the new textures need to be.

-Set your settings. The defaults should work, unless you know what you want.

-Push the button.

As the textures dump, new upscaled textures are generated, and the originals are optionally deleted.

Also, make sure you have enough VRAM if you use multithreading, especially with Caffe and ESRGAN. More threads & higher upscales dramatically increase the memory requirements!

More info about AutoCrispy and how it works can be found Here
Guides for some common programs can be found Here.

Special Thanks

Some people have been unusually helpful, or have gone above and beyond to show support for this project. With their permission, they are listed below.

u/devilskin

fefo-dev