Pixel-Art Upscaler - Doesn't use previous algorithms, and licensed CC0

astracat111

Astra Cat
Veteran
Joined
Jun 16, 2015
Messages
207
Reaction score
117
First Language
English
Primarily Uses
Hey there, it's been a while since I've been here. I've created a tool for any game developer working with pixel-art assets that's interested in upscaling, free to use for commercial or non-commercial purposes, you're not legally required to give credit or ask permission to use it.

It DOES require Unity but before you ban and lock the topic, it doesn't require any paid version of Unity to use. You simply download the Github zip, and unzip it to your /Assets/ root directory folder (root directory folder name for all Unity projects), add the script to a game object's inspector, add your PNG files into the InputFolder and hit the 'Scale' button.

The reason I made this is that with the upscaling algorithms designed for emulation, it may be considered illegal or immoral (which matters too by twitter mob standards) to use their upscalers for commercial purposes without permission, so I created a method of upscaling that doesn't use Eagle, Sal, xBR, xBRZ or HQx's algorithms. Instead, it connects and cut multiple shapes on a 4x4 snapshot per pixel of the texture in C# (in other words, unlike HQx or xBR, it's not designed to be a shader or optimized for real-time use, but rather run as a tool for textures).

I made sure to license it with the CC0 license, which means that you don't need any permission to use it commercial or non-commercially, and you don't legally have to ask me to use it either.

Examples

1600113639292.png

Here is a 4x scaling run on a character.

1600113658329.png
2x scaling run on a link to the past sprite sheets.

1600113670290.png
A random kitten pixel-art work. Looks much better zoomed out.

1600113697602.png
Default Minecraft textures upscaled.

1600115011311.png
Since this is an RPG Maker forum, here's an example of upscaling one of hiddenone's sprite sheets:

1600115268801.png
Here is the same sprite sheet with 4x scaling. It starts to turn the character into a diamond person (because of staircasing). The staircasing I am looking into possible solutions for, just in 2x to fill in a few dots here and there when filling in lines as an optional setting.

How It Works

- You put it in either your Assets/ or your Assets/Standard Assets/ folder
- Attach the Free4GameDevsX2.cs script to a game objects inspector.
- Put your PNG files in the InputFolder. The scaler will convert texture properties automatically so you shouldn't have to.
- In the Free4GameDevsX2 game object inspector, click on the 'Scale' button.
- It processes the textures. Go to the Unity console to see it's progress and see when it completes.

Features

- Batch processes PNG or JPG textures in 2X, 4X or 8X mode
- Keeps your folder hierarchy and names of files when outputting graphics
- 'Thicker lines' feature
- 'Soften' feature (still experimental)
- No restrictive GPL license means you can use it commercially and non-commercially without legally being obligated to give credit
- Open source means you can modify the code so that it works the way you need it to for your project
- New select chroma key color feature will convert your chroma key color to alpha on output

Github link:
https://github.com/astralojia/Free4GameDevsX2Scaler
Unity3D Forums Post:
https://tinyurl.com/y3suaztz
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

I made my own pizza. First critique, more chicken next time.
My pumpkin! Anyone like Fallout?

It's not terrible, but could be better. This thing took me over an hour to carve. :kaophew:

Dad's watching a WWII documentary while I work on some cool assets for my games. I just love RPG Maker!
Also Happy Halloween! Dad's friend won't be coming unfortunately, but Dad will still be taking me to Boxi Park to have some fun tonight! I'll be posting a video on my YouTube channel of the show, and I'll be sure to post a link here.
"Nightmares exist outside of logic and there's little fun to be had in explanations. They're antithetical to the poetry of fear. In a horror story the victim keeps asking why, but there can be no explanation and there shouldn't be one..." - Stephen King
I feel people seek explanation and demand it sometimes in games, but in the horror genre, well, maybe you shouldn't have one. Silent Hill 1 comes to mind...
Managed to implement QSprite.

Always double check your plugin order.

Forum statistics

Threads
104,686
Messages
1,008,102
Members
136,177
Latest member
SGXNinetyNine
Top