Utility & Library for decoding stalcraft assets
Project description
sc-file
🇬🇧 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.)
[!IMPORTANT]
Reverse conversion (standard→game) 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.exewithout 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:-Fpicks model format,--skeletonextracts 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")
🔗 Links
📚Documentation: sc-file.readthedocs.io❓Questions? Check FAQ or contact me🐛Found a bug? Open an issue💻Download executable: Latest release🔧Compile from source: Build guide
🤝 Acknowledgments
kommunist2021 · Art3mLapa · n1kodim · TeamDima · BoJIwEbNuK7
IExploitableMan · tuneyadecc · Hazart
Thanks to everyone who reported issues, shared findings, or contributed ideas.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sc_file-5.0.1.tar.gz.
File metadata
- Download URL: sc_file-5.0.1.tar.gz
- Upload date:
- Size: 191.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f52e564be8d802aaa907efec96ea757b7726dc7298b589156f84edab8003ef6
|
|
| MD5 |
b0bae8d12801ffad388ff1471b5f23f6
|
|
| BLAKE2b-256 |
98d00c74213f1b7e1d14ac5c214ed5a023f5ae0093de68e46c263dd836db521d
|
File details
Details for the file sc_file-5.0.1-py3-none-any.whl.
File metadata
- Download URL: sc_file-5.0.1-py3-none-any.whl
- Upload date:
- Size: 226.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53374ada91122a905dc573e5c44012b335ed2eca95666539efda7c0a35e6faa3
|
|
| MD5 |
238a443195734e891498e64ed002691d
|
|
| BLAKE2b-256 |
777ef093664238252d0d96362b6c9210ac127a8d068c398521a80d45cf6ce68c
|