viewtopic.php?f=6&t=5383&p=54269&hilit=backup#p54269
Machinist's batch file is the exact reverse of the backup batch file I posted above:
it is a XCOPY of a backup folder structure over the installed railworks.
So, instead of using this
- Code: Select all
XCOPY %rw% %backup% /Y /S
you use this
- Code: Select all
XCOPY %backup% %rw% /Y /S
The difference is that %backup% does not contain a backup of all your Railworks file, but contains only your modifications to the original game files.
So, for example, you install Krellnut's wagon sounds in this folder structure instead of in your Railworks folder. The you run the batch file.
I use a similar technique, except that I have a separate folder structure for each mod, and my batch file runs XCOPY for each of these.
So it is easy to know which files go with which mod. It also lets me do special processing for certain mods. I can also keep documentation files without copying them over.
My batch file looks like this (part of it):
- Code: Select all
REM Fix for Pacific Surfliner container cranes by Robert J. Meek (robbit)
XCOPY Pac_Surf_Crane_Fix\Content %rw% /Y /S
REM Fix for Dash 9 brakes by Eric Wilson (Ericmopar)
XCOPY Dash_9_BrakeFix\Assets %rw% /Y /S
Rem map David Brindley's GP7 sounds to the RSC HSC GP7 sounds
FOR /d %%i in (%rw%\Assets\DRB_SimStuff\NA\RailVehicles\Diesel\GP7\*) DO XCOPY GP7DRB\GP7a_engine*.bin %%i /Y