Minecraft Mods

PackSquash - Resource and data pack optimizer for space savings and distribution

  • 7,456 views, 2 today
  • 487 downloads, 0 today
  • 23
  • 19
  • 3
AlexTMjugador's Avatar AlexTMjugador
Level 21 : Expert Engineer
1

Background and motivation


Resource packs are commonly used nowadays to create unique and memorable experiences in both adventure maps and servers. However, resource packs in servers are limited in size, and big resource packs are undesirable because they take longer to download and/or install, annoying players and limiting creative freedom to achieve a reasonable size.

Data packs are also increasingly complex, and even though they don't have to be downloaded by clients that connect to a server, they still can take quite a bit of space when distributing an adventure map.


So enter PackSquash, the resource and data pack optimizer that will apply state of the art compression techniques to squeeze every file in your pack to the least size possible!

Features and highlights

  • State of the art lossless compression techniques, and file type specific lossy compression techniques for maximum savings without noticeable quality compromises.
  • A configuration file to customize how PackSquash compresses files, and tune time-compression or compression-quality tradeoffs.
  • Implements some original obfuscation methods designed to help you protect your resource pack from unauthorized ripping, although they are weak and you shouldn't rely too much on their effectiveness against people who have the know-how and motivation.
  • Validates files in your resource pack against syntax errors, so no more distributing malformed files to your players!
  • Support for OptiFine-specific resource pack files (opt-in via the configuration file).
  • Works with any Minecraft version that supports resource packs!
  • Programmed in Rust, a language that compiles to machine code and emphasizes performance and code safety.

Success histories


PackSquash was used to reduce the size of several real-world resource packs, like the Witchcraft & Wizardary resource pack for personal usage, and several custom resource packs for production servers. Savings range from 80% to 50%, so give it a try with your resource pack!

Download and usage


PackSquash is a free and open source command-line application that lives on GitHub, so everyone is welcome to open issues there, discuss improvements and submit pull requests!

You can also get the latest version and installation and usage instructions of PackSquash from GitHub.
Progress100% complete
Game VersionMinecraft 1.20
Tags

4 Update Logs

Version 0.4.0 released! : by AlexTMjugador 06/25/2023 11:52:54 amJun 25th, 2023

This version includes several fixes, improvements and tweaks that are the result of community feedback, contributions made by third parties, and of course my own work. Check out the release notes for more information!
LOAD MORE LOGS

Create an account or sign in to comment.

2
06/11/2022 11:01 pm
Level 34 : Artisan Explorer
Aestheronaut
Aestheronaut's Avatar
Thanks so much for making this, its Diamond!, now i dont need to compress all the texture one by one.
1
02/28/2021 10:53 pm
Level 1 : New Miner
User3409254G
User3409254G's Avatar
i have problem to start the .exe ...
1
03/02/2021 8:24 am
Level 21 : Expert Engineer
AlexTMjugador
AlexTMjugador's Avatar
Have you installed the needed dependencies as explained in the installation guide?

Also, keep in mind that, if you launch PackSquash without parameters, it will ask you to type the settings you want to use everytime. It'd probably be a good idea to create a settings file beforehand with a program like Notepad and then pass the path to that file as a command line argument.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome