Jump to content
Official BF Editor Forums

Extracting Sound And Music Files From Bfbc2


Recommended Posts

Hello. Im working on multi offset extraction :)

#include <File.au3>
#include <Array.au3>
#include <StaticConstants.au3>
#include <String.au3>

$f = @ScriptDir & "\a.res"
$size = FileGetSize($f)
$file = FileOpen($f, 0)
$chars = FileRead($file, $size)

$Hex = _StringToHex($chars)
MsgBox(0,"f", $Hex)

$DD = _ReadOffsets($Hex, "FFFFFF")
_ArrayDisplay($DD, "D")

Func _ReadOffsets($Data, $Value)
$counter = 1
Dim $A[2]
While Stringinstr($Data, $Value, 0, $counter) <> 0
	$pos = "0x" & Hex(Stringinstr($Data, $Value, 0, $counter)/2)
	Redim $A[$counter+1]
	$A[$counter] = $pos
	$counter += 1
WEnd
$A[0] = $counter-1
Return $A
EndFunc

This code give us Array with 0 element:Number of founded offsets next elements: Offsets in Hex

Example:

[0]|21

[1]|0x00000239

[2]|0x0000047F

[3]|0x0000048F

[4]|0x000004FD

[5]|0x000005DF

[6]|0x00000611

[7]|0x000042D4

[8]|0x000042ED

[9]|0x000042F1

[10]|0x000042F6

[11]|0x0000498F

[12]|0x0000697F

[13]|0x00006BAA

[14]|0x0000704B

[15]|0x00007EE4

[16]|0x0000806E

[17]|0x00008072

[18]|0x000082D0

[19]|0x000082D4

[20]|0x000084F7

[21]|0x000084FB

Link to comment
Share on other sites

  • 3 weeks later...
  • Replies 77
  • Created
  • Last Reply

Top Posters In This Topic

  • 3 years later...

I'm also interested in this, there has been a pack online but it has been removed. This one was also recorded ingame.

I am capable of getting the res files in wav format.

The fire sounds are in .wave format, if you adjust their header and rename them to res, they tend to work, but not all of them (the ones I need :()

- my mistake, easy peasy ;)

Edited by KENNITHH
Link to comment
Share on other sites

  • 2 years later...
  • 1 month later...
On 5/13/2017 at 0:53 AM, Crazy--Coyote said:

I know its like 2017, but if anybody still follows this thread, i am in the process of building the weapon sounds from the extracted contents. im also seperating the Foley sounds (reloads, grenades, etc.) and putting those together. if anybody is interested in these, PM me.

Yes! I'm definately interested because bc2 had the most awesome sounds. I want the soldier reaction sounds rather than weapons. That whiny US sniper voice...was awesome.. If you torrent the package, I can help you spread with uploads. add me on steam please for discussion

http://steamcommunity.com/id/nondata/

Link to comment
Share on other sites

  • 1 year later...
On 7/10/2017 at 6:50 AM, rockypocky said:

Yes! I'm definately interested because bc2 had the most awesome sounds. I want the soldier reaction sounds rather than weapons. That whiny US sniper voice...was awesome.. If you torrent the package, I can help you spread with uploads. add me on steam please for discussion

http://steamcommunity.com/id/nondata/

Let me know if you ever got them!

Link to comment
Share on other sites

  • 1 year later...
  • 1 month later...

Can anyone in here do the same for Battlefield Bad Company 1? specifically I am looking for the M1A2 Abrams engine sounds; starting up, idle, when moving etc. These sounds were also used in the Bad Company 2 Closed Beta on the PS3. I never knew how to extract these sounds. Thank you so much if someone actually cares to help me out here, been trying to find something for a decade.

Link to comment
Share on other sites

On 11/27/2020 at 9:19 PM, Timb3rwolf said:

It's been 10 years since this thread which started with the xBox gamefiles. I have perfect and easy to use tools to extract .fbrb files. The thing is "Is this possible with the PC files?"

If yes, I'd love to know and help us all to complete this with 100% satisfaction. 

No.

On 1/5/2021 at 5:40 PM, soundsarelife123 said:

Can anyone in here do the same for Battlefield Bad Company 1? specifically I am looking for the M1A2 Abrams engine sounds; starting up, idle, when moving etc. These sounds were also used in the Bad Company 2 Closed Beta on the PS3. I never knew how to extract these sounds. Thank you so much if someone actually cares to help me out here, been trying to find something for a decade.

It's the same procedure as with BC2 except that you have to change the xma version in the bat file.

for /r %%i in (*.str) do "%CD%\xma_test.exe" "%%i" -1 -r "%%i.xm"	#XMA version 1 (BC1)
for /r %%i in (*.str) do "%CD%\xma_test.exe" "%%i" -2 -r "%%i.xm"	#XMA version 2 (BC2, BF1943)
#You can see the help menu if you open xma_test.exe alone through the cmd.

The offsets you need to apply with BC1 are 0x00, 0x2c, 0x6c, 0x28.

BFBC1 - Tank M1A2 SoundFX (Mega Link)

Btw has anyone the Xbox 360 version of BC2 Vietnam DLC ? 

Edited by Neyxos
Link to comment
Share on other sites

  • 2 months later...
  • 2 months later...
  • 2 weeks later...
  • 3 months later...
  • 9 months later...
  • 9 months later...

I always wanted the Vietnamese accent English VOs from Bad Company 2: Vietnam like these below (just listen),

 

Has anyone tried to extract and converted them to .wav?

 

Quote

 

Hello there @Neyxos, does this BC2 sound bundle you've created contains the aforementioned NVA Voice Overs (both Vietnamese & English)?

 

Edited by DG1991
quick edit, I added some important words
Link to comment
Share on other sites

  • 2 weeks later...

No it doesnt sadly, all the sounds are from a ripped disc and therefore no update are included.

I also wanted them for a long time but it's an online dlc and i dont have the xbox360, i searched for a while on the web if i could download it but i found nothing (actually the vietnam pack is included in an update, the purchase of it just unlocks it).

After reading your message i went searching again and i found this website:
https://fastgamesdownloads.com/game/battlefield-bad-company-2-iso-xex-xbox-360-ntscuntscjpal/#open-modal
I downloaded the "update #3" and found legit files in ihere.

I will try in the next three weeks.

Link to comment
Share on other sites

  • 3 weeks later...
  • 6 months later...
On 5/7/2023 at 9:15 PM, Neyxos said:

Here you go:

BFBC2Vietnam - All SoundFX

Vietnamese voices: Folder\VO\VC

English voices with vietnamese accent: Folder\VO\EN_VC

 

 

 

first to all i wanna THANK YOU SO MUCH for bfbc2 Vn and multiplayer sounds game files on Mega!! i was years and years searching for them and i coudnt rip them by myself, people from discord bf editor recommended me to talk directly to you to ask if you have the campaign audio files too, specially in spanish, and some others said to me ''ask him for bf1943 and BC1 too'' it would be great ig you share with the community these files too

 

In my case i do machinimas and little animated ''war films'' scenes and i use audio voices from classic old games, battlefield was on my pending list, i make them in english but mainly in spanish because i'm spanish and i love spanish voice actors. I am not informatic expert, my TIC knowledge is almost from the vietnam era so i would praise gods if you could do that again with these other files. Its for me a kind of revival of these great old games using RO2 or HLL 

 

 

Link to comment
Share on other sites

  • 2 weeks later...

 

El 6/01/2021 a las 15:20, Neyxos dijo:

Oye amigo descargue el archivo rar y me di cuenta que en los archivos del juego hay una carpeta en streaming_sounds-00
que se llama MP en SOUNDS VO/COMMON donde hay dos carpetas una dice RU y la otra dice MEC y descargué el rar para poder escucharlos porque me llamaron la atención pero me di cuenta que no están en el rar. Me gustaría que pudieran extraerlos y convertirlos en archivos WAV y compartirlos en este sitio, se lo agradecería mucho.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

Announcements




×
×
  • Create New...