Skip to main content

Utility & Library for decoding stalcraft assets

Project description

sc-file

icon

Pypi License Docs Tests Build Issues

RU

Overview

scfile is a utility and library for converting stalcraft assets (such as models and textures), into standard formats.

this project is unofficial and not related to stalcraft devs. all trademarks and assets belong to their respective owners.

📚 Documentation: sc-file.readthedocs.io
Usage / FAQ / Game Formats / Formats Support / Compile Guide / Library API Reference

🗂️ Supported game formats: .mcsb, .mcsa, .mcvd, .ol, .mic, .texarr.
More about Game Formats...

💻 Executable utility scfile.exe can be downloaded from Releases page or compiled from source
More about Usage...

Why reverse encoding into game formats is unsupported?
And other common questions are answered on FAQ page.

🛠️ Supported Formats

Type Source Output
🧊 Model .mcsb, .mcsa, .mcvd .glb, .obj, .dae, .ms3d
🧱 Texture .ol .dds
🖼️ Image .mic .png
📦 Archive .texarr .zip

More about Formats Support…

🚀 Usage

Command example:

scfile.exe model.mcsb -F dae --skeleton

More about Usage...

📖 Library

To install library for coding, use following command:

pip install sc-file -U

Simple usage example:

from scfile import UserOptions, convert

# Optional convert settings
options = UserOptions(parse_skeleton=True)

# Specific format to format
convert.mcsb_to_obj(source="path/to/model.mcsb", options=options)

# Or auto detect by file suffix
convert.auto(source="path/to/model.mcsb", options=options)

More details about Library...

🤝 Acknowledgments

  • kommunist2021 – file structure research.
  • Art3mLapa – advice, bug reports, contribution.
  • n1kodim – advice, contribution.
  • IExploitableMan – contribution.
  • Sarioga – feedback, bug reports.
  • Hazart – bug reports.

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

sc_file-4.1.2.tar.gz (34.8 kB view details)

Uploaded Source

Built Distribution

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

sc_file-4.1.2-py3-none-any.whl (53.7 kB view details)

Uploaded Python 3

File details

Details for the file sc_file-4.1.2.tar.gz.

File metadata

  • Download URL: sc_file-4.1.2.tar.gz
  • Upload date:
  • Size: 34.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.6

File hashes

Hashes for sc_file-4.1.2.tar.gz
Algorithm Hash digest
SHA256 c248a0fc95cb9d358e16e22f0ee7c2465b0d899ca73a0f7a48e74e2db0af083f
MD5 12b6b3ea7a54d9fa4a70fed1672f6cc3
BLAKE2b-256 3cd4066f895b0ab9009c23d106fc9c3ececba5950a6285378560074a30677193

See more details on using hashes here.

File details

Details for the file sc_file-4.1.2-py3-none-any.whl.

File metadata

  • Download URL: sc_file-4.1.2-py3-none-any.whl
  • Upload date:
  • Size: 53.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.6

File hashes

Hashes for sc_file-4.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c54be72eee32fa5f40046f90a9bd675a15a7805cf4d964857b4e6d91f0b29365
MD5 b1346f5c49021fa87d76ce712296fd46
BLAKE2b-256 ed4246291f9f2bac80156219a0bbadb5bd550ddcb6e7aa5a68025ef4ef2db351

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