how to use ww2ogg08 by Masherdude at 10:47 AM EDT on April 12, 2010
Hey guys,
I want to extract the saboteur sounds that are on my pc. But i can't seem to do it, the files are pck and all the software that i've tried doesn't seem to work.

The 'ww2ogg08' doesn't do anything when i click on it, it just flashes up a black box and disappears.

I have looked into some of the things such as vgm stream and software called Wwise for the saboteur game sounds. But none of it makes any sense and the tutorials don't make any sense to me. If any one can explain to me how to do this, it would be greatly appreciated.

Thanks
Ryan
by hcs at 11:56 AM EDT on April 12, 2010
ww2ogg is a command line program, it has no other user interface. Unfortunately there are also a few other things you need to do to get the files out of the .pck archives. aluigi has a QuickBMS script to extract stuff from .pck, but after that you also need to dig into that files to find the RIFF that ww2ogg actually deals with.

I wrote this up, but unfortunately it isn't going to help you until you have a .wav:
1. extract the ww2ogg.exe file (copy out of the ww2ogg08.zip)
2. right click the .exe, select Create Shortcut
3. right click the "Shortcut to ww2ogg.exe" file that's created, select Properties
4. Add --full-setup to the end of the Target field. For example, if it was originally:
"C:\Documents and Settings\Bozo\Desktop\ww2ogg.exe"
change it to:
"C:\Documents and Settings\Bozo\Desktop\ww2ogg.exe" --full-setup
5. Drag a wav onto the exe

Further unfortunately, you'll have to do this for each file. Maybe someone can put together a batch for you.
by arbingordon at 1:28 PM EDT on April 12, 2010
for %a in (*.wav) do ww2ogg --fullsetup "%a"
have all the wavs, and ww2ogg.exe in the same folder, then run that from the command prompt
(the current directory of which, is the one containing all the .wavs and ww2ogg.exe)
by Mouser X at 1:44 PM EDT on April 12, 2010
If he doesn't know what a command-line tool is, I doubt that he knows how to open the command prompt. To do every file in a directory, do the following:

1. Create a *.bat file (right-click, go to "new" and create a text file. It should open in "Notepad"). You'll have to make sure that when you save the file, it's saved as "<name>.bat" and not "<name>.bat.txt" (note: "<name>" can be replaced with any file name. Probably something like "convert"). If you can't see the extensions of the file names, then you won't be able to properly rename the batch file, unless you do it from the command prompt.

2. Inside the batch file (inside "convert.bat" if that's what you've named it), put in [FOR %%a in (*.wav) do ww2ogg --fullsetup "%%a"], excluding the "[]" characters. Save this (with the .bat extension, of course).

3. Put the *.bat file, and the ww2ogg.exe file in the directory with all of your *.wav files that you want to convert. Then, double-click the *.bat file, and it should run everything through the ww2ogg.exe program.

This should accomplish the task you're trying to go for. However, as HCS already mentioned, you're going to need to extract the *.wav files first before any of this is really useful. With that, I can't really help much. Sorry. Mouser X over and out.
QuickBMS by Masherdude at 4:24 PM EDT on April 12, 2010
I'm on QuickBMS but i don't think im finding the correct script for the program when i'm looking. I found one for QuickBMS that said pck next to it. But its exporting random 0000004f ect.. in a .DAT file format, i doesn't seem correct and its been going on for ages. When i try and open the files with Notepad i get aload of jibberish.

Ahhhhh, this is all very confusing. How can i get them as wav or mp3? and i can't even seem to export the 'Saboteur.pck' file in QuickBMS as i don't think i am using the correct script when it asks me for one.

???
by hcs at 4:29 PM EDT on April 12, 2010
What would be easiest is to find a program that extracts RIFF chunks, then run those through ww2ogg using the script Mouser describes.
Does anyone know a good RIFF extractor? I guess vgmtoolbox would fit the bill, but I couldn't walk you through using it.
QuickBMS by Masherdude at 4:41 PM EDT on April 12, 2010
okay i can try that but the thing is, When i open QuickBMS and it asks you to select a script i downloaded one from the aluigi site that said 'GunMetal (*.pck)' i used that one as it said pck like the saboteur one. Is this the correct script to be using and should the output be .DAT file. As im really unsure.

Thanks
by hcs at 5:11 PM EDT on April 12, 2010
No, that is not the right script. pck is a common extension, note that there are two others in that list, though none of them are for this game.
Here's the QuickBMS script for The Saboteur .pck on XeNTaX.

But again, this doesn't give the RIFF by itself, and ww2ogg doesn't support specifying an offset, so you won't be able to directly use the extracted files.
QuickBMS by Masherdude at 5:37 PM EDT on April 12, 2010
Okay i am now extracting the files from 'Saboteur.pck' using the script for the saboteur that i put into notepad and used. I have got all the files from the extraction now. They are all .DAT files, is this correct? if so what would be best to do now.

Thanks alot hcs for your help this far
QuickBMS by Masherdude at 5:40 PM EDT on April 12, 2010
No sorry, they are actually BKH files, is this correct? Some of them just show as microsoft wave sound format. Is this right? What next?
by Mouser X at 5:57 PM EDT on April 12, 2010
Personally, I would run them through the ww2ogg.exe program (see above posts), and see what happens. Maybe you'll get lucky, and it'll simply work! If that doesn't work, then it sounds to me like your other best option would be to use VGMToolBox, and extract each RIFF segment from the original "Saboteur.pck" file. Unfortunately, I've never used VGMToolBox, so I couldn't tell you how to use that to extract the RIFF stuffs.

Also, yes, you've extracted the files from the "Saboteur.pck" file. The *.BKH extension is either what the *.PCK file said it contains, or it's the extension that the QuickBMS script used when it extracted the files. Either way, as near as I can tell, it sounds like it worked as expected (I've never used QuickBMS, but I know what it is, and it sounds like it worked, as far as I know). Now that you have the files, the ww2ogg.exe needs you to send it the data. The problem (as it sounds to me) is that the data that ww2ogg.exe expects to see isn't necessarily the first thing the the *.BKH files. Thus, when ww2ogg.exe loads the file, it may see data it doesn't recognize, and just kick it out.

As HCS said, if that's the case, you're going to need to know the offsets so that you can feed the correct data to ww2ogg.exe, thus allowing it to skip the data it doesn't recognize. If you're lucky though, the "expected data" that ww2ogg.exe is looking for might already be at the front of the file. If that's the case, then simply running the *.BKH files through ww2ogg.exe should work (again, see above posts).

If, however, the expected data isn't first, ww2ogg.exe won't work, and you won't get an error message (I don't think). You'll just get no new files. If that happens, then you can do one of two things. 1) find the necessary offsets (in the *.BKH files), figure out how to use a command-line tool, and feed ww2ogg.exe the necessary offsets. Or 2) Use VGMToolBox to extract only the RIFF data. The resulting files should easily "feed" into ww2ogg.exe using the methods listed in the posts above.

Personally, the VGMToolBox should be the easier of the 2 methods to figure out. There's likely already a "plugin" in place that helps VGMToolBox extract the RIFF data. The hard part then, is figuring out how to use VGMToolBox's extraction plugins.

Hopefully this has been helpful, and hopefully one of these methods works for you (the "do it now" method, or failing that, the VGMToolBox method are the recommended attempts). Mouser X over and out.
VGMToolBox by Masherdude at 7:56 PM EDT on April 12, 2010
Hmmm, i have tried dragging my BKH files into ww2ogg08 using the --full setup method but nothing comes up. All i get is a black box flash up and go. If thats the case. I would go for the VGMToolBox method but i have no clue how to use it. I looked at it and had no clue of how to get the RIFF from the files.

I am surprised at how complicated this process is.
by Masherdude at 10:23 AM EDT on April 13, 2010
Thank you very much hcs and Mouser x for your help. I am now extracting the wav files from ww2ogg its a slow process but at last i am getting them :D

Thanks alot Guys
by Masherdude at 10:56 AM EDT on April 13, 2010
So now that i've done it with that game. Could i do this process with QuickBMS with any game file aslong as i had the script? So for instance if i wanted to extract the call of duty 4 .ff sound files using QuickBMS ? Is this possible if i had a script? And then to run it through ww2ogg ? Or is this file not compatible?
by hcs at 11:42 AM EDT on April 13, 2010
It's a completely different system.
However, you should be able to rip it. Check out the XeNTaX thread. It seems that you just need to use offzip to decompress the .ff files, and the music ones have normal MP3 inside.


Go to Page 0

Search this thread

Show all threads

Reply to this thread:

User Name Tags:

bold: [b]bold[/b]
italics: [i]italics[/i]
emphasis: [em]emphasis[/em]
underline: [u]underline[/u]
small: [small]small[/small]
Link: [url=http://www.google.com]Link[/url]

[img=https://www.hcs64.com/images/mm1.png]
Password
Subject
Message

HCS Forum Index
Halley's Comet Software
forum source