Thank you very much for this amazing tool!
Until recently, I've used the version from 2019-10-04 and I wasn't able to extract every file completely. I've now switched to the latest version (2019-12-30) and I am able to replace D.A.R.T completely with this release! I was able to re-use the list of missing files/folders from D.A.R.T.
The tool is very convenient to use and I've managed to fully automate the extraction of mods/game files:
Code: Select all
:: Build ETS index first
:: Place Map *.scs files in Map_ETS/
:: Index directory
if not exist ".index" mkdir ".index"
set SXC_IDX_PATH=.index
:: Generate index
FOR %%I in ("Map_ETS/*.scs") DO (
sxc.exe "Map_ETS/%%I"
)
:: Build hash database
del /f .index\dblist.txt
FOR %%I in (".index/*.idx") DO (
@echo .index/%%I >> .index/dblist.txt
)
sxc.exe -b .index/dblist.txt
:: Extract *.scs files (use namelist_stuff.txt for missing files)
if not exist "MP_ETS_extracted" mkdir "MP_ETS_extracted"
FOR %%I in ("Map_ETS/*.scs") DO (
if not exist "MP_ETS_extracted/%%I" mkdir "MP_ETS_extracted/%%I"
sxc.exe "Map_ETS/%%I" -bl namelist_stuff.txt -o "MP_ETS_extracted/%%I"
)
(very barebones, you could add variables for the paths, etc.; everyone is welcome to freely use this batch script snippet)
The only thing I am missing, is a native Linux version ...
Btw.: Is it possible to disable the output of currently processed files to the command line? I've tried -q, but it still displays every single file. I think this causes a considerable slowdown, since printing text is usually a very time-consuming operation.
Goodbye. No interest in participating in a community where posts get silently deleted without any explanation.