Is there supposed to be a close bracket at the end of the word playback?
Really? I just downloaded the current version of the script ( v4.8 ) and that round bracket is not missing. Regardless, that's bad but it's not the problem. See below.
I noticed in another thread they were trying to exit playback mode with another couple of lines, something like: click("shoot_half") exit_alt(0) Would that be at all useful?
Ummm ... no. That might actually be dangerous.
On autostart the script ran, counted down from 5 to 1 then the camera went blank.
I'm starting to suspect that the
reboot( ) function is not implemented correctly on the CHDK port for your camera. Or that it works differently than it does on other cameras.
That in turn suggests your problem is completely unrelated to the
ultimate.lua script, other than the fact that the script tries to use the
reboot( ) function.
I then could not get back into the menu, because every time I pressed the play (alt) button, the script kept running again. Menu button did not seem to do anything nor any of the other buttons.
Using the MENU button to halt the script is something I built into the
ultimate.lua script. The standard CHDK way to halt or stop a script is to fully click the shutter button. That applies to the test script I posted.
Please disable
Autostart [ * ] in the CHDK script menu and rerun the test.
The ultimate lua runs when I press the play button, after reboot and autostart fails. It is not restarting without the play button being pressed.
When you say that you press the
PLAY button, that means you are actually powering up the camera. If it's actually powered fully off at that point then the reboot() instruction caused it to turn off, not restart. Not good.
Incidentally, pressing the On/Off button should do the same thing in that case. You don't need to press PLAY to start the camera if you have CHDK set to autoboot - that's only required for booting in firmware update mode.
I'm not sure the CHDK hack is something that's robust enough for professional remote field deployment. Each time we go to a site it costs us about $4000 dollars (just to get there and come back again) so we have to be confident the data is there.
That's up to you of course.
As
@reyalp 's sig file says "
Don't forget what the H stands for."
Some level of redundancy seems warranted in whatever you decide to do.
edit : I'll wait for you to rerun the test script and report back as requested above in this post.