From ffc6236dcad2fa73f07082a5dbd9243e436f8386 Mon Sep 17 00:00:00 2001 From: Marcel <65048232+dromzeh@users.noreply.github.com> Date: Sat, 20 Jan 2024 20:53:56 +0000 Subject: [PATCH] update readme with ogg support --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b15bb28..b867626 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,17 @@ # AnimeWwise -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. +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 # Usage 1. Get the repo by [downloading it](https://github.com/Escartem/WwiseExtract/archive/refs/heads/master.zip) or cloning it (`git clone https://github.com/Escartem/WwiseExtract`) -> ℹ️ This project uses ffmpeg version *3.4.2* which is the latest under 50Mb. But it is also slower, if you want to slightly improve extraction speed, consider updating the ffmpeg binary to a [newer version](https://github.com/BtbN/FFmpeg-Builds/releases) +> ℹ️ This project uses ffmpeg version *3.4.2* which is the latest under 50MB. But it is also slower, if you want to slightly improve extraction speed, consider updating the ffmpeg binary to a [newer version](https://github.com/BtbN/FFmpeg-Builds/releases) 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`. 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) +4. Start the program -> `python extract.py`. Use the `--ogg` argument to extract in `.ogg` format instead of `.mp3` +5. After finishing, everything will be in the *output* folder in your chosen format ---