CfgConvert: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(Fix description, Add categories)
Line 1: Line 1:
{{Tool|=
{{Tool


|AUTHOR= [[:Category:Projects|Bohemia Interactive]]
|AUTHOR= [[:Category:Projects|Bohemia Interactive]]
Line 5: Line 5:
|VERSION=
|VERSION=


|COMPATIBILITY= [[:Category:Armed Assault|Armed Assault (ArmA)]], [[:Category: Arma 3|Arma 3]], [[:Category: DayZ|DayZ]]
|COMPATIBILITY= [[:Category:Armed Assault|Armed Assault]], [[:Category: Arma 2| Arma 2]], [[:Category: Arma 3|Arma 3]], [[:Category: DayZ|DayZ]]


|DOWNLOAD= Part of [http://store.steampowered.com/app/233800/ Arma 3] and [https://store.steampowered.com/app/830640/DayZ_Tools/ DayZ] Tools packages on Steam
|DOWNLOAD= Part of [http://store.steampowered.com/app/233800/ Arma 3] and [https://store.steampowered.com/app/830640/DayZ_Tools/ DayZ] Tools packages on Steam


|DESCRIPTION= CfgConvert is a command line tool for converting configs between text and binary representation. <br>
|DESCRIPTION= CfgConvert is a command line tool for converting configs between text and binary representation.<br>
If you use the interface (cfgConvertGUI), based on the input file, it detects if it needs to `binarize` or `unbinarize`.
If you use the interface (cfgConvertGUI), based on the input file, it detects if it needs to `binarize` or `unbinarize`.


Line 16: Line 16:
     cfgConvertGUI.exe
     cfgConvertGUI.exe


|OPTIONS=
|OPTIONS= <nowiki/>
<br>
* '''-bin''' - converts input to binarised config
'''-bin'''<br>
* '''-txt''' - converts input to unbinarised config
'''-txt'''<br>
* '''-xml''' - converts input to XML format
'''-xml'''<br>
* '''-q'''
'''-q'''<br>
* '''-test'''
'''-test'''<br>
* '''-dst''' - defines the output destination
'''-dst'''<br>


|EXAMPLE=
|EXAMPLE=
<syntaxhighlight lang="php"> // Bin to CPP
<code>{{cc|CPP to Bin}}
cfgConvert.exe -bin -dst p:\addon\config.bin p:\addon\config.cpp
cfgConvert.exe {{Color|darkorange|-bin}} {{Color|green|-dst}} p:\addon\config.bin {{Color|purple|p:\addon\config.cpp}}


// CPP to Bin
{{cc|Bin to CPP}}
cfgConvert.exe -txt -dst p:\addon\config.cpp p:\addon\config.bin
cfgConvert.exe {{Color|darkorange|-txt}} {{Color|green|-dst}} p:\addon\config.cpp {{Color|purple|p:\addon\config.bin}}


// Binarized SQM to unbinarized SQM
{{cc|Binarized SQM to unbinarized SQM}}
cfgConvert.exe -txt -dst p:\Arma3\missions\myMission\mission_dest.sqm p:\Arma3\missions\myMission\mission_source.sqm
cfgConvert.exe {{Color|darkorange|-txt}} {{Color|green|-dst}} p:\Arma3\missions\myMission\mission_dest.sqm {{Color|purple|p:\Arma3\missions\myMission\mission_source.sqm}}
 
</code>
</syntaxhighlight>


|NOTES=
|NOTES=
Line 47: Line 45:
[[Category:Official Tools]]
[[Category:Official Tools]]
[[Category:ArmA: Official Tools]]
[[Category:ArmA: Official Tools]]
[[Category:ArmA 2: Official Tools]]
[[Category:Arma 3: Official Tools]]
[[Category:Arma 3: Official Tools]]
[[Category:DayZ: Official Tools]]

Revision as of 16:57, 15 June 2020

Basic information

Author:
Bohemia Interactive
Compatibility:
Armed Assault, Arma 2, Arma 3, DayZ
Download:
Part of Arma 3 and DayZ Tools packages on Steam

Description

Description:
CfgConvert is a command line tool for converting configs between text and binary representation.
If you use the interface (cfgConvertGUI), based on the input file, it detects if it needs to `binarize` or `unbinarize`.

Usage

Line call:
cfgConvert.exe [-bin | -txt | -xml | -q | -test ] {[-dst <destination>] <source>}
cfgConvertGUI.exe
Options:
  • -bin - converts input to binarised config
  • -txt - converts input to unbinarised config
  • -xml - converts input to XML format
  • -q
  • -test
  • -dst - defines the output destination
Examples:
// CPP to Bin cfgConvert.exe -bin -dst p:\addon\config.bin p:\addon\config.cpp // Bin to CPP cfgConvert.exe -txt -dst p:\addon\config.cpp p:\addon\config.bin // Binarized SQM to unbinarized SQM cfgConvert.exe -txt -dst p:\Arma3\missions\myMission\mission_dest.sqm p:\Arma3\missions\myMission\mission_source.sqm

Licenses

Licensing:
Bohemia Interactive End User License Agreement
See also:
BinToCppAll.bat for converting all files in a folder and subfolders.