You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Using `--preset` is a good choice when trying PackOBF for the first time, possible values are: `fastest`, `fast`, `normal`, `best`, `ultra`.
33
+
> Using `--preset` is a good choice when trying PackOBF for the first time, possible values are: `fast`, `normal`, and `best`.
34
34
35
35
~~Alternatively, you can use PackOBF in your browser at https://packobf.misieur.me/ however, it will be way slower than the native app
36
36
because of internet browser restrictions.~~ PackOBF on internet browsers is deprecated.
@@ -42,22 +42,22 @@ because of internet browser restrictions.~~ PackOBF on internet browsers is depr
42
42
43
43
### JSON Files
44
44
PackOBF will parse JSON files into memory and will know for JSON files in `items`, `models`, `blockstates`, `fonts`, `sound_definitions`, and `atlas` folders
45
-
which fields exist, which one are required, their value type (string, integer, etc.) and their default value.
45
+
which fields exist, which ones are required, their type (string, integer, etc.) and their default value.
46
46
With all of this data, PackOBF is able to remove fields that are unknown by Minecraft, values that are
47
-
already the default one, spaces and new lines.
47
+
already the default one, spaces and line breaks.
48
48
> [!NOTE]
49
49
> For any other JSON file, PackOBF will only simplify them, remove spaces, newlines, `.0` for numbers, etc.
50
50
51
51
### PNG Files
52
-
PackOBF uses [oxipng](https://github.com/oxipng/oxipng) to minimize losslessly PNG files.
52
+
PackOBF uses [an oxipng fork](https://github.com/PackOBF/oxipng) to losslessly minimize PNG files.
53
53
Moreover, if you enable the *Corrupt PNG Files* option (`--corrupt-png-files`), your PNG images will be
54
54
corrupted and unreadable for a lof of image software but Minecraft and will remove some bytes from your PNG images.
55
55
56
56
### Resource pack file
57
-
PackOBF has its own way of writing ZIP files, which will not work with some popular ZIP file extractors,
57
+
PackOBF has its own way of writing ZIP files, which will not work with some popular ZIP file extractors
58
58
but does work with Minecraft. This way of writing ZIP files is not conventional, but it allows saving file size
59
59
when duplicated files are in the resource pack and does not write useless data like folders and other fields on the ZIP file.
60
-
PackOBF by itself will break some file software however the `jar -xf output.zip` command from Java will still be able to unzip it.
60
+
PackOBF by itself will break some file software, however, the `jar -xf output.zip` command from Java will still be able to unzip it.
61
61
By enabling the *Block resource pack from unzipping* option (`--block-unzipping`), it will totally block Java and a lot of software
62
62
(including JD-GUI, Minecraft mods) from unzipping your resource pack while Minecraft can still load it.
63
63
@@ -66,7 +66,7 @@ PackOBF is able to rename resource pack overlays, models, textures and sounds th
66
66
(example: `assets/_/textures/i/a.png` instead of `assets/minecraft/textures/item/my_cool_item.png`) while keeping everything working.
67
67
68
68
### Core Shaders (Experimental)
69
-
PackOBF is able to parse core shaders, minify them, rename variables and functions to short names, it can be enabled using the
69
+
PackOBF is able to parse core shaders, minify them, rename variables and functions to short names. It can be enabled using the
70
70
`--shader-compression [none, minify, minify-and-obfuscate]` option, `minify-and-obfuscate` will rename variables and functions
71
71
which might break your shaders, while `minify` does not.
| Normal | Pre-processes data with libdeflate level 9 and based on the results chooses zopfli options that would give the best time/compression ratio. |
24
-
| Best | Same as Normal but with higher zopfli compression. |
25
-
| Ultra | Zopfli with 40 iteration_count, 40 iterations_without_improvement and 25 maximum_block_splits |
0 commit comments