Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Genshin Impact Parse Error #18

Open
Mysticus92 opened this issue Jul 3, 2020 · 38 comments
Open

Genshin Impact Parse Error #18

Mysticus92 opened this issue Jul 3, 2020 · 38 comments

Comments

@Mysticus92
Copy link

Mysticus92 commented Jul 3, 2020

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
Copy link

Renari commented Oct 5, 2020

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

@mortalis13
Copy link

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
Copy link

yuuiko commented Oct 10, 2020

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
Copy link

Renari commented Oct 10, 2020

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
Copy link

yuuiko commented Oct 13, 2020

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
Copy link

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
Copy link

yuuiko commented Oct 16, 2020

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
Copy link

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.

@yuuiko
Copy link

yuuiko commented Oct 17, 2020

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
Copy link

mortalis13 commented Oct 17, 2020

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
Copy link

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
Copy link

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).

@Eleiyas
Copy link

Eleiyas commented Dec 12, 2020

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
Copy link

Shat-sky commented Jan 7, 2021

I'm interested a bit

@Eleiyas
Copy link

Eleiyas commented Jan 8, 2021

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
Copy link

Shat-sky commented Jan 9, 2021

of course I would be glad

@Eleiyas
Copy link

Eleiyas commented Jan 9, 2021

of course I would be glad

https://discord.gg/t4EBz4aY

@SurRival
Copy link

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
Copy link

Eleiyas commented Jan 25, 2021

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
Copy link

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
Copy link

Eleiyas commented Jan 25, 2021

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
Copy link

SurRival commented Jan 25, 2021 via email

@nierwyv
Copy link

nierwyv commented Feb 2, 2021

Can I join too?
Wyve#9659

@farsdewibs0n
Copy link

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
Copy link

kvlon commented Jul 19, 2021

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
Copy link

Eleiyas commented Aug 3, 2021

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
Copy link

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

@Swagsy
Copy link

Swagsy commented Aug 29, 2021

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

@Roachdaripper
Copy link

Roachdaripper commented Oct 25, 2021

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
Copy link

ricecracker12 commented Nov 5, 2021

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
Copy link

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

@doctorHOO
Copy link

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

@Eleiyas
Copy link

Eleiyas commented Feb 1, 2023

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

@doctorHOO
Copy link

doctorHOO commented Feb 2, 2023

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
Copy link

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
Copy link

Eleiyas commented Oct 25, 2023

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
Copy link

GrantsV1 commented Sep 14, 2024

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
Copy link

lmiol commented Sep 15, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests