Skip to content

Instantly share code, notes, and snippets.

@Boy0000
Last active February 24, 2025 22:14
Show Gist options
  • Save Boy0000/92149d2704b6086473fccb4d771c42b4 to your computer and use it in GitHub Desktop.
Save Boy0000/92149d2704b6086473fccb4d771c42b4 to your computer and use it in GitHub Desktop.
# Lines that start with # are comments, and PackSquash ignores them.
# You can also start a comment in the middle of a line with #, that
# spans until the end of the line
# Global options
# pack_directory & output_file_path are automatically set by Nexo
# No need to specify a path in either
pack_directory = ''
output_file_path = ''
recompress_compressed_files = true
zip_compression_iterations = 5
automatic_minecraft_quirks_detection = true
# The value of this option is ignored due to automatic quirk detection
# being enabled, but this usually does not matter
allow_mods = ['OptiFine']
skip_pack_icon = false
validate_pack_metadata_file = false
ignore_system_and_hidden_files = true
zip_spec_conformance_level = 'pedantic'
# These two are actually ignored due to the ZIP spec conformance level
size_increasing_zip_obfuscation = false
percentage_of_zip_structures_tuned_for_obfuscation_discretion = 0
never_store_squash_times = true
spooling_buffers_size = 4096
# System dependent values. Use them as-is only if you have a good reason,
# not just because you have copied and pasted this options file
# Per-file options below
# Ogg files do not get transcoded
['**/*?.ogg']
transcode_ogg = false
# Lossless music files get pitch shifted and compressed with good quality
['**/*?.{flac,wav}']
channels = 2
sampling_frequency = 44100
target_pitch = 1.5
target_bitrate_control_metric = 96000
# JSON files with comments get prettified and nothing is removed from them
['**/*.jsonc']
minify_json = true
delete_bloat_keys = true
# Compress textures losslessly no matter what. Keep them small
['**/*.png']
image_data_compression_iterations = 15
color_quantization_target = 'auto'
maximum_width_and_height = 2048
skip_alpha_optimizations = true
# Don't minify shaders
['**/*.{fsh,vsh}']
shader_source_transformation_strategy = 'keep_as_is'
# Don't minify properties files
['**/*.properties']
minify_properties = false
['**/textures/models/armor/*?.png']
image_data_compression_iterations = 0
skip_alpha_optimizations = true
color_quantization_target = 'none'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment