brett8883 / Compare_FC_parameters_infos

Tool to compare the parameters of custom_FC.bin to stock via flyc_param_infos file
6 stars 6 forks source link

Compare_FC_parameters_infos

Tools to compare the parameters of custom flight controllers.

In 2.0 two all new tools for faster and easier use.

ExtractCOMPAREtoStock.cmd

compare2STOCK.bat

compareANY2files.bat compare2files.bat will allow you to compare any two files.

- NOTE: The two files you want to compare cannot be outrageously different from eachother. It will try to compare any two files and can rearrange them if out of order but will eventually give up if there are simply too many differences 

You will first be prompted to enter the path to the first file you want to compare. You can instead drag the file into the command line

- Then Press [ENTER]

- Enter path to first file or drag it into cmd window [ENTER]

You will then be promted to enter the path to the second file you want to compare. You can instead drag the file into the command line

- Then Press [ENTER]

BOOM!

Example: Comparison of Factory default parameters and flyc param infos:

Factory_default_parameters

            "maxValue" : 255,

            "defaultValue" : 0,

            "name" : "g_config.airport_limit_cfg.cfg_disable_airport_fly_limit"

FLYC_PARAM_INFOS

            "maxValue" : 255,

            "defaultValue" : 1,

            "name" : "g_config.airport_limit_cfg.cfg_disable_airport_fly_limit"

Factory_default_parameters

            "maxValue" : 4294967295,

            "defaultValue" : 20150910,

            "name" : "g_config.airport_limit_cfg.cfg_limit_data"

FLYC_PARAM_INFOS

            "maxValue" : 4294967295,

            "defaultValue" : 20250910,

            "name" : "g_config.airport_limit_cfg.cfg_limit_data

COMING SOON!

Simply type the name of the Aircraft and the default firmware version youd like to compare to the custom FC.

Add the ability to extract flyc_param_infos file from already compiled custom_FC.bin and automatically compare flyc_param_infos file to stock.

Acknowlegment The extractCOMPAREtostock.bat uses tools from https://github.com/o-gs/dji-firmware-tools by mefistotelis