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

.mcsb, .efkmodel

β†’

.obj, .glb, .fbx

πŸŒ€ Animation

.mcvd + .mcsb,
.mcal + .mcsb

β†’

.glb

🧱 Texture

.ol

β†’

.dds

πŸ—ΊοΈ Tiles

pda/*.ol

β†’

.jpeg, .png

πŸ–ΌοΈ Image

.mic

β†’

.png

πŸ—ƒοΈ Archive

.texarr

β†’

.zip

⛰️ Region

.mdat

β†’

.mca

βš™οΈ NBT

itemnames.dat common
prefs sd0-4

β†’

.json

Details about formats β†’

Important

Reverse conversion (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.exe in File Explorer.

  • Command line: run scfile.exe --help for commands and options.

For example#
scfile.exe model.mcsb -F glb --skeleton
This exports the model and its armature to GLB.
Usage guide for other options.

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])

Complete library documentation β†’

🀝 Acknowledgments#

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

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