Important information: this site is currently scheduled to go offline indefinitely by end of the year.

wavescan.bms file names

Get help on any and all audio formats, or chip in and help others!
Post Reply
Maron19
n00b
Posts: 17
Joined: Sun Nov 05, 2017 3:22 pm

wavescan.bms file names

Post by Maron19 »

I wanted to extract the pck files from Life is Strange and I have a problem with the names of the extracted files. Wavescan.bms gives the name of the first tag it encounters at the specified location. Unfortunately, some files have the marker_silence tag.
File fragment:
[LIST�...adtllabl......DNE_WAV_MARKER_SILENCE..labl......DNE_WAV_MARKER_SPEAK..labl.......Cue_E1_2A_ArtClass_CHKate_Phase01_Max_011.data]
The file should be named like this:
[...Cue_E1_2A_ArtClass_CHKate_Phase01_Max_011.wav]
and not like this:
[...DNE_WAV_MARKER_SPEAK.wav]
Looking at the wavescan.bms file, I understand the general sense of creating a filename, but can anyone tell me what to do to have the program omit marker_silence when creating the filename? I include an example file and wavescan.bms
You do not have the required permissions to view the files attached to this post.
User avatar
ikskoks
Moderator
Posts: 1667
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 647 times
Been thanked: 431 times
Contact:

Re: wavescan.bms file names

Post by ikskoks »

It seems that this could be solved with "if" condition in the script.
Something like:

Code: Select all

if MNAME == "DNE_WAV_MARKER_SILENCE":
   callfunction retrievename2
But this should be probably raised in the Wwise Unpacker github repository.
https://github.com/Vextil/Wwise-Unpacker/
(if anyone is still active there)
or you should ask original author AlphaTwentyThree for update.
Maron19
n00b
Posts: 17
Joined: Sun Nov 05, 2017 3:22 pm

Re: wavescan.bms file names

Post by Maron19 »

Thanks for the answer. I wrote to the repository owner because there is an error when extracting the bnk file and the files only have the extension .wem and most of them are omitted. Unfortunately, another month passes and there is no answer. I need proper pck filenames because I want to do dubbing and I need to merge subtitles with wav files. Unfortunately, the program gives the name of the first marker it finds. If there is marker_silence it will be the name, not the real name of the file, which is a little further in the file. You have to somehow omit the silence markers to get the files properly named. Could I ask you to correct this bms file? Unfortunately, I don't know anything about quick bms...
User avatar
ikskoks
Moderator
Posts: 1667
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 647 times
Been thanked: 431 times
Contact:

Re: wavescan.bms file names

Post by ikskoks »

Sorry, it's not my script and I don't want to modify it without author's permission.
But I hope you'll find solution for your issue soon.
Maron19
n00b
Posts: 17
Joined: Sun Nov 05, 2017 3:22 pm

Re: wavescan.bms file names

Post by Maron19 »

Maybe send me a private message? People create something and then don't care about it, I'm not going to abandon my plans to create dubbing for this game for that. Nobody asked Square Enix for permission when creating the subtitles ...
User avatar
ikskoks
Moderator
Posts: 1667
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 647 times
Been thanked: 431 times
Contact:

Re: wavescan.bms file names

Post by ikskoks »

Ok, I think I came up with a workaround:

Code: Select all

if MNAME == "DNE_WAV_MARKER_SILENCE" or MNAME == "DNE_WAV_MARKER_SPEAK"
		For
			get NULL_BYTE byte
			get DUMMY long 
			get MSIZE long
			math MSIZE -= 4
			get DUMMY long 
			getDstring MNAME MSIZE
			if MNAME != "DNE_WAV_MARKER_SILENCE" and MNAME != "DNE_WAV_MARKER_SPEAK"
				break
			endif
		Next
		
   endif

Put my code between those two lines:

Code: Select all

getDstring MNAME MSIZE
string NAME += "~"
And let me know if it works for you.
Maron19
n00b
Posts: 17
Joined: Sun Nov 05, 2017 3:22 pm

Re: wavescan.bms file names

Post by Maron19 »

Cool, it seems that everything works :) After Lara Croft, I didn't think that someone here would help us with our hobby of translating games... I will certainly include you in the dubbing authors. I don't want to abuse your courtesy, but could you please give me any more hint on how to repack the files back to .pck? Even where to look for such information. I read that quick bms can also be used to pack files, but at the same time they must have the same sound parameters as the original.
User avatar
ikskoks
Moderator
Posts: 1667
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 647 times
Been thanked: 431 times
Contact:

Re: wavescan.bms file names

Post by ikskoks »

I will certainly include you in the dubbing authors.
Thank you :)
how to repack the files back to .pck?
I read that quick bms can also be used to pack files
Yes, quickbms has something called "reimport mode".
You can read more about it in documentation (section 3) http://aluigi.zenhax.com/papers/quickbms.txt

There are also some tutorials about that
https://www.google.com/search?client=fi ... t+tutorial
Post Reply