CHDK conf file to text converter

  • 2 Replies
  • 578 Views
*

Offline srsa_4c

  • ******
  • 3530
CHDK conf file to text converter
« on: 03 / October / 2014, 17:40:02 »
Advertisements
Tried searching for a utility like this, but couldn't find any.
Attached is a simple command line utility that takes a CHDK configuration file and converts it to text.

Usage: conf2txt <input file> <output file>

Config values with size of 1..4 bytes will be treated as integer, longer values will be handled as text. The resulting file will contain lines like
<ID> = <value as decimal> (<value as hex>)
<ID> = "string"


I created this to make comparing configurations easier (I had a corrupted conf file on one of my cameras).

C source (not too nice) and Win32 binary attached.

*

Offline koshy

  • *****
  • 686
Re: CHDK conf file to text converter
« Reply #1 on: 03 / October / 2014, 17:56:40 »
Thank you. Sounds interesting.

*

Offline zeno

  • *****
  • 881
Re: CHDK conf file to text converter
« Reply #2 on: 03 / October / 2014, 18:22:38 »
Not as simple, but my CHDK CFG file editor lets you save it in text format. See http://www.zenoshrdlu.com/cfgedit/chdkcfgedit.html
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit

 

Related Topics