ETO music swapper problems

mongoose

SOH-CM-2023
This is seriously irritating! I have gone back to no swapper and works as should. Gone to era 1 and spawns 1 reinstalled MS and adjusted the 2 batch files accordingly (and since eras change I have done correctly and have lots of diff installs so know how) BUT music always era 1 ! :( :banghead:

Once again
@ECHO OFF
CLS
ECHO.
ECHO.
ECHO WELCOME TO THE CFS3 ETO EXPANSION MUSIC SWAPPER
ECHO.
ECHO.
ECHO.
:pRESENT
IF NOT EXIST "C:\CFS3 ETO Expansion\1945_qclocations.xml" GOTO :1945_ERA
IF NOT EXIST "C:\CFS3 ETO Expansion\1944_qclocations.xml" GOTO :1944_ERA
IF NOT EXIST "C:\CFS3 ETO Expansion\1943_qclocations.xml" GOTO :1943_ERA
IF NOT EXIST "C:\CFS3 ETO Expansion\bob_qclocations.xml" GOTO :BOB_ERA
IF NOT EXIST "C:\CFS3 ETO Expansion\1936_qclocations.xml" GOTO :1936_ERA
:1936_ERA
......................

REN 1945_uimusic.wav uimusic.wav
:END
CD "C:\CFS3 ETO Expansion"


and

@ECHO OFF
CLS
CALL ETOEraSwapper.bat
CD "C:\CFS3 ETO Expansion\global_layer"
CALL ETOGLSwapper.bat
CD "C:\CFS3 ETO Expansion\sounds"
CALL ETOMusicSwapper.bat
START cfs3.exe


And no, I'm not in program folder. Also have installs in a D drive with same problem.:banghead:
 
Don't open them but right click and go to edit. You have to go to properties first and uncheck read only. After editing recheck read only.
 
Ok great but what did you do to edit them cos it doesnt say in the instructions may be it does but I cant find it! Whats different about the MASTERETOSTARTUP.bat and the cfs3 main startup file with the 3 in? thanks, Im trying to fix my install ! The problem is I can't remember what I have installed and not!
 
Well if you right click and go to "edit' then it's like a text doc. Just edit as that and save. If I understand your ?, the MASTERETOSTARTUP.bat is a batch file that tells your install what to do before you actually start the cfs3.exe file which is the instruction in the last line of the MASTERETOSTARTUP.bat. copy and paste yr batch (*.bat) files and tell me what drive, etc., your install is in if you want more help.
 
Hi again thanks for the help, great stuff it looks like this is the problem I didnt edit cos I didnt know or understand how to. so this is what I have in notepad and I see now that I have to change the path to where it is installed. my install now isnt program files but f:\cfs3\ETO Expansion so I will have to change it.
@ECHO OFF
CLS
CALL ETOEraSwapper.bat
CD "C:\Program Files\Microsoft Games\CFS3 ETO Expansion\global_layer"
CALL ETOGLSwapper.bat
CD "C:\Program Files\Microsoft Games\CFS3 ETO Expansion\sounds"
CALL ETOMusicSwapper.bat
START cfs3.exe

Thanks very much Mongoose, I suppose all my other batch files will need the same treatment? Because this install was on win xp64 c drive and before I installed win 7 64 I copied it to my spare f drive and thats where its at now. I have changed some of the files to reflect this through the properties open path. Let me know if you think it can be done or else i will have to re install eto, thanks again, Tony
 
Hi Mongoose and everyone else,

I solved my problems once and for all ! I edited as above but still wouldn't work era stuck in era 1 and denied/error msgs during bat processing. After reading the manuals again I did an orf install and still did not work. I had altered some of the permissions as advised to during set up. I now realised many programs want permission to run so I tried to give the whole eto expansion file admin permission as well as write change files within eto folder. This caused all the folders permissions to change, you can see the changes happening which is good peace of mine its doing something. Guess what I started eto up changed to era 3 and bingo after 2 mins it worked!!!:untroubled:

So I think that might be your problem why sound music swapper isn't working?
 
I'll check it out and let you know! Reading yours further, just wondering what OS you have?
 
Last edited:
Here we go, James,

Mine is installed in C:\Program Files (x86)\Microsoft Games\CFS3 ETO Expansion.

Take a step back and take a deep breath.

Yes, all these lines are necessary.

To edit each file, simply right-click on each and select properties from the menu.

Then UNCHECK the read only box.

Then close and do properties ans Edit and make the necessary changes.

Re-set to read only again for safety's sake.

The only *.bat file that DOES NOT need to be changed is ETOEraSwapper.bat.

Follow the examples below exactly to where your ETO install is located.

I hope this helps.

In main game folder:

MASTERETOSTARTUP.bat:

@ECHO OFF
CLS
CALL ETOEraSwapper.bat
CD "C:\Program Files (x86)\Microsoft Games\CFS3 ETO Expansion\global_layer"
CALL ETOGLSwapper.bat
CD "C:\Program Files (x86)\Microsoft Games\CFS3 ETO Expansion\sounds"
CALL ETOMusicSwapper.bat
START Win-7-cfs3.exe




In sounds folder:

ETOMusicSwapper.bat:

@ECHO OFF
CLS
ECHO.
ECHO.
ECHO WELCOME TO THE CFS3 ETO EXPANSION MUSIC SWAPPER
ECHO.
ECHO.
ECHO.
:pRESENT
IF NOT EXIST "C:\Program Files (x86)\Microsoft Games\CFS3 ETO Expansion\1945_qclocations.xml" GOTO :1945_ERA
IF NOT EXIST "C:\Program Files (x86)\Microsoft Games\CFS3 ETO Expansion\1944_qclocations.xml" GOTO :1944_ERA
IF NOT EXIST "C:\Program Files (x86)\Microsoft Games\CFS3 ETO Expansion\1943_qclocations.xml" GOTO :1943_ERA
IF NOT EXIST "C:\Program Files (x86)\Microsoft Games\CFS3 ETO Expansion\bob_qclocations.xml" GOTO :BOB_ERA
IF NOT EXIST "C:\Program Files (x86)\Microsoft Games\CFS3 ETO Expansion\1936_qclocations.xml" GOTO :1936_ERA
:1936_ERA
IF NOT EXIST bob_uimusic.wav GOTO :BOB_1936GL
IF NOT EXIST 1943_uimusic.wav GOTO :1943_1936GL
IF NOT EXIST 1944_uimusic.wav GOTO :1944_1936GL
IF NOT EXIST 1945_uimusic.wav GOTO :1945_1936GL
IF NOT EXIST 1936_uimusic.wav GOTO :END
:BOB_ERA
IF NOT EXIST 1936_uimusic.wav GOTO :1936_BOBGL
IF NOT EXIST 1943_uimusic.wav GOTO :1943_BOBGL
IF NOT EXIST 1944_uimusic.wav GOTO :1944_BOBGL
IF NOT EXIST 1945_uimusic.wav GOTO :1945_BOBGL
IF NOT EXIST bob_uimusic.wav GOTO :END
:1943_ERA
IF NOT EXIST 1936_uimusic.wav GOTO :1936_1943GL
IF NOT EXIST bob_uimusic.wav GOTO :BOB_1943GL
IF NOT EXIST 1944_uimusic.wav GOTO :1944_1943GL
IF NOT EXIST 1945_uimusic.wav GOTO :1945_1943GL
IF NOT EXIST 1943_uimusic.wav GOTO :END
:1944_ERA
IF NOT EXIST 1936_uimusic.wav GOTO :1936_1944GL
IF NOT EXIST bob_uimusic.wav GOTO :BOB_1944GL
IF NOT EXIST 1943_uimusic.wav GOTO :1943_1944GL
IF NOT EXIST 1945_uimusic.wav GOTO :1945_1944GL
IF NOT EXIST 1944_uimusic.wav GOTO :END
:1945_ERA
IF NOT EXIST 1936_uimusic.wav GOTO :1936_1945GL
IF NOT EXIST bob_uimusic.wav GOTO :BOB_1945GL
IF NOT EXIST 1943_uimusic.wav GOTO :1943_1945GL
IF NOT EXIST 1944_uimusic.wav GOTO :1944_1945GL
IF NOT EXIST 1945_uimusic.wav GOTO :END
:QUIT_MENU
GOTO :END
:BOB_1936GL
REN uimusic.wav bob_uimusic.wav
REN 1936_uimusic.wav uimusic.wav
GOTO END
:1943_1936GL
REN uimusic.wav 1943_uimusic.wav
REN 1936_uimusic.wav uimusic.wav
GOTO END
:1944_1936GL
REN uimusic.wav 1944_uimusic.wav
REN 1936_uimusic.wav uimusic.wav
GOTO END
:1945_1936GL
REN uimusic.wav 1945_uimusic.wav
REN 1936_uimusic.wav uimusic.wav
GOTO END
:1936_BOBGL
REN uimusic.wav 1936_uimusic.wav
REN bob_uimusic.wav uimusic.wav
GOTO END
:1943_BOBGL
REN uimusic.wav 1943_uimusic.wav
REN bob_uimusic.wav uimusic.wav
GOTO END
:1944_BOBGL
REN uimusic.wav 1944_uimusic.wav
REN bob_uimusic.wav uimusic.wav
GOTO END
:1945_BOBGL
REN uimusic.wav 1945_uimusic.wav
REN bob_uimusic.wav uimusic.wav
GOTO END
:1936_1943GL
REN uimusic.wav 1936_uimusic.wav
REN 1943_uimusic.wav uimusic.wav
GOTO END
:BOB_1943GL
REN uimusic.wav bob_uimusic.wav
REN 1943_uimusic.wav uimusic.wav
GOTO END
:1944_1943GL
REN uimusic.wav 1944_uimusic.wav
REN 1943_uimusic.wav uimusic.wav
GOTO END
:1945_1943GL
REN uimusic.wav 1945_uimusic.wav
REN 1943_uimusic.wav uimusic.wav
GOTO END
:1936_1944GL
REN uimusic.wav 1936_uimusic.wav
REN 1944_uimusic.wav uimusic.wav
GOTO END
:BOB_1944GL
REN uimusic.wav bob_uimusic.wav
REN 1944_uimusic.wav uimusic.wav
GOTO END
:1943_1944GL
REN uimusic.wav 1943_uimusic.wav
REN 1944_uimusic.wav uimusic.wav
GOTO END
:1945_1944GL
REN uimusic.wav 1945_uimusic.wav
REN 1944_uimusic.wav uimusic.wav
GOTO END
:1936_1945GL
REN uimusic.wav 1936_uimusic.wav
REN 1945_uimusic.wav uimusic.wav
GOTO END
:BOB_1945GL
REN uimusic.wav bob_uimusic.wav
REN 1945_uimusic.wav uimusic.wav
GOTO END
:1943_1945GL
REN uimusic.wav 1943_uimusic.wav
REN 1945_uimusic.wav uimusic.wav
GOTO END
:1944_1945GL
REN uimusic.wav 1944_uimusic.wav
REN 1945_uimusic.wav uimusic.wav
:END
CD "C:\Program Files (x86)\Microsoft Games\CFS3 ETO Expansion"




In global_layer folder:

@ECHO OFF
CLS
ECHO.
ECHO.
ECHO WELCOME TO THE CFS3 ETO EXPANSION GLOBAL LAYER SWAPPER
ECHO.
ECHO THE CFS3 ETO GLOBAL LAYER SWAPPER WILL NOW CHANGE OUT THE GLOBAL LAYER FILES
ECHO.
PAUSE
ECHO.
:pRESENT
IF NOT EXIST "C:\Program Files (x86)\Microsoft Games\CFS3 ETO Expansion\1945_qclocations.xml" GOTO :1945_ERA
IF NOT EXIST "C:\Program Files (x86)\Microsoft Games\CFS3 ETO Expansion\1944_qclocations.xml" GOTO :1944_ERA
IF NOT EXIST "C:\Program Files (x86)\Microsoft Games\CFS3 ETO Expansion\1943_qclocations.xml" GOTO :1943_ERA
IF NOT EXIST "C:\Program Files (x86)\Microsoft Games\CFS3 ETO Expansion\bob_qclocations.xml" GOTO :BOB_ERA
IF NOT EXIST "C:\Program Files (x86)\Microsoft Games\CFS3 ETO Expansion\1936_qclocations.xml" GOTO :1936_ERA
:1936_ERA
IF NOT EXIST bob_global_layer.csv GOTO :BOB_1936GL
IF NOT EXIST 1943_global_layer.csv GOTO :1943_1936GL
IF NOT EXIST 1944_global_layer.csv GOTO :1944_1936GL
IF NOT EXIST 1945_global_layer.csv GOTO :1945_1936GL
IF NOT EXIST 1936_global_layer.csv GOTO :END
:BOB_ERA
IF NOT EXIST 1936_global_layer.csv GOTO :1936_BOBGL
IF NOT EXIST 1943_global_layer.csv GOTO :1943_BOBGL
IF NOT EXIST 1944_global_layer.csv GOTO :1944_BOBGL
IF NOT EXIST 1945_global_layer.csv GOTO :1945_BOBGL
IF NOT EXIST bob_global_layer.csv GOTO :END
:1943_ERA
IF NOT EXIST 1936_global_layer.csv GOTO :1936_1943GL
IF NOT EXIST bob_global_layer.csv GOTO :BOB_1943GL
IF NOT EXIST 1944_global_layer.csv GOTO :1944_1943GL
IF NOT EXIST 1945_global_layer.csv GOTO :1945_1943GL
IF NOT EXIST 1943_global_layer.csv GOTO :END
:1944_ERA
IF NOT EXIST 1936_global_layer.csv GOTO :1936_1944GL
IF NOT EXIST bob_global_layer.csv GOTO :BOB_1944GL
IF NOT EXIST 1943_global_layer.csv GOTO :1943_1944GL
IF NOT EXIST 1945_global_layer.csv GOTO :1945_1944GL
IF NOT EXIST 1944_global_layer.csv GOTO :END
:1945_ERA
IF NOT EXIST 1936_global_layer.csv GOTO :1936_1945GL
IF NOT EXIST bob_global_layer.csv GOTO :BOB_1945GL
IF NOT EXIST 1943_global_layer.csv GOTO :1943_1945GL
IF NOT EXIST 1944_global_layer.csv GOTO :1944_1945GL
IF NOT EXIST 1945_global_layer.csv GOTO :END
:QUIT_MENU
GOTO :END
:BOB_1936GL
REN global_layer.csv bob_global_layer.csv
REN 1936_global_layer.csv global_layer.csv
REN gsl.lib bob_gsl.lib
REN 1936_gsl.lib gsl.lib
GOTO END
:1943_1936GL
REN global_layer.csv 1943_global_layer.csv
REN 1936_global_layer.csv global_layer.csv
REN gsl.lib 1943_gsl.lib
REN 1936_gsl.lib gsl.lib
GOTO END
:1944_1936GL
REN global_layer.csv 1944_global_layer.csv
REN 1936_global_layer.csv global_layer.csv
REN gsl.lib 1944_gsl.lib
REN 1936_gsl.lib gsl.lib
GOTO END
:1945_1936GL
REN global_layer.csv 1945_global_layer.csv
REN 1936_global_layer.csv global_layer.csv
REN gsl.lib 1945_gsl.lib
REN 1936_gsl.lib gsl.lib
GOTO END
:1936_BOBGL
REN global_layer.csv 1936_global_layer.csv
REN bob_global_layer.csv global_layer.csv
REN gsl.lib 1936_gsl.lib
REN bob_gsl.lib gsl.lib
GOTO END
:1943_BOBGL
REN global_layer.csv 1943_global_layer.csv
REN bob_global_layer.csv global_layer.csv
REN gsl.lib 1943_gsl.lib
REN bob_gsl.lib gsl.lib
GOTO END
:1944_BOBGL
REN global_layer.csv 1944_global_layer.csv
REN bob_global_layer.csv global_layer.csv
REN gsl.lib 1944_gsl.lib
REN bob_gsl.lib gsl.lib
GOTO END
:1945_BOBGL
REN global_layer.csv 1945_global_layer.csv
REN bob_global_layer.csv global_layer.csv
REN gsl.lib 1945_gsl.lib
REN bob_gsl.lib gsl.lib
GOTO END
:1936_1943GL
REN global_layer.csv 1936_global_layer.csv
REN 1943_global_layer.csv global_layer.csv
REN gsl.lib 1936_gsl.lib
REN 1943_gsl.lib gsl.lib
GOTO END
:BOB_1943GL
REN global_layer.csv bob_global_layer.csv
REN 1943_global_layer.csv global_layer.csv
REN gsl.lib bob_gsl.lib
REN 1943_gsl.lib gsl.lib
GOTO END
:1944_1943GL
REN global_layer.csv 1944_global_layer.csv
REN 1943_global_layer.csv global_layer.csv
REN gsl.lib 1944_gsl.lib
REN 1943_gsl.lib gsl.lib
GOTO END
:1945_1943GL
REN global_layer.csv 1945_global_layer.csv
REN 1943_global_layer.csv global_layer.csv
REN gsl.lib 1945_gsl.lib
REN 1943_gsl.lib gsl.lib
GOTO END
:1936_1944GL
REN global_layer.csv 1936_global_layer.csv
REN 1944_global_layer.csv global_layer.csv
REN gsl.lib 1936_gsl.lib
REN 1944_gsl.lib gsl.lib
GOTO END
:BOB_1944GL
REN global_layer.csv bob_global_layer.csv
REN 1944_global_layer.csv global_layer.csv
REN gsl.lib bob_gsl.lib
REN 1944_gsl.lib gsl.lib
GOTO END
:1943_1944GL
REN global_layer.csv 1943_global_layer.csv
REN 1944_global_layer.csv global_layer.csv
REN gsl.lib 1943_gsl.lib
REN 1944_gsl.lib gsl.lib
GOTO END
:1945_1944GL
REN global_layer.csv 1945_global_layer.csv
REN 1944_global_layer.csv global_layer.csv
REN gsl.lib 1945_gsl.lib
REN 1944_gsl.lib gsl.lib
GOTO END
:1936_1945GL
REN global_layer.csv 1936_global_layer.csv
REN 1945_global_layer.csv global_layer.csv
REN gsl.lib 1936_gsl.lib
REN 1945_gsl.lib gsl.lib
GOTO END
:BOB_1945GL
REN global_layer.csv bob_global_layer.csv
REN 1945_global_layer.csv global_layer.csv
REN gsl.lib bob_gsl.lib
REN 1945_gsl.lib gsl.lib
GOTO END
:1943_1945GL
REN global_layer.csv 1943_global_layer.csv
REN 1945_global_layer.csv global_layer.csv
REN gsl.lib 1943_gsl.lib
REN 1945_gsl.lib gsl.lib
GOTO END
:1944_1945GL
REN global_layer.csv 1944_global_layer.csv
REN 1945_global_layer.csv global_layer.csv
REN gsl.lib 1944_gsl.lib
REN 1945_gsl.lib gsl.lib
:END
CD "C:\Program Files (x86)\Microsoft Games\CFS3 ETO Expansion"
 
Hi Grizzly,

I see at the end of masteretostartup.bat you put "START Win-7-cfs3.exe" (win-7-) in the address, what does that do?
Thanks, Tony
 
htpcorsica,

That is so I can play online by way of IP address.

Sorry, forgot to mention that. It is NOT needed for offline play.

That would only be edited into the MASTERETOSTARTUP.bat:.

Yes, the permissions operation is also a necessity.

Hope this helps.
 
I'll check it out and let you know! Reading yours further, just wondering what OS you have?

Win7 x64 I think the same as yours and its a new install 2 weeks+ old. My ETO was copied from my old xpx64 hdd and put on a spare hdd where it is now. I then modified it to work from there them installed eto 1.5 and it was then when I found it was always stuck in era 1 and spawns batch file errors and music swapper playing up. I realised nothing was being changed so changed the settings for the whole eto folder, rt click, properties, security, edit, highlighted admin.. and users and selected full control, ok. I then started eto in say era 3 and it worked and there was no problem with the sound swapper.
It does sound like you could do this for the associated files only that the .bat files change as grizzly says. Best of luck with it. Tony

Thanks for the answer grizzly
 
Well I don't have a problem with how to edit batch files as I have done a lot with about 6 installs! The problem IMO is related to CFS3 and win 7 (pro 64 bit), although I haven't had issues before on that (ie prior to adding music swapper). I guess I'll have to tinker around with the various ideas mentioned and any other that come to mind. Re batch files, all I ever do is just change the directory location and the install name, so those should be OK. :dizzy:
 
Well I don't have a problem with how to edit batch files as I have done a lot with about 6 installs! The problem IMO is related to CFS3 and win 7 (pro 64 bit), although I haven't had issues before on that (ie prior to adding music swapper). I guess I'll have to tinker around with the various ideas mentioned and any other that come to mind. Re batch files, all I ever do is just change the directory location and the install name, so those should be OK. :dizzy:

James, given that your batch file is correct and no errors and permissions are set correctly go to the sound folder.

Make sure you have 4 *_uimusic.wav files and 1 uimusic.wav file. Ok?

Play each of the music files one at a time to make sure each file is the one associated with the correct era. Ok?

If both questions are ok, then I haven't got a clue what could be wrong with your install.
 
I also am having a problem with the music swapper not working in ETO1.5 win7 64.
I followed Grizzly50 procedure to the letter ,I also tried reinstalling the era music swapper batch file with the exect provided, I also made shure I had all of the required files and made shure they worked.
The game works well execpt for the sound not swapping when I change eras, I think I am getting the alternate era sound file not the 1939 version
Is there a way to jumpstart the era music swapper?
Can it be corrupted?
Should I do a reload of ETO?
 
When I try running the MASTERETOSTARTUP.bat that contains the music swapper features I get the message that the pathway to 'cfs3.exe' cannot be found. I am using the same pathway in my ETOMusicSwapper.bat that the one in the ETOGLSwapper.bat :
CD "C:\Program Files (x86)\Microsoft Games\CFS3 ETO Expansion"
That works well.
All the sound files are there and working when opened.
So what else do I have to look for in ordre to get the era music swapper to work?
 
Back
Top