hey there, yesterday I stumbled on your neat little program, while I was looking for something to extract mass effect sounds and music. I was a little annoyed that the filename wouldn't get extracted, so I gave a shot at messing around with the code.
It should name properly the extracted audio, and an output dir can be specified. I rewritten the whole main function, added lots of comments, and turned it into c++. However, because I used windows.h, its only for windows, but only a few functions need to be changed to make it linux compatible. I included the source code, the exe, and the visual studio 2005 sln.
I hope someone will find this useful.
I did move the cygwin1.dll that came with the oggextractor to the same directory, though, and it still says that it can't find it.
Edit: That's weird, I used the cygwin1.dll you linked to, and it worked once, but now I'm getting the same error again.
How to use it? Everytime I try extract.exe soundfile.upk sounds, it doesnt work, says exporting 0 files...
Missed this.
If there is audio it should extract something. Not every upk labeled as audio actually contains audio, some just have nodes. You can usually tell based off the filesize. Extraction only seems to work properly on x32. If you're using a 64bit OS it will extract garbage. The files will be created but none of them seem to be created properly; unplayable.