Releases: yechentide/dst-extractor
Releases · yechentide/dst-extractor
v1.1.1
Features
Change implementations to directly specify the unzipped directory without using the unzip command.
lua extract-worldgen-vanilla.lua ${dst_version} ${path_to_unzipped_scripts_dir}
lua extract-worldgen-vanilla.lua ${dst_version} ${path_to_unzipped_scripts_dir} ${output_dir_path}
v1.1.0
Features
extract-server-worldgen.lua
is renamed to extract-worldgen-vanilla.lua
.
lua extract-worldgen-vanilla.lua ${path_to_dst_server_dir} ${output_dir_path}
lua extract-mod-config.lua ${path_to_target_mod_dir} ${output_dir_path} ${lang_code}
lua extract-worldgen-override.lua ${path_to_shard_dir} ${output_dir_path}
lua extract-mod-override.lua ${path_to_shard_dir} ${output_dir_path}
Output Example
Templates are placed in json-templates directory.
v1.0.0
Features
- Execute settings from server scripts, and save as json files
# You can also use luajit
lua extract-server-worldgen.lua ${path_to_dst_server_dir}
lua extract-server-worldgen.lua ${path_to_dst_server_dir} ${path_to_output_folder}
Output Example
// ja.forest.master.json
{
"version": "588693",
"language": "ja",
"location": "forest",
"is_master": true,
"worldgen_group": [
{
"name": "global",
"label": "グローバル",
"items": [
{
"name": "season_start",
"label": "最初の季節",
"default": "default",
"options": [
{ "data": "default", "text": "秋" },
{ "data": "winter", "text": "冬" },
{ "data": "spring", "text": "春" },
{ "data": "summer", "text": "夏" }
],
"widget_type": "optionsspinner",
"image": "season_start.tex",
"atlas": "xxxxxxxxxx.xml",
"options_remap": /*nullable*/ {
"img": "blank_season_red.tex",
"atlas": "images/customisation.xml"
}
}
]
},
{}
],
"worldsettings_group": [
// same structure as above
]
}