You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 16, 2024. It is now read-only.
Phinehas Beresford edited this page Feb 12, 2024
·
1 revision
Class Systems:
We currently only have 1 class-based system that works with MC3DS's Blang Files.
BLANG Conversions:
Initializing the Input File:
input_file_path=mc3dslib.BlangFile().open(".\\en_GB.json") # Initialzation of Example File (can be *.blang or *.json).
Converting from JSON to BLANG:
blang_file=mc3dslib.BlangFile().fromJson(input_file_path) # 'input_file_path' has to be a *.json file.
Converting from BLANG to JSON:
blang_file=mc3dslib.BlangFile().open(input_file_path) # 'input_file_path' has to be a *.blang file.output_path=".\\"# Any Valid Path can go here for Outputblang_file.toJson(output_path)