18 Wheels of Steel series def. compression

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
RubberdaTruck
Posts: 4
Joined: Fri Oct 20, 2017 5:26 pm

18 Wheels of Steel series def. compression

Post by RubberdaTruck »

Greetings fellow code hunters, I am looking for a sufficient way dump/decompress 18 Wheels of Steel Haulin's definition files and one in specific, local_base.def. I had modified games font system for 2K resolution I usually play ETS2 with, that I need to conduct further check with both the file and maybe tune it up albeit it's hard to say.

Got a feeling it uses some standard compression, weird guess eheeh. Whether that or something more different, I am not sure. Running retail game with patch 1.08 already installed.

This is first 16 lines of hexadecimal code:

Code: Select all

33 6E 4B 01 00 58 05 31 46 7F A1 8B E5 9F BA 9E B9 80 4E 7C 1E 33 FF 95 ED C8 15 31 79 6C 67 4C 37 1C C2 AB 9A B2 26 4B 18 31 80 A8 D0 BF 0C 23 4B 6D AF 99 EF D3 55 46 00 2A E7 D8 FC 9B 9A A0 D4 E0 20 04 6A 52 FF EA 9D B6 69 42 38 5F 23 7B 00 00 DC A6 D7 F4 64 5C 2F 4B D1 EF 94 A0 BA C1 F7 D6 1F 36 5F 70 E5 DA F2 95 4B 79 56 3B 51 63 0F 20 E8 D9 B7 C7 02 3C 4E 6A A0 98 E2 8F DC EE DA B2 2C 56 2E 12 83 A0 D4 F2 27 4D 71 5E 75 54 6A 17 D5 E1 82 A2 6A 73 71 52 87 82 C8 E0 D7 C6 A8 92 5C 6D 17 34 B3 D3 9B 99 33 28 16 7E 8A B4 8A F0 33 07 7C 5E 9C B9 80 BE 60 1D 32 07 0D 61 55 63 A9 97 FF C3 49 67 15 7B F7 D4 A5 8B BD 9C AA C5 1D 3C 42 62 F4 99 B6 84 14 6D 14 20 3E 08 7E 56 CC B1 D6 F2 20 5E 3B 15 C0 E2 81 FF CC FE CA B1 79 5B 2A 02 82 F9 D6 E3 31 5D 61 4E 45 64
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: 18 Wheels of Steel series def. compression

Post by aluigi »

There are no def files in 18 WoS Extreme Trucker or in ETS.
Upload the whole def file.
RubberdaTruck
Posts: 4
Joined: Fri Oct 20, 2017 5:26 pm

Re: 18 Wheels of Steel series def. compression

Post by RubberdaTruck »

For reference, its base.scs where this is found. As said SCSSoftware games tend to use compressed game data than completely open filesystem.

I can't talk about Extreme Trucker, disliked the drive through this-and-that route contrast over to older titles. it can only hold a candle to haulins.

Here you go up'd on my Google Drive, think you can figure the compression? Years ago I had found a way to turn this file into readable format for PTTM though damn me after I stopped playing any truck sims.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: 18 Wheels of Steel series def. compression

Post by aluigi »

yeah I meant that there is no def in base.scs of the games I mentioned.
The one you uploaded seems encrypted.
Do you know if Scania, Truck & Trailers and Bus Driver have this def file too?
RubberdaTruck
Posts: 4
Joined: Fri Oct 20, 2017 5:26 pm

Re: 18 Wheels of Steel series def. compression

Post by RubberdaTruck »

Since Bus Driver bases on the old Prism3d engine I am certain so. On the other hand, never got around play Scania Truck or Truck & Trailers, shallow games personally. In fact I think they utilize ETS' filesystem, someobody else who owns might shed a light into this
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: 18 Wheels of Steel series def. compression

Post by aluigi »

Script 0.2.2 with support for the encrypted "3nK" def files:
http://aluigi.org/bms/scsgames.bms

You don't need to reimport/re-encrypt the files you edit because, apparently, the game checks the "3nK" magic and disables the decryption if not found.
Have fun.