Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laurencerawlings/minecraft-mod-texture-upscaler
Python script to extract textures from a mod jar and upscale them using the Scale2x algorithm
https://github.com/laurencerawlings/minecraft-mod-texture-upscaler
32x fabric faithful forge minecraft mod neoforge quilt resourecepack texture
Last synced: 15 days ago
JSON representation
Python script to extract textures from a mod jar and upscale them using the Scale2x algorithm
- Host: GitHub
- URL: https://github.com/laurencerawlings/minecraft-mod-texture-upscaler
- Owner: LaurenceRawlings
- Created: 2024-10-28T23:59:36.000Z (16 days ago)
- Default Branch: main
- Last Pushed: 2024-10-29T00:02:23.000Z (16 days ago)
- Last Synced: 2024-10-29T01:18:13.943Z (16 days ago)
- Topics: 32x, fabric, faithful, forge, minecraft, mod, neoforge, quilt, resourecepack, texture
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Minecraft Mod Texture Upscaler
Most mods ship with custom textures that are the default 16x textures that Minecraft uses. When playing with a resource pack
such as Faithful 32x, these custom textures can look out of place.This simple tool will extract all textures from a mod's jar file and upscale them using the Scale2x algorithm. They will be output
to a directory that can be zipped and used as a resource pack in game. The upscaled textures will override the default 16x textures
in the mod's jar file.## Dependencies
- [Scale2x](https://github.com/amadvance/scale2x)
- `scalerx` must be installed and in your PATH
- If on Windows you can extract it to `./scale2x`## Usage
1. Create an output directory
2. Create an `.mcmetadata` file in the output directory with the following:```json
"pack": {
"pack_format": 15,
"description": "32x custom resource pack"
}
```3. Run the `main.py` script (scale factor is 2 by default):
```bat
python main.py [scale factor]
```e.g.
```bat
python main.py ../supplementaries-1.20-2.8.17.jar ../my_custom_pack-32x-1.20.1 2
```4. Zip the `assets` directory and `pack.mcmeta` in the output directory and that's the resource pack ready to be used in game!