Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/meguminsama/genshin-audio-extractor

Convert Genshin Impact audio files into a playable format
https://github.com/meguminsama/genshin-audio-extractor

audio converter game genshin impact mihoyo pc pck

Last synced: about 11 hours ago
JSON representation

Convert Genshin Impact audio files into a playable format

Awesome Lists containing this project

README

        

# Genshin Audio Extractor

## Usage

1. Extract your audio files from the Genshin Impact datafiles.

```
GenshinImpact_Data/StreamingAssets/Audio/GeneratedSoundBanks/Windows
```

Move the .pck files you want to extract into a folder. The files *must* be directly inside the folder - no subdirectories.

2. install dependencies

```bash
npm install
```

3. Run the program

```bash
node decode.js --input
```

The files in `` will be converted to .wav files inside `./output`.

## Options

You can pass an optional argument to export the audio in different formats.

Valid arguments are `flac`, `mp3` and `flacandmp3`

```bash
node decode.js --input flac --audio flac
```

Encoding details

```
flac: lossless, 16bit, 44100 sample rate
mp3: 320kbit/s, 44100 sample rate
```

### Todo:

- [ ] Clean up dependencies

- [ ] Cross-Platform (Win, Linux, OSX)

- [x] Multi-export support (FLAC, MP3, etc)

- [x] Automatically remove processed files once complete

- [x] Multithreading

- [ ] More?