mntm-asset-packer 1.1.3__tar.gz → 1.1.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mntm_asset_packer-1.1.3 → mntm_asset_packer-1.1.4}/PKG-INFO +7 -4
- {mntm_asset_packer-1.1.3 → mntm_asset_packer-1.1.4}/README.md +3 -0
- {mntm_asset_packer-1.1.3 → mntm_asset_packer-1.1.4}/mntm_asset_packer.py +6 -3
- {mntm_asset_packer-1.1.3 → mntm_asset_packer-1.1.4}/pyproject.toml +4 -4
- {mntm_asset_packer-1.1.3 → mntm_asset_packer-1.1.4}/uv.lock +24 -4
- {mntm_asset_packer-1.1.3 → mntm_asset_packer-1.1.4}/.gitattributes +0 -0
- {mntm_asset_packer-1.1.3 → mntm_asset_packer-1.1.4}/.github/workflows/release.yml +0 -0
- {mntm_asset_packer-1.1.3 → mntm_asset_packer-1.1.4}/.gitignore +0 -0
- {mntm_asset_packer-1.1.3 → mntm_asset_packer-1.1.4}/.python-version +0 -0
- {mntm_asset_packer-1.1.3 → mntm_asset_packer-1.1.4}/Asset Pack File Format.md +0 -0
- {mntm_asset_packer-1.1.3 → mntm_asset_packer-1.1.4}/requirements.txt +0 -0
@@ -1,11 +1,11 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: mntm-asset-packer
|
3
|
-
Version: 1.1.
|
3
|
+
Version: 1.1.4
|
4
4
|
Summary: An improved asset packer script to make the process of creating and packing asset packs for the Momentum firmware easier.
|
5
5
|
Author-email: notnotnescap <nescap@tuta.io>
|
6
|
-
Requires-Python: >=3.
|
7
|
-
Requires-Dist: heatshrink2>=0.
|
8
|
-
Requires-Dist: pillow>=
|
6
|
+
Requires-Python: >=3.10
|
7
|
+
Requires-Dist: heatshrink2>=0.1.0
|
8
|
+
Requires-Dist: pillow>=3.4.0
|
9
9
|
Description-Content-Type: text/markdown
|
10
10
|
|
11
11
|
# mntm-asset-packer
|
@@ -66,6 +66,9 @@ If you run the script directly, replace `mntm-asset-packer` with `python3 mntm_a
|
|
66
66
|
`mntm-asset-packer help`
|
67
67
|
: Displays a detailed help message with all available commands.
|
68
68
|
|
69
|
+
`mntm-asset-packer --version`
|
70
|
+
: Displays the version of the asset packer.
|
71
|
+
|
69
72
|
`mntm-asset-packer create <Asset Pack Name>`
|
70
73
|
: Creates a directory with the correct file structure to start a new asset pack.
|
71
74
|
|
@@ -56,6 +56,9 @@ If you run the script directly, replace `mntm-asset-packer` with `python3 mntm_a
|
|
56
56
|
`mntm-asset-packer help`
|
57
57
|
: Displays a detailed help message with all available commands.
|
58
58
|
|
59
|
+
`mntm-asset-packer --version`
|
60
|
+
: Displays the version of the asset packer.
|
61
|
+
|
59
62
|
`mntm-asset-packer create <Asset Pack Name>`
|
60
63
|
: Creates a directory with the correct file structure to start a new asset pack.
|
61
64
|
|
@@ -29,6 +29,9 @@ Usage :
|
|
29
29
|
\033[32mmntm-asset-packer \033[0;33;1mhelp\033[0m
|
30
30
|
\033[3mDisplays this message
|
31
31
|
\033[0m
|
32
|
+
\033[32mmntm-asset-packer \033[0;33;1m--version\033[0m
|
33
|
+
\033[3mDisplays the version of the asset packer
|
34
|
+
\033[0m
|
32
35
|
\033[32mmntm-asset-packer \033[0;33;1mcreate <Asset Pack Name>\033[0m
|
33
36
|
\033[3mCreates a directory with the correct file structure that can be used to prepare for the packing process.
|
34
37
|
\033[0m
|
@@ -655,7 +658,7 @@ def main() -> None:
|
|
655
658
|
"""Main function."""
|
656
659
|
if len(sys.argv) <= 1:
|
657
660
|
# If no arguments are provided, pack all
|
658
|
-
here = pathlib.Path
|
661
|
+
here = pathlib.Path.cwd()
|
659
662
|
start = time.perf_counter()
|
660
663
|
pack_all_asset_packs(here, here / "asset_packs", logger=print)
|
661
664
|
end = time.perf_counter()
|
@@ -679,7 +682,7 @@ def main() -> None:
|
|
679
682
|
|
680
683
|
case "pack":
|
681
684
|
if len(sys.argv) == 3:
|
682
|
-
here = pathlib.Path
|
685
|
+
here = pathlib.Path.cwd()
|
683
686
|
start = time.perf_counter()
|
684
687
|
|
685
688
|
if sys.argv[2] == "all":
|
@@ -702,7 +705,7 @@ def main() -> None:
|
|
702
705
|
|
703
706
|
case "recover":
|
704
707
|
if len(sys.argv) == 3:
|
705
|
-
here = pathlib.Path
|
708
|
+
here = pathlib.Path.cwd()
|
706
709
|
start = time.perf_counter()
|
707
710
|
|
708
711
|
if sys.argv[2] == "all":
|
@@ -1,15 +1,15 @@
|
|
1
1
|
[project]
|
2
2
|
name = "mntm-asset-packer"
|
3
|
-
version = "1.1.
|
3
|
+
version = "1.1.4"
|
4
4
|
description = "An improved asset packer script to make the process of creating and packing asset packs for the Momentum firmware easier."
|
5
5
|
readme = "README.md"
|
6
6
|
authors = [
|
7
7
|
{ name = "notnotnescap", email = "nescap@tuta.io" }
|
8
8
|
]
|
9
|
-
requires-python = ">=3.
|
9
|
+
requires-python = ">=3.10"
|
10
10
|
dependencies = [
|
11
|
-
"heatshrink2>=0.
|
12
|
-
"pillow>=
|
11
|
+
"heatshrink2>=0.1.0",
|
12
|
+
"pillow>=3.4.0",
|
13
13
|
]
|
14
14
|
|
15
15
|
[project.scripts]
|
@@ -1,6 +1,6 @@
|
|
1
1
|
version = 1
|
2
2
|
revision = 2
|
3
|
-
requires-python = ">=3.
|
3
|
+
requires-python = ">=3.10"
|
4
4
|
|
5
5
|
[[package]]
|
6
6
|
name = "heatshrink2"
|
@@ -8,6 +8,8 @@ version = "0.13.0"
|
|
8
8
|
source = { registry = "https://pypi.org/simple" }
|
9
9
|
sdist = { url = "https://files.pythonhosted.org/packages/22/53/5a46650f76811bfc174df261553f621ccc921ef84628cabf0261810ce140/heatshrink2-0.13.0.tar.gz", hash = "sha256:5aa93c102ba9c4e6e4fb01974cb5b03194e10fa01bfda8bda233c632b22d3b4a", size = 142262, upload-time = "2024-02-07T18:07:30.081Z" }
|
10
10
|
wheels = [
|
11
|
+
{ url = "https://files.pythonhosted.org/packages/c5/0c/68bc166e99b564c71b9356b26f4ee05ff49a4f02999b2b001187f9d7b5de/heatshrink2-0.13.0-cp310-cp310-win32.whl", hash = "sha256:fa3536078d305783bf381134e285b4357637bbbf2f149dc4371335b2020ba067", size = 56683, upload-time = "2024-02-07T18:21:41.603Z" },
|
12
|
+
{ url = "https://files.pythonhosted.org/packages/eb/b8/cc12d5881e2012b4278991ff9ab71849f2c13aa07b975b85ef497124b225/heatshrink2-0.13.0-cp310-cp310-win_amd64.whl", hash = "sha256:7288c549ed83fefcc1c88a402fac65cfd212a84a798a9ce8b9fa2c85df6debaa", size = 63214, upload-time = "2024-02-07T18:22:39.382Z" },
|
11
13
|
{ url = "https://files.pythonhosted.org/packages/4f/cd/37429614a7dd0b6aba30d18264b5892b726d40151388c7b7f6778266a68b/heatshrink2-0.13.0-cp311-cp311-win32.whl", hash = "sha256:6820afcef084cbaedfbaa7f57739c01a70e35bc862e0bac26281457f0afa79e5", size = 56460, upload-time = "2024-02-07T18:23:44.823Z" },
|
12
14
|
{ url = "https://files.pythonhosted.org/packages/30/60/675088369238a54e1217a9007066727d032921e51292816ea5d197b6c018/heatshrink2-0.13.0-cp311-cp311-win_amd64.whl", hash = "sha256:55dcc79c2da58507a8d90eb55032aa4a2b6c14a2ad28b700a3f76d461a9583ed", size = 63265, upload-time = "2024-02-07T18:24:44.252Z" },
|
13
15
|
{ url = "https://files.pythonhosted.org/packages/98/35/4cea898af2b8e26cd1eba99894a8eba325461f84cdf3fe72708913d0e20e/heatshrink2-0.13.0-cp312-cp312-win32.whl", hash = "sha256:2d30f1b8e5173f3877db178668d770fbf11226b4bd1410464f7784590208c914", size = 55699, upload-time = "2024-02-07T18:25:54.969Z" },
|
@@ -16,7 +18,7 @@ wheels = [
|
|
16
18
|
|
17
19
|
[[package]]
|
18
20
|
name = "mntm-asset-packer"
|
19
|
-
version = "1.1.
|
21
|
+
version = "1.1.4"
|
20
22
|
source = { editable = "." }
|
21
23
|
dependencies = [
|
22
24
|
{ name = "heatshrink2" },
|
@@ -25,8 +27,8 @@ dependencies = [
|
|
25
27
|
|
26
28
|
[package.metadata]
|
27
29
|
requires-dist = [
|
28
|
-
{ name = "heatshrink2", specifier = ">=0.
|
29
|
-
{ name = "pillow", specifier = ">=
|
30
|
+
{ name = "heatshrink2", specifier = ">=0.1.0" },
|
31
|
+
{ name = "pillow", specifier = ">=3.4.0" },
|
30
32
|
]
|
31
33
|
|
32
34
|
[[package]]
|
@@ -35,6 +37,17 @@ version = "11.2.1"
|
|
35
37
|
source = { registry = "https://pypi.org/simple" }
|
36
38
|
sdist = { url = "https://files.pythonhosted.org/packages/af/cb/bb5c01fcd2a69335b86c22142b2bccfc3464087efb7fd382eee5ffc7fdf7/pillow-11.2.1.tar.gz", hash = "sha256:a64dd61998416367b7ef979b73d3a85853ba9bec4c2925f74e588879a58716b6", size = 47026707, upload-time = "2025-04-12T17:50:03.289Z" }
|
37
39
|
wheels = [
|
40
|
+
{ url = "https://files.pythonhosted.org/packages/0d/8b/b158ad57ed44d3cc54db8d68ad7c0a58b8fc0e4c7a3f995f9d62d5b464a1/pillow-11.2.1-cp310-cp310-macosx_10_10_x86_64.whl", hash = "sha256:d57a75d53922fc20c165016a20d9c44f73305e67c351bbc60d1adaf662e74047", size = 3198442, upload-time = "2025-04-12T17:47:10.666Z" },
|
41
|
+
{ url = "https://files.pythonhosted.org/packages/b1/f8/bb5d956142f86c2d6cc36704943fa761f2d2e4c48b7436fd0a85c20f1713/pillow-11.2.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:127bf6ac4a5b58b3d32fc8289656f77f80567d65660bc46f72c0d77e6600cc95", size = 3030553, upload-time = "2025-04-12T17:47:13.153Z" },
|
42
|
+
{ url = "https://files.pythonhosted.org/packages/22/7f/0e413bb3e2aa797b9ca2c5c38cb2e2e45d88654e5b12da91ad446964cfae/pillow-11.2.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b4ba4be812c7a40280629e55ae0b14a0aafa150dd6451297562e1764808bbe61", size = 4405503, upload-time = "2025-04-12T17:47:15.36Z" },
|
43
|
+
{ url = "https://files.pythonhosted.org/packages/f3/b4/cc647f4d13f3eb837d3065824aa58b9bcf10821f029dc79955ee43f793bd/pillow-11.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c8bd62331e5032bc396a93609982a9ab6b411c05078a52f5fe3cc59234a3abd1", size = 4490648, upload-time = "2025-04-12T17:47:17.37Z" },
|
44
|
+
{ url = "https://files.pythonhosted.org/packages/c2/6f/240b772a3b35cdd7384166461567aa6713799b4e78d180c555bd284844ea/pillow-11.2.1-cp310-cp310-manylinux_2_28_aarch64.whl", hash = "sha256:562d11134c97a62fe3af29581f083033179f7ff435f78392565a1ad2d1c2c45c", size = 4508937, upload-time = "2025-04-12T17:47:19.066Z" },
|
45
|
+
{ url = "https://files.pythonhosted.org/packages/f3/5e/7ca9c815ade5fdca18853db86d812f2f188212792780208bdb37a0a6aef4/pillow-11.2.1-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:c97209e85b5be259994eb5b69ff50c5d20cca0f458ef9abd835e262d9d88b39d", size = 4599802, upload-time = "2025-04-12T17:47:21.404Z" },
|
46
|
+
{ url = "https://files.pythonhosted.org/packages/02/81/c3d9d38ce0c4878a77245d4cf2c46d45a4ad0f93000227910a46caff52f3/pillow-11.2.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:0c3e6d0f59171dfa2e25d7116217543310908dfa2770aa64b8f87605f8cacc97", size = 4576717, upload-time = "2025-04-12T17:47:23.571Z" },
|
47
|
+
{ url = "https://files.pythonhosted.org/packages/42/49/52b719b89ac7da3185b8d29c94d0e6aec8140059e3d8adcaa46da3751180/pillow-11.2.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:cc1c3bc53befb6096b84165956e886b1729634a799e9d6329a0c512ab651e579", size = 4654874, upload-time = "2025-04-12T17:47:25.783Z" },
|
48
|
+
{ url = "https://files.pythonhosted.org/packages/5b/0b/ede75063ba6023798267023dc0d0401f13695d228194d2242d5a7ba2f964/pillow-11.2.1-cp310-cp310-win32.whl", hash = "sha256:312c77b7f07ab2139924d2639860e084ec2a13e72af54d4f08ac843a5fc9c79d", size = 2331717, upload-time = "2025-04-12T17:47:28.922Z" },
|
49
|
+
{ url = "https://files.pythonhosted.org/packages/ed/3c/9831da3edea527c2ed9a09f31a2c04e77cd705847f13b69ca60269eec370/pillow-11.2.1-cp310-cp310-win_amd64.whl", hash = "sha256:9bc7ae48b8057a611e5fe9f853baa88093b9a76303937449397899385da06fad", size = 2676204, upload-time = "2025-04-12T17:47:31.283Z" },
|
50
|
+
{ url = "https://files.pythonhosted.org/packages/01/97/1f66ff8a1503d8cbfc5bae4dc99d54c6ec1e22ad2b946241365320caabc2/pillow-11.2.1-cp310-cp310-win_arm64.whl", hash = "sha256:2728567e249cdd939f6cc3d1f049595c66e4187f3c34078cbc0a7d21c47482d2", size = 2414767, upload-time = "2025-04-12T17:47:34.655Z" },
|
38
51
|
{ url = "https://files.pythonhosted.org/packages/68/08/3fbf4b98924c73037a8e8b4c2c774784805e0fb4ebca6c5bb60795c40125/pillow-11.2.1-cp311-cp311-macosx_10_10_x86_64.whl", hash = "sha256:35ca289f712ccfc699508c4658a1d14652e8033e9b69839edf83cbdd0ba39e70", size = 3198450, upload-time = "2025-04-12T17:47:37.135Z" },
|
39
52
|
{ url = "https://files.pythonhosted.org/packages/84/92/6505b1af3d2849d5e714fc75ba9e69b7255c05ee42383a35a4d58f576b16/pillow-11.2.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:e0409af9f829f87a2dfb7e259f78f317a5351f2045158be321fd135973fff7bf", size = 3030550, upload-time = "2025-04-12T17:47:39.345Z" },
|
40
53
|
{ url = "https://files.pythonhosted.org/packages/3c/8c/ac2f99d2a70ff966bc7eb13dacacfaab57c0549b2ffb351b6537c7840b12/pillow-11.2.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d4e5c5edee874dce4f653dbe59db7c73a600119fbea8d31f53423586ee2aafd7", size = 4415018, upload-time = "2025-04-12T17:47:41.128Z" },
|
@@ -79,6 +92,13 @@ wheels = [
|
|
79
92
|
{ url = "https://files.pythonhosted.org/packages/b3/92/1ca0c3f09233bd7decf8f7105a1c4e3162fb9142128c74adad0fb361b7eb/pillow-11.2.1-cp313-cp313t-win32.whl", hash = "sha256:e0b55f27f584ed623221cfe995c912c61606be8513bfa0e07d2c674b4516d9dd", size = 2335774, upload-time = "2025-04-12T17:49:04.889Z" },
|
80
93
|
{ url = "https://files.pythonhosted.org/packages/a5/ac/77525347cb43b83ae905ffe257bbe2cc6fd23acb9796639a1f56aa59d191/pillow-11.2.1-cp313-cp313t-win_amd64.whl", hash = "sha256:36d6b82164c39ce5482f649b437382c0fb2395eabc1e2b1702a6deb8ad647d6e", size = 2681895, upload-time = "2025-04-12T17:49:06.635Z" },
|
81
94
|
{ url = "https://files.pythonhosted.org/packages/67/32/32dc030cfa91ca0fc52baebbba2e009bb001122a1daa8b6a79ad830b38d3/pillow-11.2.1-cp313-cp313t-win_arm64.whl", hash = "sha256:225c832a13326e34f212d2072982bb1adb210e0cc0b153e688743018c94a2681", size = 2417234, upload-time = "2025-04-12T17:49:08.399Z" },
|
95
|
+
{ url = "https://files.pythonhosted.org/packages/33/49/c8c21e4255b4f4a2c0c68ac18125d7f5460b109acc6dfdef1a24f9b960ef/pillow-11.2.1-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:9b7b0d4fd2635f54ad82785d56bc0d94f147096493a79985d0ab57aedd563156", size = 3181727, upload-time = "2025-04-12T17:49:31.898Z" },
|
96
|
+
{ url = "https://files.pythonhosted.org/packages/6d/f1/f7255c0838f8c1ef6d55b625cfb286835c17e8136ce4351c5577d02c443b/pillow-11.2.1-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:aa442755e31c64037aa7c1cb186e0b369f8416c567381852c63444dd666fb772", size = 2999833, upload-time = "2025-04-12T17:49:34.2Z" },
|
97
|
+
{ url = "https://files.pythonhosted.org/packages/e2/57/9968114457bd131063da98d87790d080366218f64fa2943b65ac6739abb3/pillow-11.2.1-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f0d3348c95b766f54b76116d53d4cb171b52992a1027e7ca50c81b43b9d9e363", size = 3437472, upload-time = "2025-04-12T17:49:36.294Z" },
|
98
|
+
{ url = "https://files.pythonhosted.org/packages/b2/1b/e35d8a158e21372ecc48aac9c453518cfe23907bb82f950d6e1c72811eb0/pillow-11.2.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:85d27ea4c889342f7e35f6d56e7e1cb345632ad592e8c51b693d7b7556043ce0", size = 3459976, upload-time = "2025-04-12T17:49:38.988Z" },
|
99
|
+
{ url = "https://files.pythonhosted.org/packages/26/da/2c11d03b765efff0ccc473f1c4186dc2770110464f2177efaed9cf6fae01/pillow-11.2.1-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:bf2c33d6791c598142f00c9c4c7d47f6476731c31081331664eb26d6ab583e01", size = 3527133, upload-time = "2025-04-12T17:49:40.985Z" },
|
100
|
+
{ url = "https://files.pythonhosted.org/packages/79/1a/4e85bd7cadf78412c2a3069249a09c32ef3323650fd3005c97cca7aa21df/pillow-11.2.1-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:e616e7154c37669fc1dfc14584f11e284e05d1c650e1c0f972f281c4ccc53193", size = 3571555, upload-time = "2025-04-12T17:49:42.964Z" },
|
101
|
+
{ url = "https://files.pythonhosted.org/packages/69/03/239939915216de1e95e0ce2334bf17a7870ae185eb390fab6d706aadbfc0/pillow-11.2.1-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:39ad2e0f424394e3aebc40168845fee52df1394a4673a6ee512d840d14ab3013", size = 2674713, upload-time = "2025-04-12T17:49:44.944Z" },
|
82
102
|
{ url = "https://files.pythonhosted.org/packages/a4/ad/2613c04633c7257d9481ab21d6b5364b59fc5d75faafd7cb8693523945a3/pillow-11.2.1-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:80f1df8dbe9572b4b7abdfa17eb5d78dd620b1d55d9e25f834efdbee872d3aed", size = 3181734, upload-time = "2025-04-12T17:49:46.789Z" },
|
83
103
|
{ url = "https://files.pythonhosted.org/packages/a4/fd/dcdda4471ed667de57bb5405bb42d751e6cfdd4011a12c248b455c778e03/pillow-11.2.1-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:ea926cfbc3957090becbcbbb65ad177161a2ff2ad578b5a6ec9bb1e1cd78753c", size = 2999841, upload-time = "2025-04-12T17:49:48.812Z" },
|
84
104
|
{ url = "https://files.pythonhosted.org/packages/ac/89/8a2536e95e77432833f0db6fd72a8d310c8e4272a04461fb833eb021bf94/pillow-11.2.1-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:738db0e0941ca0376804d4de6a782c005245264edaa253ffce24e5a15cbdc7bd", size = 3437470, upload-time = "2025-04-12T17:49:50.831Z" },
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|