This CLI utility is designed to merging stalcraft map into single image.
You can use compiled executable from Releases page.
-
Copy encrypted map files.
Move map files with
.olor.micextension to/workspace/1-encrypteddirectory.Directory
/workspacemust be in same location asscmapmerge.exe.Map files located in
/pdadirectory of game assets. -
Run
scmapmerge.exe.
Tip
You can use --fromassets flag to select map without manual copying.
- Run
scmapmerge.exe. Workspace directories will be created automatically.
-
Delete
/workspacedirectory.or
-
Run
scmapmerge.exewith--clearflag.This will delete all files in
/workspacedirectory, including/workspace/3-output.
-
--helpShow help message. -
-F,--filename- Output Filename. Accepts datetime formatting. Defaults to"Map %Y.%m.%d". -
-S,--suffix- Output Format. (jpg,png,webp,tiff,bmp,dds). Defaults to jpg. -
-P,--preset- Output Preset. (zone,newsever,underpd,...). Defaults to None. -
-L,--limit- Output Resolution Limit. Prevents memory overflow. Specify0to ignore. -
--compress- PNG Compression Level. (0 - 9). Defaults to 6. -
--quality- JPG/WEBP Quality %. (0 - 100). Defaults to 90.
-
-D,--clear- Clear workspace directory. Deletes all files. -
-A,--fromassets- Select map from game assets. No need to manually copy files. -
-N,--nopause- Removes pause before program exit. -
--overwrite- Overwrites an existing output image.
scmapmerge -N -F "Map" -S jpg -P zone --quality 100 --overwriteImportant
You will need poetry to compile. Install it from here.
Tip
Before proceeding, it's recommended to create virtual environment
poetry shellThen install dependencies:
poetry installAnd run script to compile:
poetry run buildExecutable file will be created in /dist directory.