Index#
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.
Type |
Game formats |
โ |
Standard formats |
|---|---|---|---|
๐ง Model |
|
โ |
|
๐งฑ Texture |
|
โ |
|
๐ผ๏ธ Image |
|
โ |
|
๐๏ธ TextureArray |
|
โ |
|
๐บ Region |
|
โ |
|
โ๏ธ NBT* |
|
โ |
|
* NBT refers to specific files (itemnames.dat, prefs, sd0, etc.)
See also
Important
standard โ game) is not available.๐ Installation#
Three ways to get started: download, install, or compile.
๐ป Download executable#
scfile.exe available on Releases pageUsage:
๐ฅ๏ธ 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 --skeletonOptions in example:-Fpicks model format,--skeletonextracts model armature.
- ๐ Command Line:
๐ 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#
๐ Library#
Install latest version:
pip install sc-file -U
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")
See also
๐ 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.