I have ~700 resource packs to update (https://vanillatweaks.net). I was planning on automating it using this, with a simple git diff to determine which files need to be added into an overlay for each pack's format 18. (I need to use overlays so our packs are compatible with every version under 1.20.x, as our website is structured to pick packs independently of patch version.) So I ran this tool on every pack.
Turns out there are 2,397 changes according to git, despite only half of these actually being compatibility changes. One of the changed images, for example, went from a file size of 284 B to 286 B after being processed by slicer. It seems this is because slicer re-encodes every image in every resource pack's gui folder, even if the image doesn't need any changes.
This is going to make updating much more manually laborious for me. Is it possible this could be fixed to copy the exact file buffer as-is when no changes are necessary?
I have ~700 resource packs to update (https://vanillatweaks.net). I was planning on automating it using this, with a simple git diff to determine which files need to be added into an overlay for each pack's format 18. (I need to use overlays so our packs are compatible with every version under 1.20.x, as our website is structured to pick packs independently of patch version.) So I ran this tool on every pack.
Turns out there are 2,397 changes according to git, despite only half of these actually being compatibility changes. One of the changed images, for example, went from a file size of 284 B to 286 B after being processed by slicer. It seems this is because slicer re-encodes every image in every resource pack's
gui
folder, even if the image doesn't need any changes.This is going to make updating much more manually laborious for me. Is it possible this could be fixed to copy the exact file buffer as-is when no changes are necessary?