default script and languages, and other propset issues - page 2 - General Discussion and Assistance - CHDK Forum supplierdeeply

default script and languages, and other propset issues

  • 25 Replies
  • 12395 Views
*

Offline reyalp

  • ******
  • 14118
Re: default script and languages
« Reply #10 on: 11 / June / 2021, 13:05:06 »
Advertisements
The SX410 is probably the last camera on the propset6, dryos r55.
Thanks, that's the left to right (later) variant. So at least it's consistent.

If you can check some other propcases, that would be helpful. Two things I'd like to know
1) Make sure a range of propcase IDs are actually correct. The following should be easy to test and cover most of the range:
AF_FRAME  8
DRIVE_MODE 102
VIDEO_RESOLUTION 170
RESOLUTION 221
REVIEW_TIME 363

2) Check if the values of PROPCASE_RESOLUTION match
On my propset 6 cam, 0 = L, 1 = M1, 2 = M2, 4 = S, 7 = Low Light (scene mode)
On later propsets, it goes like 0 = L, 2 = M1, 3 = M2, 5 = S, 11 = Low Light
Don't forget what the H stands for.

*

Offline blackhole

  • *****
  • 942
  • A590IS 101b
    • Planetary astrophotography
Re: default script and languages
« Reply #11 on: 11 / June / 2021, 14:56:31 »

Thanks, that's the left to right (later) variant. So at least it's consistent.

If you can check some other propcases, that would be helpful. Two things I'd like to know
1) Make sure a range of propcase IDs are actually correct. The following should be easy to test and cover most of the range:
AF_FRAME  8
DRIVE_MODE 102
VIDEO_RESOLUTION 170
RESOLUTION 221
REVIEW_TIME 363

2) Check if the values of PROPCASE_RESOLUTION match
On my propset 6 cam, 0 = L, 1 = M1, 2 = M2, 4 = S, 7 = Low Light (scene mode)
On later propsets, it goes like 0 = L, 2 = M1, 3 = M2, 5 = S, 11 = Low Light
There are some differences, RESOLUTION looks like on newer propsets.
I’m going to check the rest this weekend, but the camera is pretty limited.

AF_FRAME 8  //1 = Center, 2 = Face AiAF  2 = Tracking AF
DRIVE_MODE 102  //0 = Single shooting, 1 = Continuous
VIDEO_RESOLUTION 170  //2 = VGA, 4 = HD
RESOLUTION 221  //0 = L, 2 = M1, 3 = M2, 5 = S, 11 = Low Light
REVIEW_TIME 363 //0 = Off, 100 = Quick, 2000 = 2sec, 4000 = 4sec, 8000 = 8sec, 65535 = Hold

*

Offline reyalp

  • ******
  • 14118
Re: default script and languages
« Reply #12 on: 11 / June / 2021, 15:24:00 »
There are some differences, RESOLUTION looks like on newer propsets.
I’m going to check the rest this weekend, but the camera is pretty limited.

AF_FRAME 8  //1 = Center, 2 = Face AiAF  2 = Tracking AF
DRIVE_MODE 102  //0 = Single shooting, 1 = Continuous
VIDEO_RESOLUTION 170  //2 = VGA, 4 = HD
RESOLUTION 221  //0 = L, 2 = M1, 3 = M2, 5 = S, 11 = Low Light
REVIEW_TIME 363 //0 = Off, 100 = Quick, 2000 = 2sec, 4000 = 4sec, 8000 = 8sec, 65535 = Hold
Thanks. From that it looks like the IDs have stayed the same, but the meaning of values (language and resolution, at least) have changed. I'd be surprised if IDs changed in between the ones you checked, without shifting the rest up or down.

We haven't previously created new propsets when the IDs are the same, but I don't think we've seen the meanings of values change like this either. In the case of resolution, setting setting 1 on these cams will probably crash. IMO, this argues for making a new propset.

@Caefix: Can you check PROPCASE_RESOLUTION on ixus155 and/or ixus145?
Don't forget what the H stands for.

*

Offline blackhole

  • *****
  • 942
  • A590IS 101b
    • Planetary astrophotography
Re: default script and languages
« Reply #13 on: 11 / June / 2021, 15:48:31 »
Thanks. From that it looks like the IDs have stayed the same, but the meaning of values (language and resolution, at least) have changed. I'd be surprised if IDs changed in between the ones you checked, without shifting the rest up or down.

We haven't previously created new propsets when the IDs are the same, but I don't think we've seen the meanings of values change like this either. In the case of resolution, setting setting 1 on these cams will probably crash. IMO, this argues for making a new propset.
There are probably more changed values, compared to older cameras.
Tomorrow I will check the rest, now I am quite tired, working on a new garage.


*

Offline blackhole

  • *****
  • 942
  • A590IS 101b
    • Planetary astrophotography
Re: default script and languages
« Reply #14 on: 12 / June / 2021, 05:36:15 »
All IDs are the same as in the original propset 6.
The values for all "CUSTOM" IDs have changed, the leftmost value on the slider is now 254, as on newer propsets.
WB_MODE also has different values.
DIGITAL_ZOOM_MODE has the same values, but on sx410 the range has changed (2 = 1.6x).
All IDs with changed values are marked as sx410 in the comment.

*

Offline reyalp

  • ******
  • 14118
Re: default script and languages
« Reply #15 on: 12 / June / 2021, 17:35:16 »
All IDs are the same as in the original propset 6.
Thanks, that's a big help. I think it's clear this should be a separate propset. The remaining question is whether the DryOS 54 "propset 6" cams are equivalent.
Quote
The values for all "CUSTOM" IDs have changed, the leftmost value on the slider is now 254, as on newer propsets.
I think that one is just case of confusing, inconsistent notation in the earlier propset files. On elph130 (dry52, ps6) and all the way back to vxworks the leftmost value is also 254 (signed byte -2)
Don't forget what the H stands for.

*

Offline Caefix

  • *****
  • 947
  • Sorry, busy deleting test shots...
Re: default script and languages
« Reply #16 on: 16 / June / 2021, 13:26:08 »
PROPCASE_RESOLUTION(221), Ix145 & Ix155:
 0=L|W, 1=M1, 2=M2, 4=S, lowlight =7.  :)
All lifetime is a loan from eternity.

*

Offline reyalp

  • ******
  • 14118
Re: default script and languages
« Reply #17 on: 16 / June / 2021, 19:35:58 »
PROPCASE_RESOLUTION(221), Ix145 & Ix155:
 0=L|W, 1=M1, 2=M2, 4=S, lowlight =7.  :)
Thanks.

Like the r52 cams :(
Don't forget what the H stands for.


*

Offline Caefix

  • *****
  • 947
  • Sorry, busy deleting test shots...
Re: default script and languages
« Reply #18 on: 25 / June / 2021, 11:43:31 »
 :) Ix170 "same as" Sx410.
All lifetime is a loan from eternity.

*

Offline reyalp

  • ******
  • 14118
Re: default script and languages, and other propset issues
« Reply #19 on: 07 / July / 2021, 21:57:15 »
While working on this, I ran into some additional propset issues.

1) I think propset 7 and propset 9 are probably the same propset, and the current differences result from mistakes or making different choices among similar propcases. Presently, M3 and sx710 are the only camera that use 9, but I'm going to switch sx710 to 7
The sig finder propset code can't distinguish them.
All the IDs match, except:
USER_AV was different, because it was wrong in propset 7 (fixed in trunk 5989, stable 5991).

Some of CUSTOM_* values are different, because they came from M3, which uses "picture styles" rather than "my colors". These values are only informational for script, but IMO, the "picture style" stuff doesn't represent the same functionality, so trying to map it onto the "my colors" propcases is a mistake. If we want to document the picture stile propcases, they should be given separate IDs, and scripts that want to use them should check for ILC.

Focus mode, as below

2) REAL_FOCUS_MODE vs FOCUS_MODE,
On propsets 9, 10, 11 and 13, REAL_FOCUS_MODE is defined the same as FOCUS_MODE. This is wrong, because the values are incompatible. FOCUS_MODE is 0 = any AF mode, 1 = MF,  while REAL_FOCUS_MODE has values like 0 = AF, 1 = Macro, 3 = Inf, 4 = MF, 5 = Super macro (actual modes available vary by cam)

I expect this arose because the M cams don't have REAL_FOCUS_MODE, but IMO the correct thing to do in that case is to adjust shooting_get_real_focus_mode based on CAM_ILC if needed (I think the current logic gives FOCUS_MODE priority, so as long as REAL_FOCUS_MODE stays 0, no change would actually be needed). The ID define should be set to whatever is correct for non-ILC cams, or the best guess, if no non-ILC cams are known for that propset.

Help wanted
For this issue I'd like to confirm that propcase ID 6 reflects the normal REAL_FOCUS_MODE on non-ILC cams
propset 13 - g7x2
propset 11 - ixus185 or sx430
and to confirm whether it's always 0 on ILC cams.

I verified on propset10 (ixus175_elph180) that propcase 6 behaves as expected for REAL_FOCUS_MODE.
Don't forget what the H stands for.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal