Text configuration file CHDK.CFG - Feature Requests - CHDK Forum

Text configuration file CHDK.CFG

  • 10 Replies
  • 7268 Views
*

Offline PS

  • ***
  • 157
  • A610 1.00f
Text configuration file CHDK.CFG
« on: 21 / June / 2008, 20:02:43 »
Advertisements
Anybody considered text configuration file (e.g. like IrfanView)? Sometimes you need to delete old CHDK.CFG losing all settings. With text configuration file you could modify or copy settings.
 ::)

*

Offline jeff666

  • ****
  • 181
  • A720IS
Re: Text configuration file CHDK.CFG
« Reply #1 on: 23 / June / 2008, 13:31:49 »
I vote for text-file configuration, as well (don't have the time to do anything about it, though).

Cheers.


*

Offline zeno

  • *****
  • 891
Re: Text configuration file CHDK.CFG
« Reply #2 on: 23 / June / 2008, 16:57:59 »
I'm currently working on a PC-based config file editor (in java) that will let you browse and edit the current format of CHDK config files. Don't hold your breath, but I hope to have a prototype available in the next few days. Of course, that's not quite what I think you're asking for.
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit

*

Offline zeno

  • *****
  • 891
Re: Text configuration file CHDK.CFG
« Reply #3 on: 24 / June / 2008, 12:24:40 »
It's at a very early stage, but here's a little java program that lets you browse a CHDK.CFG file on a PC (or a Mac).

http://www.zenonic.demon.co.uk/zips/ConfigEditor.jar

Just download the jar file and double click it. Then use browse to locate a CFG file and you should see a list of all the values stored in it.

No editing yet.
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit


*

Offline PS

  • ***
  • 157
  • A610 1.00f
Re: Text configuration file CHDK.CFG
« Reply #4 on: 24 / June / 2008, 21:36:20 »
Thanks for effort, can't wait for further development.

*

Offline zeno

  • *****
  • 891
Re: Text configuration file CHDK.CFG
« Reply #5 on: 25 / June / 2008, 11:49:24 »
Still no editing, but the list now correctly reports values for items that are boolean (ie On or Off) and enumerated (eg clock format, raw extension, zebra mode etc). Updated jar file at http://www.zenonic.demon.co.uk/zips/ConfigEditor.jar
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit

*

Offline zeno

  • *****
  • 891
Re: Text configuration file CHDK.CFG
« Reply #6 on: 28 / June / 2008, 06:56:34 »
The edit functions are now working - see http://www.zenonic.demon.co.uk/kapstuff/zcfgedit.html
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit

*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: Text configuration file CHDK.CFG
« Reply #7 on: 28 / June / 2008, 09:12:25 »
Any reason why this shouldn't work on Linux as well? I tried java -jar *.jar on Debian

$ java -version
java version "1.5.0_15"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
Java HotSpot(TM) Client VM (build 1.5.0_15-b04, mixed mode, sharing)

And only got an error, starting with

Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:620)



*

Offline zeno

  • *****
  • 891
Re: Text configuration file CHDK.CFG
« Reply #8 on: 28 / June / 2008, 09:31:18 »
Well, it would work if I had remembered to use an earlier version of Java. I have 1.6 installed. The current version probably won't work on Mac OSX either (whose Java is 1.4 I think).

My apologies. I'll recompile with an older version and it should be fine.

<edit> Should be fixed now, download and try again!
« Last Edit: 28 / June / 2008, 09:50:54 by zeno »
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit

*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: Text configuration file CHDK.CFG
« Reply #9 on: 28 / June / 2008, 11:43:49 »
Yep, seems to work now, thanks!

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal