1
0
mirror of https://github.com/Escartem/AnimeWwise.git synced 2026-06-05 07:50:23 +08:00
Files
AnimeWwise/README.md
2023-10-07 11:23:03 +02:00

20 lines
1.6 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# AnimeWwise
Extract audio from .pck and .hdiff to mp3 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.
# Usage
1. Get repo by cloning it -> `git clone https://github.com/Escartem/WwiseExtract` or [downloading it](https://github.com/Escartem/WwiseExtract/archive/refs/heads/master.zip)
2. Download the [`tools.zip`](https://github.com/Escartem/AnimeWwise/releases/latest/download/tools.zip) (or on the release page) and place it in the same folder as the project, this is to save up repo size when updating the tools
> The zip file will be automatically extracted on first launch, it just needs to be here
>
> ⚠️ Make sure to always use the latest tools and the latest project version to prevent errors
4. Install dependencies -> `pip install -r requirements.txt`
5. 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`
5. After finishing, everything will be in the *output* folder in the mp3 format (ogg may be added later)
---
### And that's pretty much it, if you have any issue, suggestion or anything just open an issue or create a pr :)