Long filenames - a file browser modification for Select Script File menu - page 9 - General Discussion and Assistance - CHDK Forum

Long filenames - a file browser modification for Select Script File menu

  • 101 Replies
  • 17113 Views
*

Offline reyalp

  • ******
  • 12106
Re: Long filenames - a file browser modification for Select Script File menu
« Reply #80 on: 08 / November / 2015, 16:12:47 »
Advertisements
No problem. Attached is the log file. The camera crashes when len=99.
Thanks. Looks like this is a different behavior form other tested versions.

Try setting Limit filename <= 98.
Don't forget what the H stands for.

*

Offline msl

  • *****
  • 1263
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: Long filenames - a file browser modification for Select Script File menu
« Reply #81 on: 08 / November / 2015, 16:47:53 »
Ok, here is the log for file name len=98.

msl
CHDK-DE:  CHDK-DE links

*

Offline reyalp

  • ******
  • 12106
Re: Long filenames - a file browser modification for Select Script File menu
« Reply #82 on: 08 / November / 2015, 17:08:48 »
Ok, here is the log for file name len=98.
Thanks. One more: Try Limit total path <= 59

You can leave limit filename at 98.
Is the card FAT32 or FAT16, or multi partition?

Also, if these crashes generate a romlog, please post it.
Don't forget what the H stands for.

*

Offline msl

  • *****
  • 1263
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: Long filenames - a file browser modification for Select Script File menu
« Reply #83 on: 08 / November / 2015, 17:41:16 »
Ok, now is the log file completely.  :)

It's a FAT32 formated card. And for the record the romlog header from the last crash:
Code: [Select]
Exception!! Vector 0x10
Occured Time  2015:11:08 22:37:05
Task ID: 18808878
Task name: FsIoNotifyTa0
Exc Registers:
0x00000001
0x00000046
...

And sorry for the lazy test runs. I'm bussy with a new Windows 10 machine. :xmas

msl
CHDK-DE:  CHDK-DE links


*

Offline reyalp

  • ******
  • 12106
Re: Long filenames - a file browser modification for Select Script File menu
« Reply #84 on: 08 / November / 2015, 18:13:14 »
Ok, now is the log file completely.  :)
Great. Look like R47 max path 59 like R31, but the filename limit is at least 33.

The script doesn't test filenames between 33 and 99, but I expect there's no filename limit separate from total path limit, since it crashes on 99 rather than open returning an error. So effectively the filename limit is 57.

The romlog looks like similar to what other cameras get when they hit the path limit.

Quote
And sorry for the lazy test runs. I'm bussy with a new Windows 10 machine.
My condolences ;)
Don't forget what the H stands for.

Re: Long filenames - a file browser modification for Select Script File menu
« Reply #85 on: 12 / November / 2015, 20:23:48 »
Is there a list somewhere of DRY OS versions that have been tested (or need to be tested) ?
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline reyalp

  • ******
  • 12106
Re: Long filenames - a file browser modification for Select Script File menu
« Reply #86 on: 12 / November / 2015, 20:54:17 »
Is there a list somewhere of DRY OS versions that have been tested (or need to be tested) ?
The ones that still need testing are 39, 43, and 45. (and 20 if someone happens to have an s5is around, but I'm not too worried about that one)
Don't forget what the H stands for.

Re: Long filenames - a file browser modification for Select Script File menu
« Reply #87 on: 12 / November / 2015, 22:19:09 »
The ones that still need testing are 39, 43, and 45. (and 20 if someone happens to have an s5is around, but I'm not too worried about that one)
Hmmm .. if I grep the various platform_camera.h files for R39,  I get a huge list of possible cameras :

R39 cameras :
a1200 a1300  a1400 a2200 a2300 a2400 a2500 a2600 a3000 a3100 a3200 a3300 a3400 a4000
a490 a495 a800 a810  d20 d30  g11 g12 g15 g1x
ixus1000_sd4500 ixus105_sd1300 ixus115_elph100hs ixus120_sd940 ixus125_elph110hs
ixus130_sd1400 ixus132_elph115 ixus135_elph120 ixus140_elph130 ixus150_elph140
ixus160_elph160 ixus200_sd980 ixus220_elph300hs ixus230_elph310hs ixus240_elph320hs
ixus255_elph330hs ixus300_sd4000 ixus310_elph500hs
n n_facebook  s100 s110 s90 s95
sx120is sx130is sx150is sx160is sx170is                                                             
sx210is sx220hs sx230hs sx240hs sx260hs sx280hs
sx20 sx30 sx40hs sx50hs  sx500is sx510hs sx530hs

But when I look for R43 and R45 those only show up in the stubs_entry.S files.

R43 cameras :
a490 a495  sx210is ixus300_sd4000 a3100  ixus130_sd1400 ixus105_sd1300 a3000                                                                                               

R45 cameras :
sx130is sx30 g12 s95 ixus1000_sd4500     

So this clearly is not the way to do it.  Help ?

« Last Edit: 12 / November / 2015, 22:26:26 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16


*

Offline reyalp

  • ******
  • 12106
Re: Long filenames - a file browser modification for Select Script File menu
« Reply #88 on: 12 / November / 2015, 22:53:53 »
http://chdk.wikia.com/wiki/P-ID_%28Table%29

For historical reasons, the defines actually mean version >=, so every R43 camer also has R39 defined. This is one reason I'd like to replace it with something like PLATFORMOSVER as number, where we could #if OSVER > ...
Don't forget what the H stands for.

Re: Long filenames - a file browser modification for Select Script File menu
« Reply #89 on: 13 / November / 2015, 20:14:24 »
http://chdk.wikia.com/wiki/P-ID_%28Table%29
So for reference, for the three PID's you want tested,  the possible cameras are :

R39  :  G11   SX120IS   S90   SX20   IXUS200_SD980   IXUS120_SD940

R43  :  A490 A495 A3000 A3100 IXUS105_SD1300 IXUS130_SD1400 IXUS200_SD4000 IXUS210_SD3500 SX210

R45  : IXUS1000_SD4500 G12  SX30  SX130IS  S95

Attached is the test file for the ixus120 - completing the R39 test.    I don't have any R43 or R45 cameras.

Edit :  R45 G12 file provided by philmoz
« Last Edit: 13 / November / 2015, 20:33:47 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics