Vextil / Wwise-Unpacker

Unpack game audio Wwise files (pck, bnk)
640 stars 109 forks source link

Genshin Impact Parse Error #18

Open LuckyMage92 opened 4 years ago

LuckyMage92 commented 4 years ago

I tried extracting the .pck file from Genshin Impact, but I get this error. "Parse error: expected 0x42 fmt if vorb missing" Could you please fix it? External12.zip

Renari commented 4 years ago

I'm assuming the files are encrypted, if you dump the wav files none of them are playable.

mortalis13 commented 4 years ago

Check the fork I've created: https://github.com/mortalis13/Wwise-Unpacker

It has "Unpack to WAV" script that will convert the extracted audio to audio WAV files. The files created in Tools\Decoding\ are not exactly WAV files, that's why they are not playable. I renamed them to WEM, as it should be the extension for the Audiokinetic Wwise audio files.

yuuiko commented 4 years ago

I tried extracting the .pck file from Genshin Impact, but I get this error. "Parse error: expected 0x42 fmt if vorb missing" Could you please fix it? External12.zip

@Mysticus92 Where did you find this pak file? I'm having issues extracting too but it seems to be my paks that are the issue not the programs

Renari commented 4 years ago

I tried extracting the .pck file from Genshin Impact, but I get this error. "Parse error: expected 0x42 fmt if vorb missing" Could you please fix it? External12.zip

@Mysticus92 Where did you find this pak file? I'm having issues extracting too but it seems to be my paks that are the issue not the programs

Use mortalis13's fork.

yuuiko commented 4 years ago

Use mortalis13's branch.

For me the pak is the issue, I've tried the External12 provided pak and mortalis13's branch worked, but with my own paks it did not.

Try the one I provided.

Music9.pck.zip

mortalis13 commented 4 years ago

The PCK file you've provided contains 3 files with these durations:

01:28
00:00 (less that 1 s)
01:23

Do you have problems converting it to WAV?

yuuiko commented 4 years ago

The PCK file you've provided contains 3 files with these durations:

01:28
00:00 (less that 1 s)
01:23

Do you have problems converting it to WAV?

Thanks for your response, Wwise can successfully detect the files, but it seems that it is having trouble converting them to actual audio files. The same issue occurs with your script. Were you able to successfully extract and play back audio files?

I've also tried various other pak extractors (about four different ones), though every one of them had errors extracting as well. I suspect the pak file itself has something different in it

mortalis13 commented 4 years ago

Yes, I've extracted WAV files and was able to play them back.

What I did:

The 3 files are .wav and should be playable with any audio player. You can also convert them to MP3 if you like but that's optional as you already have the raw extracted data.

If you have any errors post the console output here.

yuuiko commented 4 years ago

Yes, I've extracted WAV files and was able to play them back.

What I did:

  • put the Music9.pck file to the Game Files folder
  • run the Unpack to WAV.bat
  • check the WAV folder after the script finished, it contains 3 extracted files

The 3 files are .wav and should be playable with any audio player. You can also convert them to MP3 if you like but that's optional as you already have the raw extracted data.

If you have any errors post the console output here.

I just tried the exact same thing on another PC, but it also didn't work. It returned the tornado but no audio files. Am I missing a dependancy like ffmpeg? how would I find the console output?

Further, processing the entire batch of pak files makes the script keep scanning in a loop, never reaching the tornado or starting to convert files

mortalis13 commented 4 years ago

Try to download the repo to another folder, to start from a fresh point. And I'd start with only 1 PCK file and if the extraction works, add more files.

The console output can be copied from the Windows console when you double click the Unpack to WAV.bat it opens a console window. When the script reaches the end (the tornado) it waits until you press Y/N to remove the source files.

Before closing the window, select the window menu (press the upper-left icon), then Edit -> Select All, then press Enter to copy the selected text.

Xikari789 commented 4 years ago

I was able to get the playable .wav files using mortalis13's branch, but most of the voice lines seem to be cut off right at the end, is this an unpacker issue or what.

I'm trying to get voice lines for a music project.

mortalis13 commented 4 years ago

The project uses external tools for decoding files:

Maybe the wavescan.bms needs an update for the files of this game or the vgmstream tool needs some specific parameters.
Or if the tools do their job as they should, then maybe the game files are encoded this way (e.g., the endings of some voice audio are in another files and the game combines the pieces during the gameplay).

Eleiyas commented 3 years ago

I was able to get the playable .wav files using mortalis13's branch, but most of the voice lines seem to be cut off right at the end, is this an unpacker issue or what.

I'm trying to get voice lines for a music project.

The project uses external tools for decoding files:

  • quickbms.exe wich executes a custom script wavescan.bms (this creates Audiokinetic Wwise (WEM) audio files, as I understand these are not playable by audio players)
  • vgmstream-cli.exe converts WEM files to WAV's

Maybe the wavescan.bms needs an update for the files of this game or the vgmstream tool needs some specific parameters. Or if the tools do their job as they should, then maybe the game files are encoded this way (e.g., the endings of some voice audio are in another files and the game combines the pieces during the gameplay).

vgmstream-cli.exe needs an update, that is all. we (there's a group of us ripping genshins audio), had this issue, but after updating vgmstream, it works fine.

@mortalis13 - the files in genshin, unlike the example on OP of "life is strange" are not named at all and come out as "pack#_track#" have you found anyway of de-obfuscating the file names?

Also, if anyone on this thread wants to help us, please reply to this and I'll pop a discord invite. We are ripping all audio in the game and cataloguing it. It's lengthy work, but it's quite fun.

Shat-sky commented 3 years ago

I'm interested a bit

Eleiyas commented 3 years ago

I'm interested a bit

we've now got programs that can completely uncover the filenames for Genshin's audio, if you're still interested.

Shat-sky commented 3 years ago

of course I would be glad

Eleiyas commented 3 years ago

of course I would be glad

https://discord.gg/t4EBz4aY

SurRival commented 3 years ago

May I have an invite as well? I'm looking to extract a certain voice or politely ask for information on how to extract things.

Eleiyas commented 3 years ago

May I have an invite as well? I'm looking to extract a certain voice or politely ask for information on how to extract things.

depends what you want, I can just send you the files if it's 1 or 2.

SurRival commented 3 years ago

Oh, just Klee's death where's she says, "yay, I did it." Knowing where certain voices in the .pck are located so I can do it myself is also a plus if I want something later. But the one file would be great, thanks!

Eleiyas commented 3 years ago

Oh, just Klee's death where's she says, "yay, I did it." Knowing where certain voices in the .pck are located so I can do it myself is also a plus if I want something later. But the one file would be great, thanks!

As we have a few members now and this is better kept under-wraps, I'd like to invite people personally, so if you can post your discord handle, i'll dm it.

SurRival commented 3 years ago

SurRival#3915

On Mon, 25 Jan 2021 at 02:42, Eleiyas notifications@github.com wrote:

Oh, just Klee's death where's she says, "yay, I did it." Knowing where certain voices in the .pck are located so I can do it myself is also a plus if I want something later. But the one file would be great, thanks!

As we have a few members now and this is better kept under-wraps, I'd like to invite people personally, so if you can post your discord handle, i'll dm it.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Vextil/Wwise-Unpacker/issues/18#issuecomment-766724377, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASSZRMURUQYNETPUDLRGGXDS3VDIXANCNFSM4OP7EELA .

nierwyv commented 3 years ago

Can I join too? Wyve#9659

farsdewibs0n commented 3 years ago

I was able to get the playable .wav files using mortalis13's branch, but most of the voice lines seem to be cut off right at the end, is this an unpacker issue or what. I'm trying to get voice lines for a music project.

The project uses external tools for decoding files:

  • quickbms.exe wich executes a custom script wavescan.bms (this creates Audiokinetic Wwise (WEM) audio files, as I understand these are not playable by audio players)
  • vgmstream-cli.exe converts WEM files to WAV's

Maybe the wavescan.bms needs an update for the files of this game or the vgmstream tool needs some specific parameters. Or if the tools do their job as they should, then maybe the game files are encoded this way (e.g., the endings of some voice audio are in another files and the game combines the pieces during the gameplay).

vgmstream-cli.exe needs an update, that is all. we (there's a group of us ripping genshins audio), had this issue, but after updating vgmstream, it works fine.

@mortalis13 - the files in genshin, unlike the example on OP of "life is strange" are not named at all and come out as "pack#_track#" have you found anyway of de-obfuscating the file names?

Also, if anyone on this thread wants to help us, please reply to this and I'll pop a discord invite. We are ripping all audio in the game and cataloguing it. It's lengthy work, but it's quite fun.

jimBo#3046

kvlon commented 3 years ago

Oh, just Klee's death where's she says, "yay, I did it." Knowing where certain voices in the .pck are located so I can do it myself is also a plus if I want something later. But the one file would be great, thanks!

As we have a few members now and this is better kept under-wraps, I'd like to invite people personally, so if you can post your discord handle, i'll dm it.

Could I join too? 😊 Kalon#6347

Eleiyas commented 3 years ago

I was able to get the playable .wav files using mortalis13's branch, but most of the voice lines seem to be cut off right at the end, is this an unpacker issue or what. I'm trying to get voice lines for a music project.

The project uses external tools for decoding files:

  • quickbms.exe wich executes a custom script wavescan.bms (this creates Audiokinetic Wwise (WEM) audio files, as I understand these are not playable by audio players)
  • vgmstream-cli.exe converts WEM files to WAV's

Maybe the wavescan.bms needs an update for the files of this game or the vgmstream tool needs some specific parameters. Or if the tools do their job as they should, then maybe the game files are encoded this way (e.g., the endings of some voice audio are in another files and the game combines the pieces during the gameplay).

vgmstream-cli.exe needs an update, that is all. we (there's a group of us ripping genshins audio), had this issue, but after updating vgmstream, it works fine. @mortalis13 - the files in genshin, unlike the example on OP of "life is strange" are not named at all and come out as "pack#_track#" have you found anyway of de-obfuscating the file names? Also, if anyone on this thread wants to help us, please reply to this and I'll pop a discord invite. We are ripping all audio in the game and cataloguing it. It's lengthy work, but it's quite fun.

jimBo#3046

Oh, just Klee's death where's she says, "yay, I did it." Knowing where certain voices in the .pck are located so I can do it myself is also a plus if I want something later. But the one file would be great, thanks!

As we have a few members now and this is better kept under-wraps, I'd like to invite people personally, so if you can post your discord handle, i'll dm it.

Could I join too? 😊 Kalon#6347

I now datamine for the Genshin Fandom Wiki solely. All the assets are on there, including in-game textures, sprites and everything. If you need any audio files they are also on the wiki. If you do need to contact me, I can be contacted either through the Wiki Discord or a message on my Wiki wall.

UltraXDZN commented 3 years ago

I wanna join... I wanna put the Emiya theme as my main game theme someone help me plz. Discord ID: UltraX#4985

Swagsy commented 3 years ago

I'm with Ultra lol invite as well please if possible: Swagsy#8614

Roachdaripper commented 3 years ago

butch# 0125 this would be super helpful to know things like this, i'm trying to find enemy audio like the abyss lector's voicelines, since my only option right now is turning off music and voice and just recording all sound effects and trying to filter out enemy voices through audacity

ricecracker12 commented 3 years ago

I was able to get the playable .wav files using mortalis13's branch, but most of the voice lines seem to be cut off right at the end, is this an unpacker issue or what. I'm trying to get voice lines for a music project.

The project uses external tools for decoding files:

  • quickbms.exe wich executes a custom script wavescan.bms (this creates Audiokinetic Wwise (WEM) audio files, as I understand these are not playable by audio players)
  • vgmstream-cli.exe converts WEM files to WAV's

Maybe the wavescan.bms needs an update for the files of this game or the vgmstream tool needs some specific parameters. Or if the tools do their job as they should, then maybe the game files are encoded this way (e.g., the endings of some voice audio are in another files and the game combines the pieces during the gameplay).

vgmstream-cli.exe needs an update, that is all. we (there's a group of us ripping genshins audio), had this issue, but after updating vgmstream, it works fine.

@mortalis13 - the files in genshin, unlike the example on OP of "life is strange" are not named at all and come out as "pack#_track#" have you found anyway of de-obfuscating the file names?

Also, if anyone on this thread wants to help us, please reply to this and I'll pop a discord invite. We are ripping all audio in the game and cataloguing it. It's lengthy work, but it's quite fun.

can i join too? Trollerr#4495

BobKamui commented 2 years ago

I'd like to join too becuase I'm trying to dig out the audio and use it on something else BobTheLobster#2629

doctorHOO commented 1 year ago

ShadowDweller#2375, would like to join as well. Looking for a couple of specific sound effects.

Eleiyas commented 1 year ago

As I said previously, everything is on the Fandom Wiki now.

doctorHOO commented 1 year ago

As I said previously, everything is on the Fandom Wiki now.

I could use some hints or help locating a sound corresponding to an "Elemental Energy Full" (or "Q ready") event. No luck so far.

atherton103 commented 1 year ago

gonna

Oh, just Klee's death where's she says, "yay, I did it." Knowing where certain voices in the .pck are located so I can do it myself is also a plus if I want something later. But the one file would be great, thanks!

As we have a few members now and this is better kept under-wraps, I'd like to invite people personally, so if you can post your discord handle, i'll dm it.

mulvaney <-(discord) I'm aware that most stuff is on the wiki, but there is many sound effects that do not appear to be there (plus certain multi-language lines)

Eleiyas commented 1 year ago

gonna

Oh, just Klee's death where's she says, "yay, I did it." Knowing where certain voices in the .pck are located so I can do it myself is also a plus if I want something later. But the one file would be great, thanks!

As we have a few members now and this is better kept under-wraps, I'd like to invite people personally, so if you can post your discord handle, i'll dm it.

mulvaney <-(discord) I'm aware that most stuff is on the wiki, but there is many sound effects that do not appear to be there (plus certain multi-language lines)

We have multiple wiki editors doing the event audio and it's extremely painful - however most enemy grunts/attack, etc noises are on the wiki and most of them are in all 4 voice-over languages.

As for everything else, every character has full sets of VO on the Wiki in English,Chinese,Japanese and Korean.

Archon Quest/Story Quest, etc voice-overs are only uploaded in English, but I have them extracted in all 4 languages. If you need a specific line, hit me up on discord.

GrantsV1 commented 2 months ago

gonna

Oh, just Klee's death where's she says, "yay, I did it." Knowing where certain voices in the .pck are located so I can do it myself is also a plus if I want something later. But the one file would be great, thanks!

As we have a few members now and this is better kept under-wraps, I'd like to invite people personally, so if you can post your discord handle, i'll dm it.

mulvaney <-(discord) I'm aware that most stuff is on the wiki, but there is many sound effects that do not appear to be there (plus certain multi-language lines)

We have multiple wiki editors doing the event audio and it's extremely painful - however most enemy grunts/attack, etc noises are on the wiki and most of them are in all 4 voice-over languages.

As for everything else, every character has full sets of VO on the Wiki in English,Chinese,Japanese and Korean.

Archon Quest/Story Quest, etc voice-overs are only uploaded in English, but I have them extracted in all 4 languages. If you need a specific line, hit me up on discord.

Hello, im also intrested would it be possible for me to join also? grants / Grants#0651 <-Discord

lmiol commented 1 month ago

hi interesting is a possible to decode wav or ogg to wem without project or else?