the collaborative CHDK build - CHDK Releases - CHDK Forum

the collaborative CHDK build

  • 249 Replies
  • 167300 Views
*

Offline Jucifer

  • *****
  • 251
  • [A710IS]
the collaborative CHDK build
« on: 02 / March / 2008, 09:51:57 »
Advertisements
(These few posts are getting ancient.)

Autobuilds of the collaborative CHDK build, provided by Hacki

(If you want to build yourself, try whim's CHDK GCC Compiler Shell, or see tips for compiling CHDK under Windows or Linux on Wikia.)
Also see the commit log.

The build contains a lot of patches and fixes floating around.
Additions compared to the trunk ("allbest" builds) are
- PhyrePhox's customizations (fast override disabling, hide osd elements in playback mode, disable raw saving during video recording, show remaining time in video recording, new scripting commands...)
- wontolla's RAW purge
- m2tk's gui_fselect.c-patch
- CHDKLover's and msl's Symbol Mod
- toinech's custom JPG processing (+1/2EV / Auto DR modes need syscurves.cvf in chdk folder, get CurveUpdate.zip for the .cvf and curve editor) (some info on curves)
- Velo's Lua Scripting Integration
- fantomas' Tv bracketing hotfix for TX1
- fbonomi's shot histogram
- hiker_jon's edge overlay (highly experimental)
- most of cyril42e's modifications (tweaks to menus, display zebra only when necessary, script parameter sets...)
- Bg~'s memory viewer enhancement
- fudgey's disable script parameter list sorting
- CHDKLover's new uBASIC statement: select/case (multi-version)
- when interrupting scripts, try to jump to label "restore"/call function restore() (cyril42e/auj)
- show camera temperatures (CCD, optical, battery)
- unified syntax for scripting commands beginning with "get_", e.g. [p=]get_prop 205 ([]=optional)
- new scripting commands (includes, but not limited to):
    - autostarted (returns 1/true if script was autostarted)
    - get_exp_count (the returned value is incremented by 1 on every exposure, has the same numbers as the files created by the camera (1-9999))
    - is_pressed (similar to is_key, but checks if a button is being pressed, when the command is called)
- whoever's simple code for scriptless remote
- synchable scriptless remote code from Microfunguy's SDM
- faster motion detection (currently only on some cams, just have to add it for the rest, see the next post ;)
- faster menu navigation (shoot_half + up/down, shoot_half/zoom_in/zoom_out + left/right)
- possibly also other stuff. I forget.


(archive of the old thread can be found here)


attached:
- simple exposure counter
- yet another accurate intervalometer
- yet another DOF stacker
« Last Edit: 06 / January / 2009, 21:04:43 by Jucifer »

*

Offline Jucifer

  • *****
  • 251
  • [A710IS]
the collaborative CHDK build: todo
« Reply #1 on: 12 / June / 2008, 16:09:06 »
a short todo list:
+ add an option to set jpeg resolution & quality, when enabling/disabling raw capture (should be set on enable/disable/cam boot?)
+ add movie_status stub for:
  - ixus60_sd600 100a
  - ixus60_sd600 100d
  - ixus65_sd630 100a
  - ixus960_sd950 100d
  - s5is 101a
+ modify platform/model/sub/submodel/lib.c: *vid_get_viewport_live_fb() to decrease motion detection delays for:
  - a450 100d
  - a460 100d
  - a530 100a
  - a550 100c
  - a560 100a
  - a570 101a
  - a620 100f
  - a640 100b
  - a650 100d
  - a700 100b
  - g7 100e
  - g7 100g
  - g7 100i
  - g7 100j
  - ixus700_sd500 101a
  - ixus700_sd500 101b
  - ixus800_sd700 101b
  - ixus800_sd700 100b
  - ixus950_sd850 100c   
  - ixus50_sd400 101a
  - ixus50_sd400 101b
  - ixus55_sd450 100b
  - ixus55_sd450 100c
  - ixus55_sd450 100d
  - ixus65_sd630 100a
  - ixus70_sd1000 100c (verify?)
  - s2is 100e
  - s2is 100f
  - s2is 100g
  - s3is 100a
  - s5is 101a (verify?)
  - tx1 100g
  - tx1 101b
(how to modify the function and how to find the needed addresses, I also tried to make a little guide...)

« Last Edit: 04 / August / 2008, 15:07:13 by Jucifer »

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: CHDK build
« Reply #2 on: 12 / June / 2008, 16:40:59 »
\o/ yay



- reserved, "real" text will follow later :)

*

Offline Jucifer

  • *****
  • 251
  • [A710IS]
the collaborative CHDK build: scripting
« Reply #3 on: 12 / June / 2008, 16:41:54 »
« Last Edit: 06 / January / 2009, 21:02:47 by Jucifer »


*

Offline lukg

  • ***
  • 162
  • Eos 450D+18-55is+55-250is & Powershot S5is - 1.01a
Re: CHDK build
« Reply #4 on: 16 / June / 2008, 17:41:07 »
Nice work!!! I've tried juciphox :) build today but I have some problem with the "purge raw" function in my S5...it seems that does nothing, no crw deleted. Am i missing something?

*

Offline wontolla

  • ****
  • 413
  • S3 & G9 & A720
Re: CHDK build
« Reply #5 on: 16 / June / 2008, 19:08:26 »
Are you manually erasing some JPG files first?
See full explanation of the Purge RAW feature here: Erase JPG along with corresponding CRW in any folder - done

Please let me know if you still have problems with it. Perhaps in it's own thread to keep this one "general".

Re: CHDK build
« Reply #6 on: 21 / June / 2008, 03:14:38 »
Hi,

Congrat to all dev for this great build, lots of usefull stuff ...

But ... it's very hard to follow what are the improvements compared to the basic (or allbests') build
It would be great if the first post of this thread was edited so that 1 line=1 feature.
I know it's a pain in the [admin: avoid swearing please] (and I would do it myself if only I was understanding half of it ...)  but it would be very useful for average end-user like me ...

Anyway, keep up the good work !

Aymeric
« Last Edit: 21 / June / 2008, 03:37:00 by aymeric106 »

*

Offline DataGhost

  • ****
  • 314
  • EOS 40D, S5IS
    • DataGhost.com
Re: the collaborative CHDK build
« Reply #7 on: 30 / June / 2008, 17:26:08 »
Motion detection speedup: I really don't see how it should work on the S5IS and it seems to be implemented in a somewhat different way than 'my' method. 0x7E900 is not an address, it's the size of the viewport buffer. Correct me if I'm wrong :)


*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: the collaborative CHDK build
« Reply #8 on: 02 / July / 2008, 19:47:24 »
thanks to this thread i finally managed to do something i always wanted to do: include all the great stuff into one big beginners-archive.
so i changed the makefile in order to:
include contents of lang/script/grids/fonts dir in the zip. already in a CHDK subfolder.
also: depending on OS (Dryos/vxworks) a seperate readme file is created in the topfolder.

todo: cleaning up & updating of the above mentioned directorys, write suitable readmes (include graystars manual?), check license status (on fonts for example).
maybe even include vers.req so people can have some stats wherever they are ;)

this is an excerpt of the changes i made:

Quote
firzipsubcomplete: infoline clean firsub
   @echo \-\> $(VER)-$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER).zip
   rm -f $(topdir)bin/$(VER)-$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER).zip
   LANG=C echo -e "CHDK-$(VER) for $(PLATFORM) fw:$(PLATFORMSUB) build:$(BUILD_NUMBER) date:`date -R`" | \
       zip -9jz $(topdir)bin/$(VER)-$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER).zip $(topdir)bin/DISKBOOT.BIN > $(DEVNULL)

         zip -9r $(topdir)bin/$(VER)-$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER).zip $(topdir)CHDK/lang/*
         zip -9r $(topdir)bin/$(VER)-$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER).zip $(topdir)CHDK/grids/*
         zip -9r $(topdir)bin/$(VER)-$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER).zip $(topdir)CHDK/fonts/*
         zip -9r $(topdir)bin/$(VER)-$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER).zip $(topdir)CHDK/script/*

ifdef PLATFORMOS
  ifeq ($(PLATFORMOS),vxworks)
   cp $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB).FIR $(topdir)bin/PS.FIR
   zip -9j $(topdir)bin/$(VER)-$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER).zip $(topdir)bin/PS.FIR > $(DEVNULL)
   zip -9r $(topdir)bin/$(VER)-$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER).zip $(topdir)readme_vxworks.txt
   rm -f $(topdir)bin/PS.FIR
  endif
  ifeq ($(PLATFORMOS),dryos)
   zip -9r $(topdir)bin/$(VER)-$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER).zip $(topdir)readme_dryos.txt
   #cp $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB).FI2 $(topdir)bin/PS.FI2
   #zip -9jc $(topdir)bin/$(VER)-$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER).zip $(topdir)bin/PS.FI2 > $(DEVNULL)
   #rm -f $(topdir)bin/PS.FI2
  endif
endif
   rm -f $(topdir)bin/DISKBOOT.BIN

...

batch-zip-complete: version
   $(MAKE) -s --no-print-directory PLATFORM=a610 PLATFORMSUB=100e NO_INC_BUILD=1 firzipsubcomplete

...

edit: just downloaded latest sdm, seems microfunguy did the same (at least i assume that he did it this way, as he didnt release his latest source yet). was about time we had something like this. if added to the autobuild hopefully lots of noobquestions can be avoided ;)
and yes, we maybe should create a new dir for "top scripts"
« Last Edit: 02 / July / 2008, 20:01:23 by PhyrePhoX »

*

Offline Bg~

  • *
  • 27
Re: the collaborative CHDK build
« Reply #9 on: 03 / July / 2008, 11:19:49 »
Wow Jucifer, you're fast. I just came in here to look if I could add the A720 motion_detection libc change. Good work. :)

 

Related Topics