# wcx_sii_decrypt This is a Total Commander plugin for unpacking SII files: save data from SCS games.
Currently tested on Euro Truck Simulator 2 and American Truck Simulator. Supported types:
Also, the 3NK format is supported, which is used e.g. for the localization files.
The SII/3NK file is opened as an archive containing a single TXT file representing the plain text contents you can view or extract.
Note:
The TXT file size is displayed as 0 because it is impossible to know the size of the decrypted data without actual decrypting, and this can be quite long. I didn't want to make opening the archive too slow.
The project is based on the SII_Decrypt project by František Milt. The DLLs from it are packaged along with the plugin and are used for the actual decrypting and decoding.
The SII_Decrypt
DLLs can be updated independently as long as the binary interface remains compatible.
To build the project you need Microsoft Visual Studio 2015 Community Edition. Other versions, like 2013 or 2017, will probably work too but were not tested. Just open the project and build the Release version for Win32 and x64 architectures.
When the SII_Decrypt
project updates without breaking compatibility it is enough to just replace the DLL files in the respective subdirectory and the plugin installation package. If API changes were introduced you'll need to perform the following steps:
SII_Decrypt
subdirectory (Lazarus-built versions are preferred, because they are both 32- and 64-bit).SII_Decrypt.h
, SII_Decrypt.cpp
, SII_Decrypt.def
to reflect the changes:
genlib.cmd
(don't forget to fix the path to vcvarsall.bat
if you are using a different version of MSVC).