mc-repack-core

Crates.iomc-repack-core
lib.rsmc-repack-core
version0.27.1
sourcesrc
created_at2023-11-04 19:24:58.090433
updated_at2024-07-29 00:55:12.923912
descriptionA library for repacking Minecraft mods and resource packs to optimize size and loading speed.
homepagehttps://szeweq.xyz/mc-repack
repositoryhttps://github.com/szeweq/mc-repack
max_upload_size
id1025420
size47,798
Szeweq (szeweq)

documentation

README

The mc-repack-core create

This crate is a part of MC-Repack project, available on GitHub (see here).

Features

  • Minifying JSON files, using serde-json, and removing comments
  • Optimizing PNG files, using oxipng
  • Optimizing TOML files, using toml
  • Optimizing NBT files
  • Removing unwanted files – some project files (from Blender, Photoshop, etc.) are mistakenly packed in mods. This operation will detect and remove (ignore while repacking) these files.
  • Stripping Unicode BOM
  • Removing comment lines in many file types: .cfg, .obj, .mtl, .zs, .vsh, .fsh
  • Recompressing files more efficiently
  • Now with Zopfli support (slower, but better compression)

For more info, visit the MC-Repack webpage

Commit count: 385

cargo fmt