[Utility] Extract all game data

Forum rules
SCS as a company do not wish to have paid mods on this forum. While we understand that not all paid mods use the Intellectual Property of other companies/people, it is very hard to moderate what is and isn't acceptable when money is involved. There are also concerns that it could look unfavorable to potential work partners going forward if SCS allow mods that may potentially use unlicensed branding.
Posting in the Mods forum (ATS and ETS2) is restricted to sharing free-to-the-public mods and providing support for mods. For more details, please check chapters [4] and [5] of Forum Rules.
Post Reply
User avatar
Posts: 4493
Joined: 26 Oct 2014 13:42
Location: Denmark

[Utility] Extract all game data

#1 Post by plykkegaard » 24 Oct 2020 11:17

A command file which can be used to extract all game files

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 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 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
Office moved to Fort Collins, Colorado

Post Reply

Return to “Modding Guides”

Who is online

Users browsing this forum: No registered users and 1 guest