@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
@set BF2_SOUNDPATH="c:\Program Files\LucasArts\Star Wars Battlefront II\"
@rem EDIT THE TWO LINES BELOW TO POINT TO YOUR MOD BY REPLACING SND WITH YOUR WORLD ABBREVIATION
@call soundmungedir _BUILD\sound\worlds\snd\%MUNGE_DIR% sound\worlds\snd sound\worlds\snd\%MUNGE_PLATFORM% %MUNGE_PLATFORM% _BUILD _LVL_%MUNGE_PLATFORM%\sound _BUILD\sound snd
xcopy _LVL_%MUNGE_PLATFORM%\sound\* %BF2_SOUNDPATH%GameData\addon\SND\data\_LVL_PC\Sound\ /Y
@goto exit
:noplatform
@echo Platform must be specified as the first argument
:exit
Topics merged. Next time, please don't make duplicate or multiple topics asking for help with the same problem, especially if it only has been three days. Regardless of the number of days, please just don't do it again. -Staff
Hey GT!
I followed Rends' tutorial on how to add sounds, I munge and the Sound folder doesn't show up in "data_***/_LVL_PC."
I added multiple "ReadDataFile" parts to my LUA to see if it could read correctly:
// AT Walker Common -ATAT ATST ATTE -------------------------
..\..\global\effects\hyd_walker01.wav atst_leg_up01 -resample xbox 22050 pc 22050
..\..\global\effects\hyd_walker02.wav atst_leg_up02 -resample xbox 22050 pc 22050
..\..\global\effects\hyd_walker03.wav atst_leg_up03 -resample xbox 22050 pc 22050
..\..\global\effects\hyd_walker04.wav atst_leg_up04 -resample xbox 22050 pc 22050
..\..\global\effects\hyd_walker05.wav atst_leg_up05 -resample xbox 22050 pc 22050
..\..\global\effects\hyd_walker06.wav atst_leg_up06 -resample xbox 22050 pc 22050
// AT Walker Footsteps XBOX and PC ATTE ATAT ATST----------------------------------
..\..\global\effects\fs_walker_layerA01.wav -resample xbox 22050 pc 22050
..\..\global\effects\fs_walker_layerA02.wav -resample xbox 22050 pc 22050
..\..\global\effects\fs_walker_layerA03.wav -resample xbox 22050 pc 22050
..\..\global\effects\fs_walker_layerA04.wav -resample xbox 22050 pc 22050
..\..\global\effects\fs_walker_layerA05.wav -resample xbox 22050 pc 22050
..\..\global\effects\fs_walker_layerA06.wav -resample xbox 22050 pc 22050
..\..\global\effects\fs_walker_layerB01.wav -resample xbox 22050 pc 22050
..\..\global\effects\fs_walker_layerB02.wav -resample xbox 22050 pc 22050
..\..\global\effects\fs_walker_layerB03.wav -resample xbox 22050 pc 22050
..\..\global\effects\fs_walker_layerB04.wav -resample xbox 22050 pc 22050
..\..\global\effects\fs_walker_layerB05.wav -resample xbox 22050 pc 22050
..\..\global\effects\fs_walker_layerB06.wav -resample xbox 22050 pc 22050
..\..\global\effects\fs_walker_layerC01.wav -resample xbox 22050 pc 22050
..\..\global\effects\fs_walker_layerC02.wav -resample xbox 22050 pc 22050
..\..\global\effects\fs_walker_layerC03.wav -resample xbox 22050 pc 22050
..\..\global\effects\fs_walker_layerC04.wav -resample xbox 22050 pc 22050
..\..\global\effects\fs_walker_layerC05.wav -resample xbox 22050 pc 22050
..\..\global\effects\fs_walker_layerC06.wav -resample xbox 22050 pc 22050
..\..\global\effects\fs_walker_low01.wav -resample xbox 22050 pc 22050
..\..\global\effects\fs_walker_low02.wav -resample xbox 22050 pc 22050
..\..\global\effects\fs_walker_low03.wav -resample xbox 22050 pc 22050
..\..\gcw\effects\wpn_atat_chinBlaster_fire.wav -resample xbox 22050 pc 44100
..\..\gcw\effects\wpn_atst_headBlaster_fire.wav -resample xbox 22050 pc 44100
modmaster13 wrote:I munge and the Sound folder doesn't show up in "data_***/_LVL_PC."
Did you run the fixed "soundmunge" batch file?
Hidden/Spoiler:
@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
@set BF2_SOUNDPATH="c:\Program Files\LucasArts\Star Wars Battlefront II\"
@rem EDIT THE TWO LINES BELOW TO POINT TO YOUR MOD BY REPLACING SND WITH YOUR WORLD ABBREVIATION
@call soundmungedir _BUILD\sound\worlds\snd\%MUNGE_DIR% sound\worlds\snd sound\worlds\snd\%MUNGE_PLATFORM% %MUNGE_PLATFORM% _BUILD _LVL_%MUNGE_PLATFORM%\sound _BUILD\sound snd
xcopy _LVL_%MUNGE_PLATFORM%\sound\* %BF2_SOUNDPATH%GameData\addon\SND\data\_LVL_PC\Sound\ /Y
@goto exit
:noplatform
@echo Platform must be specified as the first argument
:exit