-
Notifications
You must be signed in to change notification settings - Fork 4
Convert Worlds
Phinehas Beresford edited this page Feb 12, 2024
·
2 revisions
- Currently this is a "beta" feature and is subject to be included or removed in the first "release" version of this Module.
folder_path = ".\\LoCity\\OliverDIMC" # PATH needs to be pointing to folder where 'level.dat' is located along with world data.
world_icon_path = ".\\world_ico.png" # Is not required for save conversion.
mc3dslib.convert_save(folder_path, world_icon_path)
folder_path = ".\\LoCity\\OliverDIMC\\db\\vdb" # Example PATH
console2bedrock_vdb(folder_path)
folder_path = ".\\LoCity\\OliverDIMC\\db\\cdb" # Example PATH
optional_offset = 0x80 # as it's name suggests, this is optional or required in some circumstances.
console2bedrock_cdb(folder_path, optional_offset)
file_path = ".\\LoCity\\OliverDIMC\\vdb\\newindex.vdb" # Example File PATH, but does need to be a newindex.vdb not a *.cdb file.
convert_lockage(file_path)
level_dat = ".\\LoCity\\OliverDIMC\\level.dat"
level_dat_old = ".\\LoCity\\OliverDIMC\\level.dat_old"
levelname = ".\\LoCity\\OliverDIMC\\levelname.txt"
world_icon = ".\\world_icon.png" # Optional/not required for save conversion
console2bedrock_meta(level_dat, level_dat_old, levelname, world_icon)
converter_path = ".\\mcworld_files"
zip_convert_contents()