Magic Lantern Forum

Developing Magic Lantern => Feature Requests => Topic started by: Marsu42 on November 26, 2013, 06:07:24 PM

Title: Extend Canon C modes by saving/restoring config data
Post by: Marsu42 on November 26, 2013, 06:07:24 PM
I'm on a 6D with 2 C modes, and I still feel limited by it, Canon is very crafty as making this a distinction between cameras as the 5D3 as graced with 3 C modes...

... so here's a request for our pro ML hackers, I would have no idea how to do it:

Canon has to save all the setting data for their C modes *somewhere*, correct? If ML could find these data blocks, they could be saved and restored, resulting in an unlimited number of Cx "sets" to chose from for different situations. If this data is written if the camera is *not* in that particular C mode I see no danger from this approach (unlike the old ML mode switch), because modifying the actual camera settings is done by the Canon fw and if the data came from the camera, so it has to be valid.

Does this idea sound interesting? Any thoughts on how to find, save & restore these Cx mode setting data blocks?
Title: Re: Extend Canon C modes by saving/restoring config data
Post by: engardeknave on November 27, 2013, 06:46:09 AM
I doubt it's just going to be a contiguous block of data somewhere that can easily be saved/restored. If it were, it sounds dangerous just rewriting it all at once. Not that I have any idea what I'm talking about.

I don't think ML remembers things like aperture/shutter/iso/wb/etc and restores them, but how many important settings could there be? Like a dozen? That many things could probably be saved to the standard ML configs. Then maybe we can get a custom config menu on boot.

I was thinking that if the config menu at boot idea were implemented, then the C modes could be used just for Canon settings. I have three C modes, and I don't think I'd need more than that for Canon settings alone as I'd use the same C mode with multiple ML configs.
Title: Re: Extend Canon C modes by saving/restoring config data
Post by: Marsu42 on November 27, 2013, 10:20:56 AM
Quote from: engardeknave on November 27, 2013, 06:46:09 AM
I doubt it's just going to be a contiguous block of data somewhere that can easily be saved/restored.

Why not, why would Canon put the config all over the place rather than just a nice, cozy data struct? Well, I hope some of the re guys can tell.

Quote from: engardeknave on November 27, 2013, 06:46:09 AM
I don't think ML remembers things like aperture/shutter/iso/wb/etc and restores them, but how many important settings could there be? Like a dozen?

I already wrote a module that remembers some main settings (aperture/shutter/iso/ec/drive/metering/...) for the different dial positions, but if you say have a C mode for tripod macro focus stacking and one for action shooting you're also changing a lot of C.Fn and Canon menu settings, some of which cannot be accessed by ML at all. Three C modes on the 5d3 might be just enough, but two is limiting and one like on 60D is much too little.