• Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

Installation guides for ETO and Rising Sun

It takes a lot of drive space to make 7 free standing copies, but the process is to get the script to run all the way through successfully, and then make a copy of everything, run multicfs3 to set the copy up under a new name, and repeat that until you have the original and 6 copies. Barring that, you can execute the equivalent of the script by making 6 copies hand renaming everything yourself in each one, and running mulitcfs3 to give them new names. With the manual process you also need to replicate the secondary scripts in the global_layer and Microsoft directories as well. Once that's all completed things are working in each one, you can go back through each one and delete any of the files and folders that still have a theater prefix name to reduce the footprint on your hard drive.
 
Also I've noticed that the Theater Selector bat file references Vector folders for AVG, PHILIPPINES, PNG, and SINO but none are present in the RS install. Only Midway, Pearl, and Wake have Vector Folders. Am I missing something?
 
Okay, I'm currently testing a modified bat for for reliability. I've stripped out the redundant REN lines and added a delay timer after each of the two renaming passes so I can see if any renaming errors occurred. It doesn't stop the game from starting, but at least I can see if there were any errors along the way, so I know that I have to go fix them.

I've run it a dozen times without any corruption so far. It seems like the delay timer between the two passes is helping, but only time will tell...
 
Time told me on the 18th theater switch.
The error was that access was denied because a file was in use by another program.
The only folder that was skipped this time was Missions.
Other times it been Terrains2 and/or Facilities, or the Splash screen bmp.
I'm not sure what's hanging onto file access other than CFS3 itself.
So perhaps the reliability solution is to just go do something else for a while between theater changes, or find a way to fully terminate CFS3 at the beginning of the script.
 
I'm trying this bit of code to see if it stops the file access issues.

tasklist /fi "imagename eq cfs3.exe" |find ":" > nul
if errorlevel 1 taskkill /f /im "cfs3.exe" > null

This checks to see if the program's process is still running, and if it is, then terminates it.
 
Never had that issue, till it crashed just months ago. Could very well be the cause. Must have run it over several hundred times in the past few years. A mystery for sure.
 
Last edited:
Tried again ,and to no avail. Could the be something with the Global Layer files that i need to mod ? The bottom of the BAT files there just say "CD" ? Sim goes to second screen then CTD .
 
Checked again deeper. Found i'm missing the "2 philippines xml" in the app data folder . Does anyone have it. Could be the problem. Everything else checks good.
 
Scott, I think there is some confusion, in your app data folder there shouldn't be a file called "2 philippines .xml", however there should be a bat file called "2philippines_uisel.bat"

From the other post in red ( I have added the .bat here)
2. In your appdata folder (the one the path above points to) should have 7 bat files -
2avg_uisel.bat
2midway_uisel.bat
2pearl_uisel.bat
2philippines_uisel.bat
2png_uisel.bat
2sino_uisel.bat
2wake_uisel.bat


Additionally
In your appdata folder as well as the 7 bat files, you should have -
6 X "theatre name" _uisel.xml files (these are the not currently in use theatres)
1 X uisel.xml file (this is the current or last used theatre)
as well as a few other files, not important to theatre changing


In your case, if you cant see a "philippines_uisel.xml" file thats ok because you should have 6 other "theatrenamed"_uisel.xml files
When you cant see a particular one (in your case im assuming philippines_uisel.xml), but you have the other 6, that means the missing one (philippines_uisel.xml) has been renamed to uisel.xml, this is normal, thats what the bat files do.

Below is an image showing my appdata folder, notice I am missing the png_uisel.xml , thats because the last time I ran Rising Sun I was in the PNG theatre, so png_uisel.xml was renamed to uisel.xml
Aydd69R.jpg

Hope this clears it up mate
 
Last edited:
Tried again ,and to no avail. Could the be something with the Global Layer files that i need to mod ? The bottom of the BAT files there just say "CD" ? Sim goes to second screen then CTD .
No, thats correct, in the global layer folder, the .bat files will only have the statement "CD.." at the bottom after the "SUCCESS" header, this means change directory (CD) and the 2 dots (..) mean go up one level ie back to your main game folder from your global_layer folder.
 
Also I've noticed that the Theater Selector bat file references Vector folders for AVG, PHILIPPINES, PNG, and SINO but none are present in the RS install. Only Midway, Pearl, and Wake have Vector Folders. Am I missing something?
Anybody have the missing Vector folders?
 
Major, I don't think you're missing anything. Four theatres are "under construction" but still work,
and the three that aren't under construction have vectors. I had downloaded and installed the
RS_sino-beta-1.1_update (2015) so I also have a vector file for Sino, but none for AVG, Philippines or PNG.
 
Okay. My concern was that the batch file sequence would stop without completing properly when it couldn't find the folder it was looking for as you switched to the Theaters that lack a Vector folder in their list.
 
Excuse my ignorance but what do the vector files do?
Its strange that I've never had any problems yet some do, I had initially the issue with the pathing in the bat files but once I worked that out Ive never had any issues.
 
I think the root of my problem is exiting one theater and starting the next too quickly. "Sometimes" CFS3 is still running a process in the background after the game closes.

Adding

taskkill /f /im "cfs3.exe"
timeout /t 5

to the beginning of the bat file seems to be keeping me out of trouble.

Every once in a while I'll see this kick out an error about not being able to shut the process down, but the additional 5 second pause seems to be enough to let the old instance of cfs3 close before the rest of the batch file executes, so I'm not getting the file/folder locked by another program corruption now that I was before adding this bit of code.
 
Back
Top