1
0
mirror of https://github.com/Escartem/AnimeWwise.git synced 2026-06-09 02:01:32 +08:00

add --ogg support

This commit is contained in:
Marcel
2024-01-20 19:50:52 +00:00
parent 9cdfc66426
commit 0b7abc36a7
2 changed files with 45 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
# AnimeWwise
Extract audio from .pck and .hdiff to mp3 including original filenames with this tool. It can in theory extract any pck or hdiff file from any game even though it was made for Genshin Impact. There are others tools that do the same but none of them were working so I just made my own.
Extract audio from .pck and .hdiff to mp3 or ogg including original filenames with this tool. It can in theory extract any pck or hdiff file from any game even though it was made for Genshin Impact. There are others tools that do the same but none of them were working so I just made my own.
⚠️ Only audio from genshin will be exported with original filenames, and the coverage is very low, don't except every file to have a name
@@ -10,7 +10,7 @@ Extract audio from .pck and .hdiff to mp3 including original filenames with this
2. Install dependencies -> `pip install -r requirements.txt`
3. Place all of your `.pck` files in the *audio* folder and `.pck.hdiff` in the *patch* folder
> ⚠️ If you want to extract an hdiff content, you must place the pck file with the *same name before patch* in the *audio* folder, pck's that do not have a corresponding hdiff file will be extracted normally, when they do have a corresponding hdiff file, *only the hdiff file content is extracted* and not the full pck
4. Start the program -> `python extract.py`
4. Start the program -> `python extract.py`. Parse `--ogg` to extract in ogg format instead of mp3
5. After finishing, everything will be in the *output* folder in the mp3 format (ogg may be added later)
---