Code: Select all
@echo off
rem -------------------------------------------------
rem extract_game_files.cmd
rem Copy all game content from ETS2
rem This overwrite existing files with new content
rem If you want add version number to an existing game folder create a new game folder
rem
rem -------------------------------------------------
rem This command file can be used to copy and extract game data to the root of the destination folder
rem Usage create a new destination folder and copy this file to the root of the new folder
rem eg <drive>\Data\ETS2\game\extract_game_files.cmd
rem Execute the command file and all SCS files will be copy from base to destination folder and extracted here
rem
rem -------------------------------------------------
rem Please note: scs_extractor.exe can be found here:
rem https://modding.scssoft.com/wiki/Documentation/Tools/Game_Archive_Extractor
rem Place the extractor in the ETS2 folder, eg ..\steamapps\common\Euro Truck Simulator 2\scs_extractor.exe
rem -------------------------------------------------
rem Functional overview
rem - copy the extractor to current folder
rem - copy all files with extension SCS to current folder
rem - extract all files with extension SCS found
set startTime=%time%
echo Started at %time%
Set source=D:\Program Files (x86)\Steam\steamapps\common\Euro Truck Simulator 2
@echo on
copy /y "%source%\scs_extractor.exe"
copy /y "%source%\*.scs"
for /r %%v in (*.scs) do scs_extractor "%%v"
@echo Started at %startTime%
@echo Stopped at %time%
@echo on
pause