[JAM, MDA Compact, S100 General] tweakradje:
Hi,

Just wanted to share the latest camera app with you.

Originaly it was a german version but I made it english.

Also I changed album.exe and put a Exit command in the

menu.

First you need to install Camera_Wizard_Magician_T-Mobile_WWE_RC28_Customize.CAB

Then overwrite both camera.exe, album_res.dll and album.exe from camera_album.zip.

These 3 files are upx-ed to save memory.

The camera.exe is from Camera_Wizard_Magician_T-Mobile_GER_RC29_Customize.cab (version 2.70.0.21104)

One thing that still is bad is when the camera ambience is in Auto.

It still is not working as it should. Better operate the Ambience in

DayLight or Night mode.

The magician can have 2 kinds of image sensors. Mine uses hklm\drivers\builtin\camera_sensor1.

You can fiddle with the LightSensorHz a bit. Default it is set to "50" but you can try "0" or "100".

Could not find much difference.

You can check which camera_sensor driver is active by going into

hklm\driver\active and look for Name: CAM1: or CAM2: (CAM2: in my case at key 25)

Some other camera related tweaks (decimal dwords):

hklm\software\drivers\camera\Property\02 (or 01 in case of CAM1:)

brightness 6

contrast 5

hue 5

saturation 4

sharpness 6

hklm\software\HTC\Camera\AppDefSettings

country 2 determines the display rotation on camera start

flashlight 0 can be set to 1 but you don´t have one

hklm\software\HTC\Camera\AppDefSettings\common

fontcolor 00ff00 rgb values for osd

keycolor 080c08 rgb

hklm\software\HTC\Camera\AppDefSettings\general

brightness 6

contrast 5

hue 5

saturation 4

sharpness 6

EnableCallBack 1 some calibration value osd

EnableFrameRate 1 osd actual framerate

EnableDayTimePath 0 creates subdirs in my documents\my pictures if 1

EnableHopper 0 test/debug program called hopper.exe

EnableIPSM 0 enable IP Streaming Media, never got it workin anyhow

hklm\software\HTC\Camera\captparam

captureduration 60 force recording time to be 60 seconds

delaytime 10 dunno. 10 ms calibration time before recording starts?

savethesamename 0 for debugging, always save recording under same name (debugsometing)

hklm\software\HTC\Camera\general

brightness 6

contrast 5

hue 5

saturation 4

sharpness 6

hklm\software\HTC\Camera\RecParam\general

audiobufcount 30 nr of audiobuffers

enablemp4vdodupl 1 dunno

videobufcount 8 default is 4 (max is 8)

hklm\software\HTC\Camera\RecParam\3gpsmall

hklm\software\HTC\Camera\RecParam\3gpmedium

hklm\software\HTC\Camera\RecParam\avismall

hklm\software\HTC\Camera\RecParam\avimedium

hklm\software\HTC\Camera\RecParam\avilarge

hklm\software\HTC\Camera\RecParam\mp4small

hklm\software\HTC\Camera\RecParam\mp4medium

hklm\software\HTC\Camera\RecParam\mp4large

cachesize 8192 default is 4096, add to all 8 keys listed above

All settings for camera and album are stored in the key

hkcu\software\IA Style\IA CameraWizard(Pocket PC)

The camera app is version 2.70 the album is 2.51

You can remove the keys like preferences and strings or UI info to reset

the default values.

hklm\software\HTC\Album\DisableEditor

Disable 0

EDIT: 4 apr

Command line options for camera.exe, so you can make shortcuts yourself.

-c or /c perhaps assign to contact (if you have smartdial/iacontacts installed)

-i or /i switch to photo mode

-m or /m switch to mms video mode

-p or /p switch to contact photo

-t or /t switch to picture theme mode

-v ot /v switch to video mode

Still looking for a way to enable rotation and the paint appl in the editor.

In the resource file the images are there (see attachements)

EDIT 5 apr.

The UI interface mechanism is getting clear. If you put album_res.dll (a resource file) in ResourceHacker you

wil find the BMP section of the resources. The BMP i´m interested in is 920 (see attachement below).

If you count the number of icons in that picture you get 10.

Now goto the 241 section. There you will find a 920 resource too. It reads:

01 00 10 00 0F 00 0A 00 0C 91 0D 91 0E 91 0F 91 F9 8C 28 8D 29 8D 2A 8D 2B 8D 18 91

(there is a bug in resourcehacker that doesn´t show the last pair of digits of a 241 resource)

Look complicated at first look. But it isn´t. Lets try:

01 00 10 00 0F 00 = always the same in every 241 resource

0A 00 = 00A0 is 10, so then commands/function id´s follow

0C 91 = 910C = 37132, and is the command for PAN (remember the first icon

in the 920 BMP?)

So (see album_res_920_1033.bmp):

910C is PAN

910D is CROP

910E is RESIZE

910F is COLOR ADJUST

8CF9 is SAVE (dec 36089, and can be found with Resource Hacker in

resource 242 in the Menu section, named Save ;O)

8D28 is ROTATE CLOCKWISE

8D29 is ROTATE ANTI CLOCKWISE

8D2A is MIRROR HORIZONTALY

8D2B is MIRROR VERTICALY

9118 is goto PAINT menu

To be continued

Anybody found a newer version for wm2003se?

Happy tweaking!