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

[PC] Mass Effect 2 (AFC & PCC)

The Original Forum. Game archives, full of resources. How to open them? Get help here.
hdnine
ultra-n00b
Posts: 9
Joined: Sun Nov 06, 2005 6:02 pm

[PC] Mass Effect 2 (AFC & PCC)

Post by hdnine »

Hey everyone,

I just played through this amazing game and was equally amazed of the superb sound effects and voice acting. I really would like to find a way to extract the audio but haven't found a way yet to do it. Any help would be appreciated!

http://www.sendspace.com/file/4vphdb (PCC file)
http://www.sendspace.com/file/lravmd (AFC file)

The AFC files seems to be WAV (RIFF) but i still can't play them? PCC seems to be a container or archive om sorts? Thanks!
hcs
mega-veteran
mega-veteran
Posts: 263
Joined: Sun Oct 18, 2009 9:41 pm
Location: Portland, OR
Has thanked: 3 times
Been thanked: 79 times
Contact:

Re: [PC] Mass Effect 2 (AFC & PCC)

Post by hcs »

The RIFFs are Wwise's custom Vorbis container, try ww2ogg (http://hcs64.com/vgm_ripping.html) to convert to Ogg. I saw an extractor for .afc the other day on extractor.ru, you could always use some other method for extracting RIFFs.
As noted in that thread you'll need to use the --full-setup command line switch with ww2ogg.
Mirrodin
advanced
Posts: 71
Joined: Tue May 31, 2005 7:36 pm
Has thanked: 3 times
Been thanked: 2 times
Contact:

Re: [PC] Mass Effect 2 (AFC & PCC)

Post by Mirrodin »

Awesome! Man so many tools to keep track of, I'm wondering how to use this, treating it like umodel, sick it's directory in the paths for the OS to use in commandline. Only getting 1kb OGG files output cuz it's having an error, so i'm trying to find some sort of documentation, the hist.txt file that comes with it is all screwed up!
hcs
mega-veteran
mega-veteran
Posts: 263
Joined: Sun Oct 18, 2009 9:41 pm
Location: Portland, OR
Has thanked: 3 times
Been thanked: 79 times
Contact:

Re: [PC] Mass Effect 2 (AFC & PCC)

Post by hcs »

I suggest running it from the command prompt. You need to give it the argument "--full-setup" along with the .wav file name on the command line. You may be able to do this from start->run or if you make a batch or shortcut, but I think it'd be easier to just use the command line. It also prints reasonably informative errors on the command line in case you have something wrong.
Mirrodin
advanced
Posts: 71
Joined: Tue May 31, 2005 7:36 pm
Has thanked: 3 times
Been thanked: 2 times
Contact:

Re: [PC] Mass Effect 2 (AFC & PCC)

Post by Mirrodin »

yea, found that and tried it, it complains it cant find some bin file which is actually located in the same directory the executable comes with tried just running via command line and putting an afc file in the directory of the program itself! still getting the error and a 1kb ogg output.
hcs
mega-veteran
mega-veteran
Posts: 263
Joined: Sun Oct 18, 2009 9:41 pm
Location: Portland, OR
Has thanked: 3 times
Been thanked: 79 times
Contact:

Re: [PC] Mass Effect 2 (AFC & PCC)

Post by hcs »

If you are using --full-setup it won't need packed_codebooks.bin. You should be running it like:

Code: Select all

ww2ogg whatever.wav --full-setup
For files where you do need packed_codebooks.bin (though I don't think you'll find any in this game), you just need to have it in the directory that you are running the program from. I suppose it would be easiest to build it in, but I had anticipated that it might change at some point.
hdnine
ultra-n00b
Posts: 9
Joined: Sun Nov 06, 2005 6:02 pm

Re: [PC] Mass Effect 2 (AFC & PCC)

Post by hdnine »

Thanks people... i got the AFC files converted to OGG as per instructions on the Russian website. Not sure if any sound effects are in these though, i will have to look? What are the PCC files you think -- are they the ones containing the SFX?
Mirrodin
advanced
Posts: 71
Joined: Tue May 31, 2005 7:36 pm
Has thanked: 3 times
Been thanked: 2 times
Contact:

Re: [PC] Mass Effect 2 (AFC & PCC)

Post by Mirrodin »

PCC = Upk for most everything else, textures, static meshes, material ids, etc... umodel can extract these. I noticed it had trouble with certain games and they list the games they have limited support for. IE: a couple I tried extracting only ended up with staticmesh exports at 1k because they just hold uv information and not the "brush" itself, which means no exporting it. However, the formats it can export to default as PSK / PSA (animations), and can be imported into Milkshape 3d, or with the use of Gildor's reverse engineered exporter from Unreal Developers' ActorX Import tool he created, right into 3dsmax!
hdnine
ultra-n00b
Posts: 9
Joined: Sun Nov 06, 2005 6:02 pm

Re: [PC] Mass Effect 2 (AFC & PCC)

Post by hdnine »

Superb, very much appreciated information ^^
Apollo
veteran
Posts: 145
Joined: Sat Oct 21, 2006 12:58 pm
Has thanked: 5 times
Been thanked: 24 times

Re: [PC] Mass Effect 2 (AFC & PCC)

Post by Apollo »

Does anyone have idea on the sound effect RIFF wavs in *.PCC files (upk), they appear to use adpcm compression but the header is a bit custom too... :?

I have manually cutted so fits under size limit and apparently this is wwise adpcm bank format...
You do not have the required permissions to view the files attached to this post.
hcs
mega-veteran
mega-veteran
Posts: 263
Joined: Sun Oct 18, 2009 9:41 pm
Location: Portland, OR
Has thanked: 3 times
Been thanked: 79 times
Contact:

Re: [PC] Mass Effect 2 (AFC & PCC)

Post by hcs »

Looks very much like Microsoft IMA (codec id 0x11) but with blocks interleaved rather than using MS's method of having all the channel headers at the start of one block. However, I'm not able to decode it quite correctly with this assumption.
OrangeC
double-veteran
double-veteran
Posts: 868
Joined: Sun Apr 20, 2008 2:58 am
Has thanked: 5 times
Been thanked: 41 times

Re: [PC] Mass Effect 2 (AFC & PCC)

Post by OrangeC »

Seems like quite a few of these music files use the same thing for the pc version, 360 might use xma but i dont have the speeds now to get both iso's for the 360 version.
hcs
mega-veteran
mega-veteran
Posts: 263
Joined: Sun Oct 18, 2009 9:41 pm
Location: Portland, OR
Has thanked: 3 times
Been thanked: 79 times
Contact:

Re: [PC] Mass Effect 2 (AFC & PCC)

Post by hcs »

I'm thinking that I may have been right, but this file just sounds weird because it's an explosion. Here's something you can try out: http://hcs64.com/files/ima_rejigger00.zip
If you give it the RIFF, it'll interleave the IMA frames so they can be decoded normally. Note that it modifies the file in place! Recent vgmstreams will accept codec id 0x69 so you can try it out there, or just change the id manually (to 0x11).
Apollo
veteran
Posts: 145
Joined: Sat Oct 21, 2006 12:58 pm
Has thanked: 5 times
Been thanked: 24 times

Re: [PC] Mass Effect 2 (AFC & PCC)

Post by Apollo »

It works, found out trying use dragon unpacker/game extractor to get the wavs ends up in chunk size out range with the tool except when i use gildor's tool and manually cut the start of file to riff so likely said tools cut the file too soon making it not match the header specified lenght.

Curiously the original kbps values as per 32khz are different in xbox adpcm (144kbps) vs ima adpcm (128kbps)
Of course no converter likes the output due to lacking fact chunk entry as well other mess in header so just vlc transcoding to other format for now.
Kyp
ultra-n00b
Posts: 3
Joined: Sun Feb 28, 2010 6:10 pm
Been thanked: 8 times

Re: [PC] Mass Effect 2 (AFC & PCC)

Post by Kyp »

I wrote myself a little program, which uses afcextr and ww2ogg to extract and convert any number of .afc files to .ogg, and i thought some people might like it, as it really saves the time you would spend messing with the console.
You can choose any number of .afc files and it will extract them to specified location (each to separate folder or all to one place).
It works with Mass Effect 2 audio files, but should also work with other games that use this kind of audio storage.
It uses .NET, so if you don't have it, you might have to download it.

Enjoy :D
You do not have the required permissions to view the files attached to this post.
Post Reply