MeguminSama / genshin-audio-extractor

Convert Genshin Impact audio files into a playable format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

  1. install dependencies
npm install
  1. Run the program
node decode.js --input <your specified input>

The files in <your specified input> 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

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)

  • Multi-export support (FLAC, MP3, etc)

  • Automatically remove processed files once complete

  • Multithreading

  • More?

About

Convert Genshin Impact audio files into a playable format


Languages

Language:JavaScript 100.0%