Possible sound munge error

Post everything from general questions, to modding questions, to map WIPs to releases. (SWBF1 only)

Moderator: Moderators

Post Reply
User avatar
giftheck
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2218
Joined: Mon Jan 19, 2009 5:58 pm
Projects :: Star Wars Battlefront Legacy

Possible sound munge error

Post by giftheck »

When I munge sounds, I get the following error when executing the batch file:

"munging bfecw.asfx
The system cannot find the file specified"

However, the LVL file is still created, all SFX appear to be present when I import the LVL file into Audacity and no errors are given in the mungelog. Any idea what's going on here?
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Possible sound munge error

Post by Anakin »

have you changed something after you got the error?? As far as i know (SWBF2 but i think it's simular to SWBF1) the error log file will not be deletet when you get no errors. So it's possible that this error was from an prior munging. Try to delete the error log and remunge.
User avatar
giftheck
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2218
Joined: Mon Jan 19, 2009 5:58 pm
Projects :: Star Wars Battlefront Legacy

Re: Possible sound munge error

Post by giftheck »

After it? No. As I said, the strange thing here is that it does still create the lvl files. Opening these LVL files show that the SFX in question are in fact present.

Normally, I would have thought that if it genuinely could not find a file, it would appear in the mungelog.txt as "Could not find file"
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Possible sound munge error

Post by Anakin »

can you show me your bat file??

I think i know what happens:
munging bfecw.asfx <== just an info what is done right now.
The system cannot find the file specified <== That's not an problem of munging i think it's a windows thing

that's what my munge bat looks like. you see the line @Start _BUILD\PC_MungeLog.txt it will open the munge log after munging. But when there are no errors there will be no munge log. So maybe you have something simular. And windows cannot find the file. Or you have an line that should copy the sound lvl to your project and there is a wrong path.

Code: Select all

@if %1x==x goto noplatform
@set MUNGE_PLATFORM=%1
@set MUNGE_DIR=MUNGED\%MUNGE_PLATFORM%
@rem EDIT THE LINE BELOW TO POINT TO YOUR BF2 INTSALL PATH

@rem Munge global, shell and side specific sound data
@rem Munge world specific sound data
@call soundmungedir _BUILD\sound\worlds\rcm\%MUNGE_DIR% sound\worlds\rcm sound\worlds\rcm\%MUNGE_PLATFORM% %MUNGE_PLATFORM% _BUILD _LVL_%MUNGE_PLATFORM%\sound _BUILD\sound rcm


@rem EDIT THE TWO LINES BELOW TO POINT TO YOUR MOD BY REPLACING SND WITH YOUR WORLD ABBREVIATION

@Start _BUILD\PC_MungeLog.txt

@goto exit
:noplatform
@echo Platform must be specified as the first argument
:exit
User avatar
giftheck
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2218
Joined: Mon Jan 19, 2009 5:58 pm
Projects :: Star Wars Battlefront Legacy

Re: Possible sound munge error

Post by giftheck »

No, in SWBF1, Mungelog is not referenced at all in the soundmunge.bat file, it is instead called by the munge.bat in the _BUILD_LVL folder.
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Possible sound munge error

Post by Anakin »

mg but if the sound lvl works ingame where is the problem??
User avatar
giftheck
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2218
Joined: Mon Jan 19, 2009 5:58 pm
Projects :: Star Wars Battlefront Legacy

Re: Possible sound munge error

Post by giftheck »

Anakin wrote:mg but if the sound lvl works ingame where is the problem??
I have yet to test it to see if it does work.

EDIT: yes, it does seem to work properly, at least on one of the 'affected' sound LVLs. It just seems a bit strange is all. But I haven't tested it on the others that have come up yet.
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Possible sound munge error

Post by Marth8880 »

Hmm. Is that the *only* error you get? What's your ASFX file look like? :o Are you sure every single WAV file referenced in the ASFX file exists in its appropriate directory?
User avatar
giftheck
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2218
Joined: Mon Jan 19, 2009 5:58 pm
Projects :: Star Wars Battlefront Legacy

Re: Possible sound munge error

Post by giftheck »

Marth8880 wrote:Hmm. Is that the *only* error you get? What's your ASFX file look like? :o Are you sure every single WAV file referenced in the ASFX file exists in its appropriate directory?
I'm certain, and it is the only error I get.

Here's a typical ASFX file:

Code: Select all

effects\beamcannon_fire.wav  -resample pc 44100
effects\beamcannon_lp.wav  -resample pc 44100
effects\rep_threeshot_fire.wav  -resample pc 44100
effects\sniper_fire.wav  -resample pc 44100
effects\commpistol_fire.wav  -resample pc 44100
effects\rocket_fire.wav  -resample pc 44100
effects\shotgun_fire.wav  -resample pc 44100
effects\chaingun_fire.wav  -resample pc 44100
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Possible sound munge error

Post by Marth8880 »

Hmm. That's pretty odd. I assume you applied all of the necessary sound munge fixes? :o
User avatar
giftheck
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2218
Joined: Mon Jan 19, 2009 5:58 pm
Projects :: Star Wars Battlefront Legacy

Re: Possible sound munge error

Post by giftheck »

Marth8880 wrote:Hmm. That's pretty odd. I assume you applied all of the necessary sound munge fixes? :o
I believe so, yes.
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Possible sound munge error

Post by Marth8880 »

Which OS are you running?
User avatar
giftheck
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2218
Joined: Mon Jan 19, 2009 5:58 pm
Projects :: Star Wars Battlefront Legacy

Re: Possible sound munge error

Post by giftheck »

Vista Home Premium 32bit. Haven't taken the plunge to newer OS' yet.
Post Reply