CHDK conf file to text converter - General Discussion and Assistance - CHDK Forum

CHDK conf file to text converter

  • 2 Replies
  • 2683 Views
*

Offline srsa_4c

  • ******
  • 4451
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

  • *****
  • 1096
Re: CHDK conf file to text converter
« Reply #1 on: 03 / October / 2014, 17:56:40 »
Thank you. Sounds interesting.
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline zeno

  • *****
  • 891
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


SimplePortal 2.3.6 © 2008-2014, SimplePortal