Skip to main content

A Python archive format plugin for creating uncompressed SCS (Euro Truck Simulator 2 mod) archives.

Project description

scsarchive

PyPI version

scsarchive is a simple Python utility that registers the .scs archive format — an uncompressed .zip archive used by Euro Truck Simulator 2 and American Truck Simulator mods — for use with Python’s shutil.make_archive() function.

🚀 Features

  • Register .scs as a custom archive format for use with Python's standard shutil module.
  • Automatically writes .scs files as uncompressed .zip archives, fully compatible with SCS Software's games.
  • Clean, reusable module for integration into modding tools or automation scripts.

📦 Installation

pip install scsarchive

🛠️ Usage

import scsarchive
scsarchive.register_scs_format()

import shutil
shutil.make_archive("mymod", "scs", root_dir="mod_files")

🧼 Optional Cleanup

scsarchive.unregister_scs_format()

⚖️License

MIT License

Copyright (c) 2025 Allie Nikol Modern

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Made with 💖 by ~ Allie ~

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scsarchive-1.0.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scsarchive-1.0.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file scsarchive-1.0.0.tar.gz.

File metadata

  • Download URL: scsarchive-1.0.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for scsarchive-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8a87148197bcc400e061913813189d6c77f48b6b6dd54fe77cc6e99e1c72b226
MD5 fbe80c86089898cc2ba18d3e816e3419
BLAKE2b-256 b7f09d17625c7971050500186a2999f1515d90d2ea144d9aaf73ea7a2be72d6b

See more details on using hashes here.

File details

Details for the file scsarchive-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: scsarchive-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for scsarchive-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2519b00a5e3559c13d3a28113704232032ee3e3abc721a8c9522f2a3117cad26
MD5 8222719cdd4bcbd58a5dcf1d808dfe24
BLAKE2b-256 7327c10ae49deb78dc9d60cfee73f891fe307e87be029efa17b5ddd5bbd03b67

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page