PyCriCodecsEx 0.0.2__cp311-cp311-win32.whl → 0.0.5__cp311-cp311-win32.whl
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.
- CriCodecsEx.cp311-win32.pyd +0 -0
- PyCriCodecsEx/__init__.py +1 -1
- PyCriCodecsEx/acb.py +67 -29
- PyCriCodecsEx/adx.py +146 -4
- PyCriCodecsEx/awb.py +3 -3
- PyCriCodecsEx/chunk.py +0 -5
- PyCriCodecsEx/cpk.py +56 -50
- PyCriCodecsEx/hca.py +170 -27
- PyCriCodecsEx/usm.py +32 -266
- PyCriCodecsEx/utf.py +8 -24
- pycricodecsex-0.0.5.dist-info/METADATA +35 -0
- pycricodecsex-0.0.5.dist-info/RECORD +15 -0
- pycricodecsex-0.0.2.dist-info/METADATA +0 -86
- pycricodecsex-0.0.2.dist-info/RECORD +0 -15
- {pycricodecsex-0.0.2.dist-info → pycricodecsex-0.0.5.dist-info}/WHEEL +0 -0
- {pycricodecsex-0.0.2.dist-info → pycricodecsex-0.0.5.dist-info}/licenses/LICENSE +0 -0
- {pycricodecsex-0.0.2.dist-info → pycricodecsex-0.0.5.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: PyCriCodecsEx
|
|
3
|
+
Version: 0.0.5
|
|
4
|
+
Summary: Criware formats library for Python
|
|
5
|
+
Home-page: https://mos9527.github.io/PyCriCodecsEx/
|
|
6
|
+
Classifier: Programming Language :: Python :: 3
|
|
7
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
8
|
+
Classifier: Operating System :: OS Independent
|
|
9
|
+
Requires-Python: >=3.10
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
Provides-Extra: usm
|
|
13
|
+
Requires-Dist: ffmpeg-python; extra == "usm"
|
|
14
|
+
Dynamic: classifier
|
|
15
|
+
Dynamic: description
|
|
16
|
+
Dynamic: description-content-type
|
|
17
|
+
Dynamic: home-page
|
|
18
|
+
Dynamic: license-file
|
|
19
|
+
Dynamic: provides-extra
|
|
20
|
+
Dynamic: requires-python
|
|
21
|
+
Dynamic: summary
|
|
22
|
+
|
|
23
|
+
PyCriCodecsEx
|
|
24
|
+
---
|
|
25
|
+
A continuation of @Youjose's work on Criware formats. Feautres are still in flux and subject to change. When in doubt, Refer to the [original repo](https://github.com/Youjose/PyCriCodecs) for more information.
|
|
26
|
+
|
|
27
|
+
Detailed documentation, installation instructions are available at https://mos9527.com/PyCriCodecsEx
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# Credits
|
|
31
|
+
- https://github.com/Youjose/PyCriCodecs
|
|
32
|
+
- https://github.com/Mikewando/PyCriCodecs ([PR#1 on USM](https://github.com/mos9527/PyCriCodecsEx/pull/1))
|
|
33
|
+
- https://github.com/donmai-me/WannaCRI
|
|
34
|
+
- https://github.com/vgmstream/vgmstream
|
|
35
|
+
- https://github.com/K0lb3/UnityPy (For CI script)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
CriCodecsEx.cp311-win32.pyd,sha256=utqg-ZTGJ_GqKaTDTGmxmUmITU1z6rlGwWyIJIRfM1U,68608
|
|
2
|
+
PyCriCodecsEx/__init__.py,sha256=vucW-Fe97d2P_nl7TMRJ2Cp458lb7VTRk6EckM_ozdM,23
|
|
3
|
+
PyCriCodecsEx/acb.py,sha256=_YpxIsdWW9vgz0KefKkb8zFnc2WKUwSTDqtgYaPDKp0,11956
|
|
4
|
+
PyCriCodecsEx/adx.py,sha256=LHr1YjVv6W0yzm1ZIGw54bM7rDW-Qozci0_GS8J4CrE,6130
|
|
5
|
+
PyCriCodecsEx/awb.py,sha256=SCTkKvn855bpr1I8Kq24P1es89I2unJaEGgDw7hg1Do,6395
|
|
6
|
+
PyCriCodecsEx/chunk.py,sha256=xmc92tONmXpdbOW2g-KckTeppTXFo8Km0J95UYbbvQg,2810
|
|
7
|
+
PyCriCodecsEx/cpk.py,sha256=er_eBLMG8eiXUvYp0h_lDWLN8Vx8CCDJ8COE9B5Rv_A,38125
|
|
8
|
+
PyCriCodecsEx/hca.py,sha256=TokIvd8IENZXxBw_3Na_o6vAoKvC8m_ooWIQ4qhmUqk,19603
|
|
9
|
+
PyCriCodecsEx/usm.py,sha256=Z6ETFy98Gl0KFot9zRE7Qg8_Dv9wsFUFybZgFvVXT_U,37173
|
|
10
|
+
PyCriCodecsEx/utf.py,sha256=0LBzpIbJiyL_4KOf_QpEJytr3PbHj8_M4Bd-Lay4wuk,28247
|
|
11
|
+
pycricodecsex-0.0.5.dist-info/licenses/LICENSE,sha256=B47Qr_82CmMyuL-wNFAH_P6PNJWaonv5dxo9MfgjEXw,1083
|
|
12
|
+
pycricodecsex-0.0.5.dist-info/METADATA,sha256=h3K2wCbl1h3WyL5-7AU6dFeW9hIxKcR3_FlFnf7KJWc,1291
|
|
13
|
+
pycricodecsex-0.0.5.dist-info/WHEEL,sha256=Ri8zddKrjGdgjlj1OpSsvpDnvHfnQhMQWi3E_v2pqng,97
|
|
14
|
+
pycricodecsex-0.0.5.dist-info/top_level.txt,sha256=mSrrEse9hT0s6nl-sWAQWAhNRuZ6jo98pbFoN3L2MXk,26
|
|
15
|
+
pycricodecsex-0.0.5.dist-info/RECORD,,
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: PyCriCodecsEx
|
|
3
|
-
Version: 0.0.2
|
|
4
|
-
Summary: Criware formats library for Python
|
|
5
|
-
Home-page: https://github.com/mos9527/PyCriCodecsEx
|
|
6
|
-
Classifier: Programming Language :: Python :: 3
|
|
7
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
8
|
-
Classifier: Operating System :: OS Independent
|
|
9
|
-
Requires-Python: >=3.10
|
|
10
|
-
Description-Content-Type: text/markdown
|
|
11
|
-
License-File: LICENSE
|
|
12
|
-
Provides-Extra: usm
|
|
13
|
-
Requires-Dist: ffmpeg-python; extra == "usm"
|
|
14
|
-
Dynamic: classifier
|
|
15
|
-
Dynamic: description
|
|
16
|
-
Dynamic: description-content-type
|
|
17
|
-
Dynamic: home-page
|
|
18
|
-
Dynamic: license-file
|
|
19
|
-
Dynamic: provides-extra
|
|
20
|
-
Dynamic: requires-python
|
|
21
|
-
Dynamic: summary
|
|
22
|
-
|
|
23
|
-
# PyCriCodecsEx
|
|
24
|
-
A continuation of @Youjose's work on Criware formats. Feautres are still in flux and subject to change. When in doubt, Refer to the [original repo](https://github.com/Youjose/PyCriCodecs) for more information.
|
|
25
|
-
|
|
26
|
-
# Installation
|
|
27
|
-
```bash
|
|
28
|
-
pip install PyCriCodecsEx
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
For USM features, you need `ffmpeg` installed and available in your PATH. See also https://github.com/kkroening/ffmpeg-python?tab=readme-ov-file#installing-ffmpeg
|
|
32
|
-
|
|
33
|
-
## Features
|
|
34
|
-
If not otherwise mentioned, all features marked with [x] are considered working, and has been verified with official tools.
|
|
35
|
-
|
|
36
|
-
Examples are available in [Tests](https://github.com/mos9527/PyCriCodecsEx/tree/main/Tests)
|
|
37
|
-
|
|
38
|
-
### ACB Cue sheets (also AWB)
|
|
39
|
-
- [x] Cue extraction support for most ACBs
|
|
40
|
-
- [x] Cue waveform(s) encoding with ADX/HCA support
|
|
41
|
-
- [x] Comprehensive Cue metadata editing support (via Python API)
|
|
42
|
-
|
|
43
|
-
### USM Sofdec2 (Encode & Decode)
|
|
44
|
-
#### Audio Stream
|
|
45
|
-
For audio to be muxed in, you need a PCM WAV sample with NO metadata, which can be produced with e.g.:
|
|
46
|
-
```bash
|
|
47
|
-
ffmpeg -i input.mp3 -vn -c:a pcm_s16le -map_metadata -1 output.wav
|
|
48
|
-
```
|
|
49
|
-
Decoding and Encoded format can be the following:
|
|
50
|
-
- [x] HCA
|
|
51
|
-
- [x] ADX
|
|
52
|
-
#### Video Stream
|
|
53
|
-
**NOTE**: You definitely want to tweak these encode settings a bit.
|
|
54
|
-
- [x] Sofdec Prime (MPEG1, from `.m1v` container)
|
|
55
|
-
- Prepare source file with: `ffmpeg -i <input_file> -c:v mpeg1video -an <output_file>.m1v`
|
|
56
|
-
- [x] H264 (from `.h264` raw container)
|
|
57
|
-
- Prepare source file with: `ffmpeg -i <input_file> -c:v libx264 -an <output_file>.h264`
|
|
58
|
-
- [x] VP9 (from `.ivf` container)
|
|
59
|
-
- Prepare source file with: `ffmpeg -i <input_file> -c:v libvpx -an <output_file>.ivf`
|
|
60
|
-
### HCA Audio Codec
|
|
61
|
-
- [x] Decoding (up to version 3.0)
|
|
62
|
-
- [x] Encoding (up to version 3.0)
|
|
63
|
-
### ADX Audio Codec
|
|
64
|
-
- [x] Decoding
|
|
65
|
-
- [x] Encoding
|
|
66
|
-
### CPK
|
|
67
|
-
- [x] Unpacking
|
|
68
|
-
- [x] Packing
|
|
69
|
-
|
|
70
|
-
## Roadmap
|
|
71
|
-
- [x] ACB Extraction (Massive TODO. see also https://github.com/mos9527/PyCriCodecsEx/blob/main/Research/ACBSchema.py)
|
|
72
|
-
- [ ] Interface for encode tasks (CLI then maybe GUI?)
|
|
73
|
-
- [ ] Documentation
|
|
74
|
-
- [ ] C/C++ port + FFI
|
|
75
|
-
## Currently Known Bugs
|
|
76
|
-
- USM seeking does not work. Though most games don't use it anyways.
|
|
77
|
-
- Not important, and might not fix: ADX encoding and decoding at higher bitdepths (11-15) adds popping noise.
|
|
78
|
-
- Some CPK's that has the same filename for every file in the entry will overwrite each other.
|
|
79
|
-
- Probably many more I am unaware of, report if you find any.
|
|
80
|
-
|
|
81
|
-
# Credits
|
|
82
|
-
- https://github.com/Youjose/PyCriCodecs
|
|
83
|
-
- https://github.com/Mikewando/PyCriCodecs ([PR#1 on USM](https://github.com/mos9527/PyCriCodecsEx/pull/1))
|
|
84
|
-
- https://github.com/donmai-me/WannaCRI
|
|
85
|
-
- https://github.com/vgmstream/vgmstream
|
|
86
|
-
- https://github.com/K0lb3/UnityPy (For CI script)
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
CriCodecsEx.cp311-win32.pyd,sha256=BE9UOBaOhsK7_-8d_dZhyqyBQDZP4KTg0mk1h_SxCPA,68096
|
|
2
|
-
PyCriCodecsEx/__init__.py,sha256=j7895T8JfsWQAOvxm8SAdESs5iFmIuAqKpyfjSAfKZ4,23
|
|
3
|
-
PyCriCodecsEx/acb.py,sha256=vNPiGW1S0pkdWjcegTWId4C0suUCeX-kfFXUWuRnB-w,10352
|
|
4
|
-
PyCriCodecsEx/adx.py,sha256=KnL4wy1ccoc6uHYZVino7cJQB2pMn4BbRhpH3r527TY,777
|
|
5
|
-
PyCriCodecsEx/awb.py,sha256=sWUo5ITERYG504YVe9ejDYMM-bpLB31Ny4X-7rmmWlQ,6296
|
|
6
|
-
PyCriCodecsEx/chunk.py,sha256=quk9VicOfp-_PgmcjyLL9rCIZQG8DhophXQZWpqfEUw,2925
|
|
7
|
-
PyCriCodecsEx/cpk.py,sha256=sLFUGtG1yuwNC4puyp_TOgkhv1qnRGxVQu4ctlqXeUQ,37932
|
|
8
|
-
PyCriCodecsEx/hca.py,sha256=ArZAaHogejBRE2rWEkTt8lS993Wf4SkjkjhNTo5Anqs,14550
|
|
9
|
-
PyCriCodecsEx/usm.py,sha256=t2V98eno_beVuvU1tbuaFe4p7OohwROiUerMDHhPhEw,45107
|
|
10
|
-
PyCriCodecsEx/utf.py,sha256=YWvgpgLy1tdhVWvRe4pbiJZFxnBRHdtQiR6xEetLsGk,28819
|
|
11
|
-
pycricodecsex-0.0.2.dist-info/licenses/LICENSE,sha256=B47Qr_82CmMyuL-wNFAH_P6PNJWaonv5dxo9MfgjEXw,1083
|
|
12
|
-
pycricodecsex-0.0.2.dist-info/METADATA,sha256=CAVs16QnoaoIrn8_PJH2w8wM64DTiIXNfxMUvCb-ZN0,3438
|
|
13
|
-
pycricodecsex-0.0.2.dist-info/WHEEL,sha256=Ri8zddKrjGdgjlj1OpSsvpDnvHfnQhMQWi3E_v2pqng,97
|
|
14
|
-
pycricodecsex-0.0.2.dist-info/top_level.txt,sha256=mSrrEse9hT0s6nl-sWAQWAhNRuZ6jo98pbFoN3L2MXk,26
|
|
15
|
-
pycricodecsex-0.0.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|