Code: Select all
# Euro Truck Simulator 2 / Scania Truck Driving Simulator (SCS format)
#
# Written by Ekey (h4x0r)
# http://www.progamercity.net
#
# script for QuickBMS http://quickbms.aluigi.org
#
# For decrypt files with header 3nK use SCSSIITool
idstring "SCS#"
get VERSION long
idstring "CITY"
get FILES long
goto 0x1000
for i = 0 < FILES
get HASH1 long
get HASH2 long
get OFFSET long
get NULLS long
get FLAG long
get CRC long
get SIZE long
get ZSIZE long
string NAME p= "%08X%08X" HASH1 HASH2
if SIZE == ZSIZE
log NAME OFFSET SIZE
else
clog NAME OFFSET ZSIZE SIZE
endif
next i
Code: Select all
[Usage]
SCSSIITool <InFILE> <OutFILE>
[Example]
SCSSIITool 18C69F3DD9D3D2A2 18C69F3DD9D3D2A2.txt