Deformed EXIF info on SX110 IS - page 2 - General Chat - CHDK Forum

Deformed EXIF info on SX110 IS

  • 15 Replies
  • 6123 Views
*

Offline hotvedt

  • ***
  • 106
  • A540/SX110IS/350D
Re: Deformed EXIF info on SX110 IS
« Reply #10 on: 21 / September / 2010, 12:25:24 »
Advertisements
http://www.filefactory.com/file/b391h9a/n/100CANON.zip

short avi with corresponding thm-file.

I belive you can use the thm-file with any avi made by the camera, as long as the name matches.

Re: Deformed EXIF info on SX110 IS
« Reply #11 on: 21 / September / 2010, 12:48:40 »

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Deformed EXIF info on SX110 IS
« Reply #12 on: 21 / September / 2010, 14:57:14 »
Here's all of the lines from that screens, if it helps:
3: C`Jon : 6
4: C`fo. PowerShot SP!10 I!! : 32
5: Codment : 30

Correct values are:

3: Canon : 6
4: Canon PowerShot SX110 IS : 32
5: Comment : 30

(I don't know about other values).

So, here is CBasic script, which can restore default values in your camera:
Code: [Select]
private sub Initialize()
 UI.CreatePublic()
 'UI_RegistDebugEventProc()
 PTM_BackupUIProperty(0x4003, "Canon", 6)
 PTM_BackupUIProperty(0x4004, "Canon PowerShot SX110 IS", 32)
 PTM_BackupUIProperty(0x4005, "Comment", 30)
end sub

Warning: it can be dangerous, wait a comment of one of the CHDK gurus.
However, I ran this script on my old A710 and now I have a new SX110  :D.

edit: spelling.

Re: Deformed EXIF info on SX110 IS
« Reply #13 on: 21 / September / 2010, 18:50:52 »
Does it matter what version/revision of CHDK I'm running for that script? If it makes any difference, in Menu -> Miscellaneous stuff -> Show build info, it displays the following:

CHDK Ver: CHDK 0.9.8-788
FW Vers: 100b

and some other stuff which I figure are unimportant for this.


*

Offline reyalp

  • ******
  • 12593
Re: Deformed EXIF info on SX110 IS
« Reply #14 on: 21 / September / 2010, 21:53:30 »
The script ewavr posted is canon basic, not CHDK. See http://chdk.wikia.com/wiki/Canon_Basic

You could do the same from CHDK if you build it with http://chdk.wikia.com/wiki/LUA/LUA_Reference/Native_Function_Calls

As for the safety (or not) of this, I don't have much to add. I haven't looked at those functions. If you do decide to try it, I'd suggest taking a full firmware dump first. You can use the canon basic dumper, since you'll need to prepare a script disk anyway.

However, I ran this script on my old A710 and now I have a new SX110  :D.
nice upgrade, maybe try "EOS 7D" next time  ? :lol
Don't forget what the H stands for.

Re: Deformed EXIF info on SX110 IS
« Reply #15 on: 22 / September / 2010, 07:07:55 »
All I can say is WOW!!

I dumped the firmware and then ran your script, and now it's FIXED! Thank you so much. It's funny how Canon, when I emailed them, wanted me to pay for them to fix it!

Again, thank you very much, and all of you have a great day!

 

Related Topics