Archive::SCS — Mac / Linux tool to read .scs archives

Forum rules
SCS as a company do not wish to have paid mods on this forum. While we understand that not all paid mods use the Intellectual Property of other companies/people, it is very hard to moderate what is and isn't acceptable when money is involved. There are also concerns that it could look unfavorable to potential work partners going forward if SCS allow mods that may potentially use unlicensed branding.
Posting in the Mods forum (ATS and ETS2) is restricted to sharing free-to-the-public mods and providing support for mods. For more details, please check the Forum Rules.
nautofon
Posts: 1482
Joined: 03 Mar 2019 19:53
Location: Europe, playing ATS

Archive::SCS — Mac / Linux tool to read .scs archives

#1 Post by nautofon » 21 May 2024 21:15

Archive::SCS is a distribution of Perl modules to work with .scs archive files.

It includes scs_archive, a command-line tool to easily read the contents of .scs files. The tool is designed for Linux and macOS. (I'm told it works on Windows, too, but I personally have zero interest in Windows, so I wouldn't know.)

➡️ Manual page for "scs_archive" on MetaCPAN

➡️ Source repository for Archive::SCS on GitHub

Installation requires Perl v5.34 or later and is easiest by using cpanminus:

Code: Select all

cpanm Archive::SCS

scs_archive --version
If you're unfamiliar with Perl, please refer to the readme file in the source repository for further details regarding the installation.


(By the way, there's also a separate module for reading the contents of SII files, Data::SCS::DefParser. It has no command-line interface, but you can use it through Perl.)
Last edited by nautofon on 08 Mar 2025 02:13, edited 4 times in total.
For driving without GPS navigation:  ATS Company/Facility Directory — C/FD
nautofon
Posts: 1482
Joined: 03 Mar 2019 19:53
Location: Europe, playing ATS

Re: Archive::SCS — Mac / Linux tool to read .scs archives

#2 Post by nautofon » 26 May 2024 23:36

The initial version is now public. It has full support for HashFS v1 and limited support for HashFS v2 (game version 1.50+).

The limitation is that texture objects are not yet implemented for HashFS v2. I expect I'll get around to work on that eventually, but I currently have no need to read or write texture objects myself, so it'll take a while.
For driving without GPS navigation:  ATS Company/Facility Directory — C/FD

Return to “Others”

Who is online

Users browsing this forum: CCBot [Bot]