Ambient Music Munge Failure

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
theITfactor
Chief Warrant Officer
Chief Warrant Officer
Posts: 327
Joined: Wed Jun 28, 2006 12:56 pm
Projects :: The Pwnfest and Games Complex
Games I'm Playing :: SWTOR
xbox live or psn: You and I Know
Location: The Old Republic
Contact:

Ambient Music Munge Failure

Post by theITfactor »

http://img18.imageshack.us/img18/8171/musicfail.png
Hidden/Spoiler:
soundflmunge.exe : Error : Unable to open file Streams\music1.wav - while munging C:\BFBuilder\DataEFX\Sound\worlds\EFX\efxcw_music.stm
soundflmunge.exe : Error : Unable to open file Streams\music1.wav, format may be invalid - while munging C:\BFBuilder\DataEFX\Sound\worlds\EFX\efxcw_music.stm
soundflmunge.exe : Error : Unable to read file list C:\BFBuilder\DataEFX\Sound\worlds\EFX\efxcw_music.stm - while munging C:\BFBuilder\DataEFX\Sound\worlds\EFX\efxcw_music.stm
soundflmunge.exe : Warning : Files line 2 and 6 reference the same source file Streams\music1.wav. cis_kam_amb_start will alias rep_kam_amb_start
- while munging C:\BFBuilder\DataEFX\Sound\worlds\EFX\efxcw_music.stm
soundflmunge.exe : Warning : Files line 3 and 4 reference the same source file Streams\music2.wav. cis_kam_amb_middle will alias cis_kam_amb_middle02
- while munging C:\BFBuilder\DataEFX\Sound\worlds\EFX\efxcw_music.stm
soundflmunge.exe : Warning : Files line 3 and 7 reference the same source file Streams\music2.wav. cis_kam_amb_middle will alias rep_kam_amb_middle
- while munging C:\BFBuilder\DataEFX\Sound\worlds\EFX\efxcw_music.stm
soundflmunge.exe : Warning : Files line 3 and 8 reference the same source file Streams\music2.wav. cis_kam_amb_middle will alias rep_kam_amb_middle02
- while munging C:\BFBuilder\DataEFX\Sound\worlds\EFX\efxcw_music.stm
soundflmunge.exe : Warning : Files line 5 and 9 reference the same source file Streams\music3.wav. cis_kam_amb_end will alias rep_kam_amb_end
- while munging C:\BFBuilder\DataEFX\Sound\worlds\EFX\efxcw_music.stm
soundflmunge.exe : Warning : Files line 18 and 19 reference the same source file Streams\victory.wav. rep_kam_amb_victory will alias cis_kam_amb_victory
- while munging C:\BFBuilder\DataEFX\Sound\worlds\EFX\efxcw_music.stm
soundflmunge.exe : Warning : Files line 2 and 6 reference the same source file Streams\music1.wav. cis_kam_amb_start will alias rep_kam_amb_start
- while munging C:\BFBuilder\DataEFX\Sound\worlds\EFX\efxcw_music.stm
soundflmunge.exe : Warning : Files line 3 and 4 reference the same source file Streams\music2.wav. cis_kam_amb_middle will alias cis_kam_amb_middle02
- while munging C:\BFBuilder\DataEFX\Sound\worlds\EFX\efxcw_music.stm
soundflmunge.exe : Warning : Files line 3 and 7 reference the same source file Streams\music2.wav. cis_kam_amb_middle will alias rep_kam_amb_middle
- while munging C:\BFBuilder\DataEFX\Sound\worlds\EFX\efxcw_music.stm
soundflmunge.exe : Warning : Files line 3 and 8 reference the same source file Streams\music2.wav. cis_kam_amb_middle will alias rep_kam_amb_middle02
- while munging C:\BFBuilder\DataEFX\Sound\worlds\EFX\efxcw_music.stm
soundflmunge.exe : Warning : Files line 5 and 9 reference the same source file Streams\music3.wav. cis_kam_amb_end will alias rep_kam_amb_end
- while munging C:\BFBuilder\DataEFX\Sound\worlds\EFX\efxcw_music.stm
soundflmunge.exe : Warning : Files line 18 and 19 reference the same source file Streams\victory.wav. rep_kam_amb_victory will alias cis_kam_amb_victory
- while munging C:\BFBuilder\DataEFX\Sound\worlds\EFX\efxcw_music.stm
soundflmunge.exe : Warning : Files line 2 and 6 reference the same source file Streams\music1.wav. cis_kam_amb_start will alias rep_kam_amb_start
- while munging C:\BFBuilder\DataEFX\Sound\worlds\EFX\efxcw_music.stm
soundflmunge.exe : Warning : Files line 3 and 4 reference the same source file Streams\music2.wav. cis_kam_amb_middle will alias cis_kam_amb_middle02
- while munging C:\BFBuilder\DataEFX\Sound\worlds\EFX\efxcw_music.stm
soundflmunge.exe : Warning : Files line 3 and 7 reference the same source file Streams\music2.wav. cis_kam_amb_middle will alias rep_kam_amb_middle
- while munging C:\BFBuilder\DataEFX\Sound\worlds\EFX\efxcw_music.stm
soundflmunge.exe : Warning : Files line 3 and 8 reference the same source file Streams\music2.wav. cis_kam_amb_middle will alias rep_kam_amb_middle02
- while munging C:\BFBuilder\DataEFX\Sound\worlds\EFX\efxcw_music.stm
soundflmunge.exe : Warning : Files line 5 and 9 reference the same source file Streams\music3.wav. cis_kam_amb_end will alias rep_kam_amb_end
- while munging C:\BFBuilder\DataEFX\Sound\worlds\EFX\efxcw_music.stm
soundflmunge.exe : Warning : Files line 18 and 19 reference the same source file Streams\victory.wav. rep_kam_amb_victory will alias cis_kam_amb_victory
- while munging C:\BFBuilder\DataEFX\Sound\worlds\EFX\efxcw_music.stm
soundflmunge.exe : Warning : Files line 2 and 6 reference the same source file Streams\music1.wav. cis_kam_amb_start will alias rep_kam_amb_start
- while munging C:\BFBuilder\DataEFX\Sound\worlds\EFX\efxcw_music.stm
soundflmunge.exe : Warning : Files line 3 and 4 reference the same source file Streams\music2.wav. cis_kam_amb_middle will alias cis_kam_amb_middle02
- while munging C:\BFBuilder\DataEFX\Sound\worlds\EFX\efxcw_music.stm
soundflmunge.exe : Warning : Files line 3 and 7 reference the same source file Streams\music2.wav. cis_kam_amb_middle will alias rep_kam_amb_middle
- while munging C:\BFBuilder\DataEFX\Sound\worlds\EFX\efxcw_music.stm
soundflmunge.exe : Warning : Files line 3 and 8 reference the same source file Streams\music2.wav. cis_kam_amb_middle will alias rep_kam_amb_middle02
- while munging C:\BFBuilder\DataEFX\Sound\worlds\EFX\efxcw_music.stm
soundflmunge.exe : Warning : Files line 5 and 9 reference the same source file Streams\music3.wav. cis_kam_amb_end will alias rep_kam_amb_end
- while munging C:\BFBuilder\DataEFX\Sound\worlds\EFX\efxcw_music.stm
soundflmunge.exe : Warning : Files line 18 and 19 reference the same source file Streams\victory.wav. rep_kam_amb_victory will alias cis_kam_amb_victory
- while munging C:\BFBuilder\DataEFX\Sound\worlds\EFX\efxcw_music.stm
Tried following Mav's ambient music tutorial, I tried using a .wav file with 352 kbps, 16 bit, mono, 22 kHz PCM mode, copied it four times, and renamed each to music1.wav, music2.wav, etc.

Failed so I tried Phazon's settings of 48kHz, 16-bit, stereo and got the same result
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: Ambient Music Munge Failure

Post by ryukaji »

Mavs tutorial doesnt work, as far as I know, so follow the tutorial Vyse made cause that works and so Ive been able to have custom music in maps
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Ambient Music Munge Failure

Post by Maveritchell »

ryukaji wrote:Mavs tutorial doesnt work, as far as I know, so follow the tutorial Vyse made cause that works and so Ive been able to have custom music in maps
I've never had a problem with custom music. I suppose I could have mistyped something, but what I wrote is basically just an extension of Vyse's tutorial. Maybe I'll redo it sometime, since people always seem to have a problem with custom music.

And in no way do I mean to condescend, but tutorials always work best for me when I make an effort to learn how things work and why instead of just "following instructions."
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: Ambient Music Munge Failure

Post by ryukaji »

Yeah you probably should check over it cause somethings not right cause it doesnt work
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Ambient Music Munge Failure

Post by Maveritchell »

ryukaji wrote:Yeah you probably should check over it cause somethings not right cause it doesnt work
I wouldn't casually dismiss it with "it doesn't work-" because clearly at least one person (me) can get it to work. While I certainly hope it is not, I'm willing to concede that it may be difficult to follow along with or even wrong on minor points, but like I said in my last post; the information is there if you extrapolate from it and don't just regurgitate it.

I will still of course look into it eventually and see if I can't make something a little easier to digest.
Jaspo
Command Sergeant Major
Command Sergeant Major
Posts: 282
Joined: Sun Mar 01, 2009 4:34 am
Projects :: AotC DoW+++Boonta Eve Classic
Games I'm Playing :: WoT MBWBVC Robocraft
xbox live or psn: No gamertag set
Contact:

Re: Ambient Music Munge Failure

Post by Jaspo »

For one thing the order of calls seems to be backwards in Mav's...I'll need to look at Vyse's though, since I can't get custom music to work at all, using bf1 or bf2 munging. My scripts for whatever reason don't seem to like calling two sound sets at once. All of my file info is posted in a different (related) topic on here, erm, I guess on Mav's topic, "(FAQ) Tentative custom ambient music tutorial." I used bf2 munging for that configuration, and it did munge it (using Rend's soundmunge.bat), but it doesn't work.
theITfactor
Chief Warrant Officer
Chief Warrant Officer
Posts: 327
Joined: Wed Jun 28, 2006 12:56 pm
Projects :: The Pwnfest and Games Complex
Games I'm Playing :: SWTOR
xbox live or psn: You and I Know
Location: The Old Republic
Contact:

Re: Ambient Music Munge Failure

Post by theITfactor »

Maveritchell wrote:
ryukaji wrote:Yeah you probably should check over it cause somethings not right cause it doesnt work
I wouldn't casually dismiss it with "it doesn't work-" because clearly at least one person (me) can get it to work. While I certainly hope it is not, I'm willing to concede that it may be difficult to follow along with or even wrong on minor points, but like I said in my last post; the information is there if you extrapolate from it and don't just regurgitate it.

I will still of course look into it eventually and see if I can't make something a little easier to digest.
I showed the tutorial to Phazon and he flipped out a bit, especially about the format of the .wav and the .stm file - he said he would post fixes for the tutorial soon.

Here's an error from BFront2.log
Hidden/Spoiler:
Message Severity: 3
.\Source\LuaHelper.cpp(312)
CallProc failed: bad argument #1 to `SetAmbientMusic' (number expected, got nil)
stack traceback:
[C]: in function `SetAmbientMusic'
(none): in function `ScriptInit'
Post Reply