{"name":"CfgConvert","title":"CfgConvert","type":"topic","url":"https://community.bistudio.com/wiki/CfgConvert","revid":349473,"updated":"2023-11-08T16:49:19Z","aliases":[],"markdown":"#### Basic information\n\n**Author:** Bohemia Interactive\n\n**Compatibility:** Armed Assault, Arma 2, Arma 3, DayZ\n\n**Download:** Part of [Arma 3](http://store.steampowered.com/app/233800/) and [DayZ](https://store.steampowered.com/app/830640/DayZ_Tools/) Tools packages on Steam\n\n#### Description\n\n**Description:**\n\nCfgConvert is a command line tool for converting configs between text and binary representation.\nIf you use the interface (cfgConvertGUI), based on the input file, it detects if it needs to `binarize` or `unbinarize`.\n\n#### Usage\n\n**Line call:**\n\ncfgConvert.exe [-bin | -txt | -xml | -q | -test] {[-dst <destination>] <source>}\ncfgConvertGUI.exe\n\n**Options:**\n\n- **-bin** - converts input to binarised config\n- **-txt** - converts input to unbinarised config\n- **-xml** - converts input to XML format\n- **-q** - quiet mode, does not display errors\n- **-test** - test mode, only loads the file and shows potential errors without writing anything\n- **-dst** - defines the output destination\n- **-pcpp** - outputs a preprocessed version of the input file\n\n**Examples:**\n\n```\n// CPP to Bin\ncfgConvert.exe -bin -dst p:\\addon\\config.bin p:\\addon\\config.cpp\n\n// Bin to CPP\ncfgConvert.exe -txt -dst p:\\addon\\config.cpp p:\\addon\\config.bin\n\n// Binarized SQM to unbinarized SQM\ncfgConvert.exe -txt -dst p:\\Arma3\\missions\\myMission\\mission_dest.sqm p:\\Arma3\\missions\\myMission\\mission_source.sqm\n```\n\n#### Licenses\n\n**Licensing:** Bohemia Interactive End User License Agreement\n\n**See also:** [BinToCppAll.bat](https://github.com/irvnriir/ArmaEssentials) for converting all files in a folder and subfolders.","sections":[{"heading":"Basic information","level":4,"markdown":"**Author:** Bohemia Interactive\n\n**Compatibility:** Armed Assault, Arma 2, Arma 3, DayZ\n\n**Download:** Part of [Arma 3](http://store.steampowered.com/app/233800/) and [DayZ](https://store.steampowered.com/app/830640/DayZ_Tools/) Tools packages on Steam"},{"heading":"Description","level":4,"markdown":"**Description:**\n\nCfgConvert is a command line tool for converting configs between text and binary representation.\nIf you use the interface (cfgConvertGUI), based on the input file, it detects if it needs to `binarize` or `unbinarize`."},{"heading":"Usage","level":4,"markdown":"**Line call:**\n\ncfgConvert.exe [-bin | -txt | -xml | -q | -test] {[-dst <destination>] <source>}\ncfgConvertGUI.exe\n\n**Options:**\n\n- **-bin** - converts input to binarised config\n- **-txt** - converts input to unbinarised config\n- **-xml** - converts input to XML format\n- **-q** - quiet mode, does not display errors\n- **-test** - test mode, only loads the file and shows potential errors without writing anything\n- **-dst** - defines the output destination\n- **-pcpp** - outputs a preprocessed version of the input file\n\n**Examples:**\n\n```\n// CPP to Bin\ncfgConvert.exe -bin -dst p:\\addon\\config.bin p:\\addon\\config.cpp\n\n// Bin to CPP\ncfgConvert.exe -txt -dst p:\\addon\\config.cpp p:\\addon\\config.bin\n\n// Binarized SQM to unbinarized SQM\ncfgConvert.exe -txt -dst p:\\Arma3\\missions\\myMission\\mission_dest.sqm p:\\Arma3\\missions\\myMission\\mission_source.sqm\n```"},{"heading":"Licenses","level":4,"markdown":"**Licensing:** Bohemia Interactive End User License Agreement\n\n**See also:** [BinToCppAll.bat](https://github.com/irvnriir/ArmaEssentials) for converting all files in a folder and subfolders."}],"categories":["ArmA: Armed Assault: Official Tools","Arma 2: Official Tools","Arma 3: Official Tools","DayZ: Official Tools"],"groups":["Tools and File Formats"]}