Witcher 2 w2speech file
Posted: Fri Jan 25, 2013 12:03 pm
The w2speech files contain localized dialogue. It would be great to be able to extract a specific dialogue for use in mods (like the Witcher 2 experience in Skyrim).
Does anyone know what format the audio is stored?
(updates)
I think it's MPEG layer 2 @ 48000 (or at least it can be decoded as that). There are at least 21,568 individual samples in there.
A voice over (VO) in the game is referenced as:
VO_<1>_<2>_<3>
1 = id of voice tag
2 = ??? set or scene # ???
3 = line number
example:
VO_TRIS_300202_0343 (from q104_triss_interaction_oneliner.w2scene)
1 = Triss
2 = ??? (all voice overs in a scene usually have the same number e.g. 300202)
3 = Line_343
I'm having a hard time figuring out where that second number is stored. In scenes,it appears to be a set of related dialogues but I can't find a corresponding entry in the w2strings file. I also can't seem to find a reference for non-scene voice overs (like background chatter in a town).
I think I'm missing a mapping index that joins the two. It's possibly embedded in the w2speech file - there's about another 120MB or so that is unaccounted for. Any ideas/help?
Is anyone participating in the RedKit beta that could share some light?
Does anyone know what format the audio is stored?
(updates)
I think it's MPEG layer 2 @ 48000 (or at least it can be decoded as that). There are at least 21,568 individual samples in there.
A voice over (VO) in the game is referenced as:
VO_<1>_<2>_<3>
1 = id of voice tag
2 = ??? set or scene # ???
3 = line number
example:
VO_TRIS_300202_0343 (from q104_triss_interaction_oneliner.w2scene)
1 = Triss
2 = ??? (all voice overs in a scene usually have the same number e.g. 300202)
3 = Line_343
I'm having a hard time figuring out where that second number is stored. In scenes,it appears to be a set of related dialogues but I can't find a corresponding entry in the w2strings file. I also can't seem to find a reference for non-scene voice overs (like background chatter in a town).
I think I'm missing a mapping index that joins the two. It's possibly embedded in the w2speech file - there's about another 120MB or so that is unaccounted for. Any ideas/help?
Is anyone participating in the RedKit beta that could share some light?