Remaining RAW+JPG shots + filespace icon/text- done :D - page 4 - General Discussion and Assistance - CHDK Forum  

Remaining RAW+JPG shots + filespace icon/text- done :D

  • 175 Replies
  • 68095 Views
*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Correct Calculation of remaining shots (when RAW enabled) - partly solved
« Reply #30 on: 09 / February / 2008, 11:41:13 »
Advertisements
hi, thanks for testing (now i only need barney to test the s3is build :))
yes, i want it to only be shown when raw enabled (otherwise just show freespace or nothing at all).
for this build i changed gui_bat.c and lib.c (the one for a620) in order to achieve camera-independent sourcecode (instead of making checks like if (cam=a620) then do xyz).
i dled latest version from trunk, will add my changes and the changed lib.c's (thanks to ewavr for the adresses!) soon, so more people can test this.
if tests (from non-a620 users) succeed i will improve functionality (e.g. not replacing battery symbol anymore). way to go :)

actually i'm thinking about writing a small tutorial on how i did this for other people to learn from and use it for own little "projects" like this. funny thing is, i always asked myself why there isnt a remaining-raw-counter already in chdk (after all this is a very useful feature) and then i thought: well, must be too difficult. as it turns out, i was wrong. with the help of the devs i managed to add my desired functionality to chdk. and if you read my sourcecode and the changed files you too have to notice that in the end it really was easy (except a few pitfalls :D). thanks@all

i hope this will be added to the "official" trunk, as soon as QA is through with it :D
« Last Edit: 09 / February / 2008, 11:52:09 by phyrephox »

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Correct Calculation of remaining shots (when RAW enabled) - partly solved
« Reply #31 on: 09 / February / 2008, 12:06:17 »
@phyrephox

Sounds great, would love to be able to play with the sources.

BTW, a spare menu entry somewhere for experimental features would also be great,
then in the future it would be easy to test without having to disable other features

bravo, 2 thumbs up !

wim

Re: Correct Calculation of remaining shots (when RAW enabled) - partly solved
« Reply #32 on: 09 / February / 2008, 13:21:42 »
Deleted
« Last Edit: 22 / April / 2008, 11:05:44 by Barney Fife »
[acseven/admin commented out: please refrain from more direct offensive language to any user. FW complaints to me] I felt it imperative to withdraw my TOTAL participation. Nobody has my permission, nor the right, to reinstate MY posts. Make-do with my quoted text in others' replies only. Bye

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Correct Calculation of remaining shots (when RAW enabled) - partly solved
« Reply #33 on: 10 / February / 2008, 07:45:48 »
http://www.zshare.net/download/73838301c38711/

A460 1.00D 0x10F70  :haha
A560 1.00A 0x10B80
A570 all f/w 0x10F28
A610 all f/w 0x80A90
A620 1.00F  0x7F6F8
A630 1.00C 0x70EA0
A640 1.00B 0x71200
A650 1.00D 0x5CB38
A700 1.00B 0x78688
A710 1.00A 0x7BD98
A720 1.00C 0x580CC
G7 - all f/w 0x82F88
IXUS70 all f/w 0x12298
IXUS700 all f/w 0x75BB8
IXUS800 all f/w 0x79248
S2IS 1.00E 1.00F 0x63518, but 1.00G 0x63538
S3IS 1.00A 0x6BC28

i added my function to these mentioned cameramodels (a460 isnt in trunk yet, so couldnt do it for that special model).
also incorporated check to see if raw is enabled. if raw is not enabled, in record mode now there will be shown free space in MB. when raw enabled and there is no space left, it will write "None!" in color red.
please test :)
attached firmware for them all and updated first post.
next step: own icon, cleaning & commenting code, off into trunk.
please let me know if you have suggestions regarding functionality. of course bugreports are welcome too ;)

edit: now wait a minute, couldn't compile everything, there was an error with the ixus800:
Code: [Select]
../platform/ixus800_sd700/libplatform.a(wrappers.o): In function `lens_get_focus_pos_from_lense':
wrappers.c:(.text+0x854): undefined reference to `_GetFocusLensSubjectDistanceFromLens'
wtf, i didnt do anything there?
« Last Edit: 10 / February / 2008, 07:47:57 by phyrephox »


*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
@phyrephox

Works like your previous build on A620, but of course you already know that  :D

About IXUS error - could that be some other mods for IXUS happening in parrallel ?

Could you post your latest gui_batt.c / lib.c changes somewhere ?
« Last Edit: 10 / February / 2008, 09:37:10 by whim »

phyrephox,
trunk 297 give that error! Something is broken in the build.

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
phew, thought i broke something :D

edit: added diff. ugly diff, ugly code. diff to version 297. i think you can read it. better code will follow.
« Last Edit: 10 / February / 2008, 15:27:57 by phyrephox »

Deleted
« Last Edit: 22 / April / 2008, 11:06:06 by Barney Fife »
[acseven/admin commented out: please refrain from more direct offensive language to any user. FW complaints to me] I felt it imperative to withdraw my TOTAL participation. Nobody has my permission, nor the right, to reinstate MY posts. Make-do with my quoted text in others' replies only. Bye


*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
this would really be possible :)
on the other hand we have to find out the cam's limitations first, we could cram the firmware full with features, maybe. right now i'm thinking about porting snake to chdk :D because i cant even finish the first level in sokoban :D

Deleted
« Last Edit: 22 / April / 2008, 11:06:25 by Barney Fife »
[acseven/admin commented out: please refrain from more direct offensive language to any user. FW complaints to me] I felt it imperative to withdraw my TOTAL participation. Nobody has my permission, nor the right, to reinstate MY posts. Make-do with my quoted text in others' replies only. Bye

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal