sc-file#
scfile is a program 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 |
|
β |
|
π Animation |
.mcvd + .mcsb,.mcal + .mcsb |
β |
|
π§± Texture |
|
β |
|
πΊοΈ Tiles |
|
β |
|
πΌοΈ Image |
|
β |
|
ποΈ Archive |
|
β |
|
β°οΈ Region |
|
β |
|
βοΈ NBT |
itemnames.dat commonprefs sd0-4 |
β |
|
Important
standard β game) is not available.π Usage#
Download executable#
Download scfile.exe from the Releases page.
Usage:
Graphical interface: launch
scfile.exe.Drag and drop: drag files or folders onto
scfile.exein File Explorer.Command line: run
scfile.exe --helpfor commands and options.
scfile.exe model.mcsb -F glb --skeleton
Install the Python package#
pip install sc-file
pip install sc-file[gui] # extra graphical interface
The base package includes only library and CLI.
Compile from source#
See the build guide for development, contributions, and custom builds.
π Library#
Install or update the package:
pip install sc-file -U
Usage example:
from scfile import convert, formats, Options
# Detect the source format and convert it
convert.auto("model.mcsb", options=Options(skeleton=True))
# Use an explicit conversion and output path
convert.mcsb_to_obj("model.mcsb", "output/model.obj")
# Decode a known format and inspect its data
with formats.McsbDecoder("model.mcsb") as mcsb:
model = mcsb.decode()
print([mesh.name for mesh in model.scene.meshes])
print([bone.name for bone in model.scene.skeleton.bones])
π Links#
β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 Β· BoJIwEbNuK7IExploitableMan Β· tuneyadecc Β· HazartThanks to everyone who reported issues, shared findings, or contributed ideas.