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

Resident Evil Operation Raccoon City WAV sounds

Get help on any and all audio formats, or chip in and help others!
Nemesiscv
n00b
Posts: 10
Joined: Mon Mar 19, 2012 9:16 am
Has thanked: 1 time
Been thanked: 3 times

Re: Resident Evil Operation Raccoon City WAV sounds

Post by Nemesiscv »

Oh I used Revorb. Then I work on the files on audacity to give them proper ends (Since some of them are loop) and that's when I noticed some of the files were in mono while some others are in stereo...

It took me a long time to extract the files and due to their size I had to remove them... I don't have the strengh to do it again !
Gh0stBlade
Moderator
Posts: 719
Joined: Mon Jul 05, 2010 8:55 pm
Has thanked: 20 times
Been thanked: 496 times

Re: Resident Evil Operation Raccoon City WAV sounds

Post by Gh0stBlade »

Edit. Nvm
Click the thanks button if I helped!
AlphaTwentyThree
double-veteran
double-veteran
Posts: 982
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 76 times
Been thanked: 660 times

Re: Resident Evil Operation Raccoon City WAV sounds

Post by AlphaTwentyThree »

For the Xbox 360 version, use this script (func_getTYPE is here: viewtopic.php?f=13&p=69577#p69577, save it in the same folder):

Code: Select all

# extracts the contents of the streamed.pck of 
# Resident Evil: Operation Raccoon City (Xbox 360)
#
# (c) 2012-04-07 by AlphaTwentyThree of XeNTaX

include "func_getTYPE.bms"
idstring "AKPK"
endian big
set FOLDEROFF 0x58
goto 0x18
for i = 0 <= 7
	get DUMMY long
	get INDEX long
	savepos MYOFF
	goto FOLDEROFF
	for k = 0 < INDEX
		get FOLDERNAME string
	next k
	putArray 0 INDEX FOLDERNAME
	goto MYOFF
next i

goto 0xa4
get FILES long
for i = 1 <= FILES
	get NAME_CRC long
	string NAME_CRC p= "%08x" NAME_CRC
	get MULTIPLIER long
	get SIZE long
	get OFFSET long
	math OFFSET *= MULTIPLIER
	get TYPE long # folder number
	get FNAME basename
	string FNAME += "_0x"
	string FNAME += NAME_CRC
	getArray WNAME 0 TYPE
	string WNAME += "/"
	string WNAME += FNAME
	log MEMORY_FILE OFFSET SIZE
	callfunction getTYPE 1
	endian big
	string WNAME += EXT
	log WNAME 0 SIZE MEMORY_FILE
next i
It automatically distinguished between voice and sfx, as given in the archive. :)

And for the wav2ogg conversion you can also use something like

Code: Select all

for %i in (*.rifx) do ww2ogg.exe --pcb packed_codebooks_aoTuV_603.bin %i
for %%i in (*.ogg) do revorb "%%i"
Note that there are also XMA files in the Xbox 360 version.
Last edited by AlphaTwentyThree on Sat Apr 07, 2012 3:30 pm, edited 2 times in total.
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)
MiLØ
veteran
Posts: 114
Joined: Sun Dec 11, 2011 8:00 am
Has thanked: 36 times
Been thanked: 20 times

Re: Resident Evil Operation Raccoon City WAV sounds

Post by MiLØ »

Thanks a lot for sharing the script, AlphaTwentyThree. But quickbms gives me an Error:

Code: Select all

invalid command "include" or arguments 1 at line 6
I did use it on X360 version of streamed.pck

Any advice on how to fix this would be appreciated.
Last edited by MiLØ on Sat Apr 07, 2012 2:31 pm, edited 1 time in total.
Nemesiscv
n00b
Posts: 10
Joined: Mon Mar 19, 2012 9:16 am
Has thanked: 1 time
Been thanked: 3 times

Re: Resident Evil Operation Raccoon City WAV sounds

Post by Nemesiscv »

Same here ^^
AlphaTwentyThree
double-veteran
double-veteran
Posts: 982
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 76 times
Been thanked: 660 times

Re: Resident Evil Operation Raccoon City WAV sounds

Post by AlphaTwentyThree »

You need my file identification script here: viewtopic.php?f=13&p=69577#p69577 :)
And the newest QuickBMS version - the command is fairly new.
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)
MiLØ
veteran
Posts: 114
Joined: Sun Dec 11, 2011 8:00 am
Has thanked: 36 times
Been thanked: 20 times

Re: Resident Evil Operation Raccoon City WAV sounds

Post by MiLØ »

Ok this is great but I'm a little lost and apparently not doing something right.

First of all - the newest version of QuickBMS is 0.5.10, correct? http://aluigi.org/quickbms.htm

Next - is this the right scrip for func_getTYPE.bms? :

Code: Select all

include "func_getTYPE.bms"
...
log MEMORY_FILE OFFSET SIZE
callfunction getTYPE 1
if ZNAME != ""
   set NAME ZNAME
else
   get NAME basename
   string NAME += "_"
   string NAME += i
endif
string NAME += EXT
log NAME 0 SIZE MEMORY_FILE
...
So I attempted to run it with quickbms on streamed.pck and it says:

Code: Select all

- requested script "func_getTYPE.bms" not found
That's where I'm stuck pretty much. Sorry for trouble, just trying to get this to work.
OrangeC
double-veteran
double-veteran
Posts: 868
Joined: Sun Apr 20, 2008 2:58 am
Has thanked: 5 times
Been thanked: 41 times

Re: Resident Evil Operation Raccoon City WAV sounds

Post by OrangeC »

have the get_type script in the same directory as the resident evil script and just run the resident evil script on the file like usual. it should detect the function script automatically.
MiLØ
veteran
Posts: 114
Joined: Sun Dec 11, 2011 8:00 am
Has thanked: 36 times
Been thanked: 20 times

Re: Resident Evil Operation Raccoon City WAV sounds

Post by MiLØ »

I ran ORC script on .pck file while both scripts are in quickbms folder, and it still says func_getTYPE.bms not found.
OrangeC
double-veteran
double-veteran
Posts: 868
Joined: Sun Apr 20, 2008 2:58 am
Has thanked: 5 times
Been thanked: 41 times

Re: Resident Evil Operation Raccoon City WAV sounds

Post by OrangeC »

Do you have the func_getTYPE.bms named as exactly as it is and have the latest quickbms?
MiLØ
veteran
Posts: 114
Joined: Sun Dec 11, 2011 8:00 am
Has thanked: 36 times
Been thanked: 20 times

Re: Resident Evil Operation Raccoon City WAV sounds

Post by MiLØ »

Here are the steps that I took, feel free to point out if something was done incorrectly.

1) QuickBMS (latest ver. from here).

2) Save that ORC script by AlphaTwentyThree as ORC.txt and put it into quickbms folder.

3) Save func_getTYPE script as func_getTYPE.bms and put into quickbms folder.

4) Put streamed.pck (Xbox360 version) into quickbms folder.

5) Launch quickbms.exe > ORC.txt > streamed.pck > quickbms main folder.

And at the bottom of command line it says:

Code: Select all

- requested script "func_getTYPE.bms" not found
I double checked if the scripts were copy/pasted correctly and yes everything matches.
OrangeC
double-veteran
double-veteran
Posts: 868
Joined: Sun Apr 20, 2008 2:58 am
Has thanked: 5 times
Been thanked: 41 times

Re: Resident Evil Operation Raccoon City WAV sounds

Post by OrangeC »

Okay change the extension to the orc from txt to bms,
User avatar
Savage
VIP member
VIP member
Posts: 559
Joined: Sun Apr 17, 2005 11:00 am
Has thanked: 16 times
Been thanked: 18 times

Re: Resident Evil Operation Raccoon City WAV sounds

Post by Savage »

I have the same error:
QuickBMS generic files extractor and reimporter 0.5.12
by Luigi Auriemma
e-mail: [email protected]
web: aluigi.org

- GUI mode activated, remember that the tool works also from command-line
where are available various options like folder scanning, filters and so on

- select the BMS script or plugin to use
- select the input archives/files to extract, type "" for whole folder and subfo
lders
- select the output folder where extracting the files
- open input file D:\test\Streamed.pck
- open script D:\test\orc.bms
- requested script "func_getTYPE.bms" not found

Press RETURN to quit
This is the scripts i used:
orc.bms

Code: Select all

# extracts the contents of the streamed.pck of
# Resident Evil: Operation Raccoon City (Xbox 360)
#
# (c) 2012-04-07 by AlphaTwentyThree of XeNTaX

include "func_getTYPE.bms"
idstring "AKPK"
endian big
set FOLDEROFF 0x58
goto 0x18
for i = 0 <= 7
   get DUMMY long
   get INDEX long
   savepos MYOFF
   goto FOLDEROFF
   for k = 0 < INDEX
      get FOLDERNAME string
   next k
   putArray 0 INDEX FOLDERNAME
   goto MYOFF
next i

goto 0xa4
get FILES long
for i = 1 <= FILES
   get NAME_CRC long
   string NAME_CRC p= "%08x" NAME_CRC
   get MULTIPLIER long
   get SIZE long
   get OFFSET long
   math OFFSET *= MULTIPLIER
   get TYPE long # folder number
   get FNAME basename
   string FNAME += "_0x"
   string FNAME += NAME_CRC
   getArray WNAME 0 TYPE
   string WNAME += "/"
   string WNAME += FNAME
   log MEMORY_FILE OFFSET SIZE
   callfunction getTYPE 1
   endian big
   string WNAME += EXT
   log WNAME 0 SIZE MEMORY_FILE
next i
func_getTYPE.bms

Code: Select all

include "func_getTYPE.bms"
...
log MEMORY_FILE OFFSET SIZE
callfunction getTYPE 1
if ZNAME != ""
   set NAME ZNAME
else
   get NAME basename
   string NAME += "_"
   string NAME += i
endif
string NAME += EXT
log NAME 0 SIZE MEMORY_FILE
...
Thanks!
Image
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: Resident Evil Operation Raccoon City WAV sounds

Post by Acewell »

@MiLØ & Savage
In the func_getTYPE.bms script remove the first line and the dotted lines so it looks like this and try again.

Code: Select all

log MEMORY_FILE OFFSET SIZE
callfunction getTYPE 1
if ZNAME != ""
   set NAME ZNAME
else
   get NAME basename
   string NAME += "_"
   string NAME += i
endif
string NAME += EXT
log NAME 0 SIZE MEMORY_FILE
I think the first line put QuickBMS into a loop which generated the error.
iceydamo
ultra-n00b
Posts: 1
Joined: Thu Jun 07, 2012 5:37 pm

Re: Resident Evil Operation Raccoon City WAV sounds

Post by iceydamo »

i need help for the pc version of the game i managed to extract the wav files but the sript for ww2ogg didnt work for me i might of got the wrong files for ww2ogg could some one help me this is the script:
"cd "%~dp0"
:getfile
if "%~1"=="" goto end
ww2ogg.exe --pcb packed_codebooks_aoTuV_603.bin "%~1"
shift
goto getfile
:end"
Post Reply