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 |
|
|
๐ฆ Archive |
|
|
โ๏ธ Data |
|
|
* NBT refers to specific files (itemnames.dat, prefs, sd0, etc.)
Important
standard โ game) is not available.See also
๐ Quick Start#
Three ways to get started: download, install, or compile.
1. ๐ป Download executable#
scfile.exe available on Releases pageUsage:
- ๐ฅ Drag & Drop: drag file onto
scfile.exe
- ๐ฅ Drag & Drop: drag file onto
- ๐ฑ๏ธ Open With: set as default app for supported formats
- ๐ Command Line:
scfile.exe --help - Example:
scfile.exe model.mcsb -F glb --skeletonOptions:-Fpicks model format,--skeletonextracts armature.
- ๐ Command Line:
2. ๐ Install Python package#
Install:
pip install sc-file
Usage:
๐ Python library: See Library section
๐ CLI via package:
scfile --help
3. ๐ง Compile from source#
๐ Library#
Install latest version:
pip install sc-file -U
from scfile import convert, formats, UserOptions
# Simple conversion (auto detect format by file suffix)
# User options to control parsing and export settings
convert.auto("model.mcsb", options=UserOptions(parse_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
scene = mcsb.decode().scene
print(f"Model total vertices: {sum(m.count.vertices for m in scene.meshes)}")
# 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 ยท n1kodimIExploitableMan ยท Sarioga ยท HazartThanks to everyone who reported issues, shared findings, or contributed ideas.