Mafia 3 PCK script
-
- Posts: 14
- Joined: Wed Nov 09, 2016 1:07 am
Re: Mafia 3 PCK script
I managed to extract most of the .pck files in edit>audio>packages>english(us) however, I couldn't play the files preceded by fmv; I even tried to play them in ravioli explorer and got 2 error. Any help would be appreciated thanks.
-
- Posts: 14
- Joined: Wed Nov 09, 2016 1:07 am
Re: Mafia 3 PCK script
boumkwo wrote:I managed to extract most of the .pck files in edit>audio>packages>english(us) however, I couldn't play the files preceded by fmv; I even tried to play them in ravioli explorer and got 2 error. Any help would be appreciated thanks.
Nvm I figured it out . The fmv.wwise files contain cutscenes audio and most of them are multiple channels. I modified ner0's code and made a batch to convert .wwise to .ogg as his code wouldn't work on my PC for whatever reasons.
Code: Select all
for %%b in (*.WWISE) do ww2ogg.exe --pcb packed_codebooks_aoTuV_603.bin "%%b"
for %%c in (*.OGG) do revorb.exe "%%c"
del *.wwise
pause
exit
Make sure to include revorb.exe, ww2ogg.exe (used ww2ogg024), and packed_codebooks_aoTuV_603.bin in the folder containing your .wwise files for the batch to work.
-
- Posts: 15
- Joined: Sat Jan 16, 2016 9:53 pm
Re: Mafia 3 PCK script
boumkwo wrote:Nvm I figured it out . The fmv.wwise files contain cutscenes audio and most of them are multiple channels. I modified ner0's code and made a batch to convert .wwise to .ogg as his code wouldn't work on my PC for whatever reasons.
Batch is weird sometimes.
I have a vague memory of one script that would work on WinXP but then not on Win7 just because of the way if/else was chained together.
In your case I'm not sure but you seem to have made two adjustments; one is enclosing the variables inside quotes, which is the smart thing to do because paths might sometimes contain spaces and the quotes make it so that the path is interpreted as a single argument instead of two or more; secondly is the removal of the parenthesis, which is not needed if you only have one line of code in the block (as is the case). There is also the chance that it was a combination of both where the path or filename was not enclosed in quotes and if it contained parenthesis then it either would open another clause or close the first one prematurely. Anyway, you got it working and that's what matters.