Skip to main content

sc-file

icon

Pypi License Docs Tests Build Issues DeepWiki

🇬🇧 English | 🇷🇺 Русский

Overview

scfile is a utility and library for converting proprietary Stalcraft assets formats to standard ones.

This is an unofficial project and is not affiliated with EXBO.

✨ Supported Formats

Type Game formats Standard formats
🧊 Model .mcsb .efkmodel .obj .glb .dae .ms3d .fbx
🧱 Texture .ol .dds
🖼️ Image .mic .png
🗃️ TextureArray .texarr .zip
🗺 Region .mdat .mca
⚙️ NBT* ... .json

* NBT refers to specific files (itemnames.dat, prefs, sd0, etc.)

📚 Detailed formats support →


[!IMPORTANT]
Reverse conversion (standardgame) is not available.
📚 See FAQ for details →

🚀 Installation

Three ways to get started: download, install, or compile.
📚 Usage guide and CLI options →

💻 Download executable

Standalone scfile.exe available on Releases page.
No Python required.

Usage:

  • 🖥️ GUI: launch scfile.exe without arguments to open graphical interface
  • 📥 Drag & Drop: drag file onto scfile.exe
  • 🖱️ Open With: set as default app for supported formats
  • 📟 Command Line: scfile.exe --help
    Command example: scfile.exe model.mcsb -F glb --skeleton
    Options in example: -F picks model format, --skeleton extracts model armature.

🐍 Install Python package

Install:

pip install sc-file        # library + cli
pip install sc-file[gui]   # library + cli + gui

Usage:

  • 📖 Python library: See Library section
  • 🖥️ GUI via package: scfile
  • 📟 CLI via package: scfile --help

🔧 Compile from source

Build from source code using the compile guide.
For developers, contributors, or custom builds.

📖 Library

Install latest version:

pip install sc-file -U

Usage example:

from scfile import convert, formats, Options

# Simple conversion (auto detect format by file suffix)
# User options to control parsing and export settings
convert.auto("model.mcsb", options=Options(skeleton=True))

# Advanced control (manual decoding and data inspection)
# Context manager ensures proper resource cleanup
with formats.mcsb.McsbDecoder("model.mcsb") as mcsb:
    # Access parsed scene data: meshes, bones, etc
    data = mcsb.decode()
    print(f"Meshes: {[mesh.name for mesh in data.scene.meshes]}")
    print(f"Materials: {[mesh.material for mesh in data.scene.meshes]}")
    print(f"Bones: {[bone.name for bone in data.scene.skeleton.bones]}")

    # Export to a specific standard format
    mcsb.to_obj().save("output.obj")

📚 Complete Library API reference →

🔗 Links

🤝 Acknowledgments

kommunist2021 · Art3mLapa · n1kodim · TeamDima · BoJIwEbNuK7
IExploitableMan · tuneyadecc · Hazart

Thanks to everyone who reported issues, shared findings, or contributed ideas.

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-5.2.0.tar.gz (204.9 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-5.2.0-py3-none-any.whl (240.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sc_file-5.2.0.tar.gz
  • Upload date:
  • Size: 204.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for sc_file-5.2.0.tar.gz
Algorithm Hash digest
SHA256 682538cc952b459a502f1ce6d513e2a27afe7306df2a81317bb0bffb6664c501
MD5 00eb8585e9a0cdb60698a9d54682ba5e
BLAKE2b-256 7f3c19c7e09e9f819dda38656787610bf3f84568ba21e8c8da60b7698a3d0c51

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sc_file-5.2.0-py3-none-any.whl
  • Upload date:
  • Size: 240.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for sc_file-5.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1d7ac552e230d3ac75e9372d646cd365e93d8d13be7bb4287b25d7246fac4813
MD5 e75f72ce1f3c053e8ad55f6dae356065
BLAKE2b-256 50ab3ebb550364423cb64011d70d410a08ece7c6e186bf811f1c6eea7baa862f

See more details on using hashes here.

Release history Release notifications | RSS feed

6.1.0

2 files

6.0.0

2 files

5.2.1

2 files

This release

5.2.0 This release

2 files

5.1.1

2 files

5.1.0

2 files

5.0.1

2 files

5.0.0

2 files

4.4.1

2 files

4.4.0

2 files

4.3.0

2 files

4.2.1

2 files

4.2.0

2 files

4.1.2

2 files

4.1.1

2 files

4.1.0

2 files

4.0.1

2 files

4.0.0

2 files

3.6.1

2 files

3.6.0

2 files

3.5.4

2 files

3.5.3

2 files

3.5.2

2 files

3.5.1

2 files

3.5.0

2 files

3.4.1

2 files

3.4.0

2 files

3.3.1

2 files

3.2.0

2 files

3.1.1

2 files

3.1.0

2 files

3.0.7

2 files

3.0.6

2 files

3.0.5

2 files

3.0.4

2 files

3.0.3

2 files

3.0.2

2 files

3.0.1

2 files

3.0.0

2 files

2.0.0

2 files

1.5.1

2 files

1.3.3

2 files

1.3.2

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page