I don't know, if the following problem is caused by the script I used or if it is a little problem of the S90-Port :
I tried to use the LUA-Script br_dev05.lua, which can be found here :
http://www.wirklemms.de/chdk/forum/viewtopic.php?p=8072#8072
On my S90, it works until Line 262. Then I get an error because the expression list_jpg[count_jpg] returns NIL.
This indicates that there are no JPG's. The reason is, that no WAV-File was generated a few lines before (Line 222).
I'm not a programmer, but I think, the function raw_merge_add_file(result_crw(i)) (Line 219) or the funtion raw_merge_end() (Line 223) is not working - but I get no error message, not on display and not in the logfile.
I scanned the whole CHDK-dirrectory for the definitions of these functions, but didn't find this strings.
Additional information : When using the script, I have a tmp16_1.tmp file in the root-Directory of the SDHC-Card, which ist a little bit bigger than the RAW-Files. Perhaps this helps to locate the error.
I think i found the problem. In raw_merge.c there is a rename function call:
#define TEMP_FILE "raw16.tmp"
#define TEMP_FILE_NAME "A/raw16.tmp"
#define TEMP_FILE_NAME_1 "A/raw16_1.tmp"
rename(TEMP_FILE_NAME_1,TEMP_FILE);
The second parameter TEMP_FILE is not so good for cameras with DryOS 2.3#39, because this OS does not like pathname without a leading devicename "A/". So the rename of raw16_1.tmp to raw16.tmp failes and leads to the following error. So another CAM_DRYOS_2_3_R39 patch in the CHDK core is needed to fix this.
Update: Even with this patch, the script failes later. It throws a error because of the function getImageDirs().
It look likes this function searches for all image directorys by removing all dirs from the list which are not contains the substring "CANON".
But this is a problem on the S90/G11. Because Canon now uses another sheme to name the directorys (without the CANON substring, it is now some sort of day/month string used). So the script needs also a adaption for the S90/G11 image directory naming.