Euro Truck Simulator 2 - Can't reimport to *.scs

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
pietrekk
Posts: 4
Joined: Sat Aug 05, 2017 10:05 pm

Euro Truck Simulator 2 - Can't reimport to *.scs

Post by pietrekk »

Hello, I tried to use your script to reimport. I wanted to try to reimport the entire game files because i wanted to check something how it will work, but I can't reimport a file because of that error
" Error: unknown signature SiiN

- 0 files reimported in 0 seconds
coverage file 0 0% 4 882 . offset 00000004
- open input file C:\Users\pietrekk\Desktop\Nowy folder (2)\1\.\def\vehicle\truc
k\hybrid.1\paint_job\rcab_paintjob_mighty_griffin_v8_a.sii
- open script C:\Users\pietrekk\Desktop\Nowy folder (2)\ssc.bms
- set output folder C:\Users\pietrekk\Desktop\Nowy folder (2)\1

offset filesize filename
--------------------------------------
Error: unknown signature SiiN
"
The game doesn't accept if I pack the files with 7zip inside game folder but only accepts when i paste an archive to mod folder which isnt good for me because I want to check something (I will tell you on Private message about what thing I want to check)
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Euro Truck Simulator 2 - Can't reimport to *.scs

Post by aluigi »

read section 3 of http://aluigi.org/papers/quickbms.txt because you are wrongly using the reimport feature

If that's still not clear take a look at this example:
viewtopic.php?p=23032#p23032
pietrekk
Posts: 4
Joined: Sat Aug 05, 2017 10:05 pm

Re: Euro Truck Simulator 2 - Can't reimport to *.scs

Post by pietrekk »

I'm doing the same like you said.
Extract files to folder, then select reimport.bat and as output a scs file or folder is doing the same

Code: Select all

Error: unknown signature SiiN

- 0 files reimported in 0 seconds
  coverage file 0     0%   4          780        . offset 00000004
- open input file C:\Users\pietrekk\Desktop\Nowy folder (2)\1\.\manifest.sii
- open script C:\Users\pietrekk\Desktop\Nowy folder (2)\ssc.bms
- set output folder C:\Users\pietrekk\Desktop\Nowy folder (2)\przek

  offset   filesize   filename
--------------------------------------
Error: unknown signature SiiN

- 0 files reimported in 1 seconds
  coverage file 0     1%   4          334        . offset 00000004
- open input file C:\Users\pietrekk\Desktop\Nowy folder (2)\1\.\utc_description.
txt
- open script C:\Users\pietrekk\Desktop\Nowy folder (2)\ssc.bms
- set output folder C:\Users\pietrekk\Desktop\Nowy folder (2)\przek

  offset   filesize   filename
--------------------------------------
Error: unknown signature Ulti

- 0 files reimported in 0 seconds
  coverage file 0     1%   4          345        . offset 00000004
- open input file C:\Users\pietrekk\Desktop\Nowy folder (2)\1\.\utc_icon.jpg
- open script C:\Users\pietrekk\Desktop\Nowy folder (2)\ssc.bms
- set output folder C:\Users\pietrekk\Desktop\Nowy folder (2)\przek

  offset   filesize   filename
--------------------------------------
Error: unknown signature ÿØÿà

- 0 files reimported in 0 seconds
  coverage file 0     0%   4          17431      . offset 00000004
pietrekk
Posts: 4
Joined: Sat Aug 05, 2017 10:05 pm

Re: Euro Truck Simulator 2 - Can't reimport to *.scs

Post by pietrekk »

So what's wrong?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Euro Truck Simulator 2 - Can't reimport to *.scs

Post by aluigi »

This is wrong:
I'm doing the same like you said.
I have no other ways to explain what is already clear in those two links I gave you so I can't help you.
pietrekk
Posts: 4
Joined: Sat Aug 05, 2017 10:05 pm

Re: Euro Truck Simulator 2 - Can't reimport to *.scs

Post by pietrekk »

Yuup, my brain now understood. Is any possiblity to get decrypted file names?https://imgur.com/a/w21GC
I tried that to get info about files. But I got only some hex.
quickbms -l -V script.bms archive.dat > info.txt

Code: Select all

. 00000000 getdstr SIGN       "SCS#" 4
    53 43 53 23                                       SCS#
. 00000004 get     DUMMY      0x00000001 4
. 00000008 get     DUMMY      0x59544943 4
. 0000000c get     FILES      0x00001e81 4
. 00000010 get     OFFSET     0x00001000 4
. 00001000 getdstr DUMMY      "" 8
    f5 de 29 90 8d 75 07 00                           ..)..u..
. 00001008 get     OFFSET     0x0007564f 4
. 0000100c get     DUMMY      0x00000000 4
. 00001010 get     TYPE       0x00000006 4
. 00001014 get     CRC        0xcbc7c05a 4
. 00001018 get     SIZE       0x0000003c 4
. 0000101c get     ZSIZE      0x00000037 4
  0007564f 60         00000000.dat
.

like that.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Euro Truck Simulator 2 - Can't reimport to *.scs

Post by aluigi »

I'm happy that you accomplished the reimporting.
Unfortunately there are no filenames stored in the "SCS#" archives.