latimers wrote:My experience is that the "cleanup" happens only on the first running of TS2014 after performing a "Verify Integrity..." and not on a subsequent running of TS2014.
Bob.
OlPaint wrote:It sure would be peachy if I could bulk un-compress the .AP archives from just a list of directory tree folders in each .AP, then bulk set the file attributes to Read/Write for these un-compressed files, thus making a shell for my 2-Clickz #REINSTALL files to reload and reside. Right now RW_Tools does indeed include all these functions but it is a tedious job to undertake for more than one or two times for all the .AP archives we now have. I would like to have the batch executable code to complete all these steps in one fell swoop. Chacal said he was developing just such a utility. I would love to see his code...I used to be proficient at designing BAT files in my old DOS days...But my memory fails me. LOL
@ECHO OFF
REM --------------------------------------------------------
REM AP_Extract.bat
REM Chacal 2013
REM Extracts the Railvehicles folder
REM from every .ap archive in Railworks\Assets,
REM to the appropriate Railworks\Assets\Provider\Product folder,
REM overwriting existing files without prompting,
REM and clears the read-only attributes for the extracted files.
REM I am not responsible for adverse effects to your Railworks installation
REM or if this melts your computer.
REM Always make a backup before using any batch file!
REM *** IMPORTANT *** Change the first line of the script(SET RW=) to your own Railworks folder location
REM --------------------------------------------------------
SET RW=I:\Steam\steamapps\common\railworks
ECHO Processing .ap files, please wait
FOR /F "delims=" %%I in ('DIR /B /S %RW%\Assets\*.ap') DO (
ECHO Extracting %%I
7za.exe x %%I -ir!Railvehicles\* -o%%~dpI -y > NUL
ECHO Clearing read-only attributes
ATTRIB -R %%~dpI\*.* /S > NUL
ECHO.
ECHO.
)
ECHO Finished processing .ap files.
PAUSE
Chacal wrote:Do you want to extract RouteProperties.xml from each route, or
extract ScenarioProperties.xml from each scenario?
Return to TS 2014 - Train Simulator
Users browsing this forum: No registered users and 0 guests