# extract-mission
Take a DCS World mission **.miz** file or list of files, extract the **mission** file and convert it to json format in the **out** folder.

# Requirements

To use this tool, you will need to have NodeJs correctly installed on your computer.

You can find it here :
https://nodejs.org/dist/v18.16.0/node-v18.16.0-x64.msi

# How to use
you will have to run the following commands :
```shell
npm install @jtff/extract-mission
node extract-mission.js --help
```

will gve you all the help you need.

```
extract-mission v0.1.0
node-18 <command>

Commands:
node-18 weather_preset <file>             Extract the weather preset from
[--preset=preset_name] [--hide=true]      mission
node-18 weather_batch <folder>            Extract all the weather preset from
[--hide=true]                             all the .miz files in the given
<folder>

Options:
--version  Show version number                                   [boolean]
-d, --debug    Run with debug                                        [boolean]
--help     Show help                                             [boolean]
```


