- 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.
- install dependencies
npm install- Run the program
node decode.js --input <your specified input>The files in <your specified input> will be converted to .wav files inside ./output.
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 flacEncoding details
flac: lossless, 16bit, 44100 sample rate
mp3: 320kbit/s, 44100 sample rate
-
Clean up dependencies
-
Cross-Platform (Win, Linux, OSX)
-
Multi-export support (FLAC, MP3, etc)
-
Automatically remove processed files once complete
-
Multithreading
-
More?