Faction Files
Files | Forums | Projects | More
Search:
Hello, Guest. Login | Register
 

Forums » RF:G Modding » Extracting sounds » Page 1

Pages: 1
DarkShadow6's Avatar
DarkShadow6
"Extracting sounds"
Posted on Sat, 31. Aug 2013 at 09:42:35 PM
I understand and accept the RFG modding community (and community in general) is hugely dead. I also understand and accept that a large amount of the game is still unexplored, backend-wise. However, I would like to try the following anyways:
I want to find out how to open/extract the contents of xwb_pc files (and by probable association xsb_pc, which I'm guessing are header/table/etc. files).

I have no prior experience with RFG under-the-hood -- I can't even run it with my computer's specs -- but I need some game audio for a project I'm working on. (While I'm at it, I was thinking of compiling some of the music tracks into a soundtrack because I really liked RFG's music score and I felt that all the albums out there are of lesser quality (both in production and in sound quality) than I would like.

So, has it been done? If it has, I'd appreciate if someone pointed me in the right direction.

ftp://ds6.us.to/

digi's Avatar
digi
"Re: Extracting sounds"
Posted on Sun, 1. Sep 2013 at 12:06:35 AM
I'm not sure whether or not it has been done but I would lean towards no (at least not publicly). I believe the "xwb" may be referring to an Xbox wavebank... that filename may be more or less an artifact from the console version, or it may indeed be in that particular format, I don't know. "xsb" might be soundbank? I'm not sure why the distinction would be made, unless the soundbanks are intended for things like weaponfire and would have loop points and stuff defined.

You might try running a few files through a program like Jaeder Naub to see if it finds anything inside.

If there are a few small-ish xwb/xsb files upload them to mediafire/mega or something and shoot me a PM with the link. I'll take a quick look at the format but can't promise anything


DarkShadow6's Avatar
DarkShadow6
"Re: Extracting sounds"
Posted on Sun, 8. Sep 2013 at 04:58:22 AM
I honestly didn't expect this thread to be answered. Dayum digi, you're dedicated.

Attempting to open the music-based xwb files raw (as signed 16 bit PCM RIFF Wave at 32000Hz) returns very static-y music. I was able to get it to sound the best with those settings. I think it's the right format but the blockyness of the sound waves seems like it was compressed somehow.

Here:
mus_frontend.xwb_pc (actual content file) [removed]
mus_frontend.xsb_pc (probably some kind of header) [removed]
No mtbl for this one.

Last edited by DarkShadow6 on Mon, 16. Sep 2013 at 10:14:49 AM

ftp://ds6.us.to/

digi's Avatar
digi
"Re: Extracting sounds"
Posted on Tue, 10. Sep 2013 at 06:53:07 PM
It appears they are using some modified Xbox wavebank format. See http://wiki.xentax.com/index.php?title=XBOX_XWB3. I haven't looked too closely to see what is different but the version number is different at the very least

Game Extractor sees five separate files in it. I don't know if that's right. It did say it extracted the files successfully, although I don't know what kind of error checking it does...

It's possible the audio is bad/broken because they're using Xbox ADPCM or some other codec besides standard pcm. I tried running parts of the file (and some of the extracted files from Game Extractor) through an Xbox ADPCM converter that Luigi Auriemma made. I tried a few different settings and all I got was mostly noise but I can recognize the music slightly, it's not just random noise

Will take a further look later

Last edited by digi on Tue, 10. Sep 2013 at 08:34:07 PM


DarkShadow6's Avatar
DarkShadow6
"Re: Extracting sounds"
Posted on Mon, 16. Sep 2013 at 10:24:04 AM
I appreciate all the help.

Just FYI, the Psychonauts Explorer doesn't work. It seems the file information is stored differently; most files either displayed completely irrational numbers or 0 for their filesize, and when trying to extract as WAV, all failed. Tried for eight archives before I gave up.

ftp://ds6.us.to/

digi's Avatar
digi
"Re: Extracting sounds"
Posted on Tue, 17. Sep 2013 at 04:43:45 PM
Yeah, I looked at that too thinking it would be an easy solution to play the files but I guess it needs the headers and everything.


ChipWebber's Avatar
ChipWebber
"Re: Extracting sounds"
Posted on Thu, 26. Dec 2013 at 11:58:27 PM
Hey guys, I've actually been wanting to work out how to do this for a while. I'm working on a machinima show using RFG and would like to be able to extract the sounds form the game to incorporate into my sound design.

I've gotten as far as using the Gibbed unpack tool to extract the .xwb_pc and .xsb_pc files from the sounds_r.vpp_pc file installed with the game. But then extracting the audio files from these .xwb_pc files has me stumped.

I've tried using XWB Extractor v1.1 but it doesn't recognise the _pc files. Renaming the file extension allows me to unpack the .pcm files, but just like you experienced, they are all either 0kb or rediculous file sizes and just data noise.

I've also tries using both eSEX and EkszBox ABX to try and extract the xwb_pc files but both of them refuse to open them. So it seems the _pc files are quite different from the standard .xsb files. It's very frustrating as I can see all the files there, I just can't seem to extract the audio.

I have an old tech demo of the show if anyones interested in seeing where I'm going with this: http://vimeo.com/69959934

Any further help on this much appreciated Smiley


DarkShadow6's Avatar
DarkShadow6
"Re: Extracting sounds"
Posted on Wed, 29. Jan 2014 at 09:04:08 AM

Like has been stated, RFG is dead. Which sucks, because it's a great game. All of the tools used to extract sounds and henceforth are mainly targeted at the Saints Row series, which uses better versions of the engine file formats. The PC version is different from the console version, so that doesn't help either (any research done on the console version can't be directly applied here; I know there was a little bit).

Just FYI as to why those tools don't work if it wasn't cleared up by past posts/this one already, the PC version uses an unknown codec/compression method/XWB version, and as such no tools have been developed for it.

Pretty much anyone left on the "scene" is either not interested in such things as extracting sounds or doesn't have the expertise to accomplish it; I fall into the latter category. There was an old thread on that super-l33t-hax0r-pay-to-download-forum-that-shall-not-be-named related to file headers and extractors, but it died off with little more than a few test files. I'd pay to download them, but I have no money and I'd not give it to them anyway.

So we're basically stuck. Sorry m8.

(PS: The original project I was working on for this has since died off so I have no more reasons to even bother continuing with this.)

Edit: Neato video. How'dyadoit?

Last edited by DarkShadow6 on Wed, 29. Jan 2014 at 09:10:22 AM

ftp://ds6.us.to/

(You must login to post)

Pages: 1

Latest Forum Posts:

· IconRe: Run Event 2014
· IconRe: people who carry hate
· IconRe: BloodLust is back
· IconWho hasn't heard of AVGN? Well...
· IconRe: Main Character Editing
· IconRe: PARTY TIME! Rotation Suggestions
· IconRe: HELP WITH DEDICATED SERVER SETUP
· IconRe: Players From 2002/2003, The Beginning of RF I have a ?
· IconRe: RED Window Size
· Icon2014 year of years
· Icon[RF1] [T] Making a Keyframe Trick [B]
· Icon[RF1] [T] Moving Multiplayer Spawn Points [I]
· Icon[RF1] [T] Toggling Particle Emitters [B]
· Icon[RF1] [T] Toggling Bolt Emitters [B]
· Icon[RF1] [T] Individual Spawn Triggers [I]

Who's Online:

  • 0 Users
  • 15 Guests



Why is this here?

Why is this here?

About | Rules

© 2009-2014 Faction Files
Version BETA rev.20 (Changelog)
Gentime: 0.022sec