Is working as of current version: 1.201
This Python script converts Space Engineers prefabs to Blueprints.
To use P2B, you need Python.
I'm not sure if my new changes break Python 2 Compatibility, Python 3 would be best for now.
- Create a new folder anywhere you like.
- Put all the
.sbc
prefabs that you want to convert in that folder.sbcB5
files are not needed. - Copy the
config.py
andconvert.py
files into the same folder. - Open
config.py
with any text editor. - Edit
BATCH_PATH
to the full path of the folder you created in step 1. - Replace any singular backward slashes
\
with forward slashes/
or double-backward slashes\\
in the path. - The name of the
.sbc
files will be the folders' names. - You can add something to
APPEND
andPREPEND
, P2B will respectively append or prepend those to the path.
(Explained further inconfig.py
)
When you're done editing your settings, save config.py
and double-click on converter.py
.
The blueprints will be put directly into your blueprints folder automatically
The reason many of the older version's settings are not present is that I couldn't find what they referred to,
Such as the dampener settings, or I did not know how to add them at the moment, such as the owner settings
I modified this as a quick solution and it appears to work.
Please report any issues using the GitHub issue tracker.