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: 1, Guests: 1)

Latest Threads

Latest Profile Posts

I'm going to schedule my shuttle to the train station today... after I vote. It's not a pleasant thing to do, since I hate politics. So much negative talk. I can see why it's not allowed here. But about the shuttle. My county has a service called PalmTran, and it's really convenient. They pick you up at your home and drop you off where you need to be. Just give them a date and time.
Titlescreen idle movie player, play some videos if the player sits on the titlescreen too long! [free plugin]
"Alert, alert, there is nothing there. Wake up, there is nothing there. This is not a drill, there is nothing there. Oh hey, I see you're awake early on your day off, let's go for a run."~if dogs could talk.
I love October. It starts out with a lighthearted chillvibes. Near the end of the month, it becomes somewhat dreamy and the days feel slower. Maybe because October is the beginning of rainy season in my country. :D
Ami
--- Surprise Part 2 ---

F.Healer: Look,i'm the Cute White Ghost!
F.Mage: And,im the Scary Witch!
M.Archer: I'm The Handsome Vampire!
M.Fighter: AWOOOOOOO!!!
(Suddenly,The Electricity Is Turned Off. Then Turned On 10 Seconds Later)
Hero: (With Scream Mask & Bloody Knife) Hey,how about my Costume?
Entire Party: (Screaming Until Faint)

Forum statistics

Threads
104,502
Messages
1,006,771
Members
136,008
Latest member
ponpon
Top