Re: [Scid-users] on-demand photo loading

2009-02-06 Thread Mikhail Kalenkov
2009/2/6 Pascal Georges : > > > 2009/2/6 Mikhail Kalenkov >> >> 2009/2/5 Pascal Georges : >> >> > For example the use of an index file that gives data location and size >> > of >> > player picture in the SPF file. Then use seek and read Tcl calls. >> > The index may be a Tcl array which is very ef

Re: [Scid-users] on-demand photo loading

2009-02-06 Thread Benoit St-Pierre
Great team work, guys ! That's the free spirit ! Thanks ! -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to bui

Re: [Scid-users] on-demand photo loading

2009-02-06 Thread Pascal Georges
2009/2/6 Mikhail Kalenkov > 2009/2/5 Pascal Georges : > > > For example the use of an index file that gives data location and size of > > player picture in the SPF file. Then use seek and read Tcl calls. > > The index may be a Tcl array which is very efficient. > > I did it. The code below parse

Re: [Scid-users] duplicates in FIDE.spf

2009-02-06 Thread Alexander Wagner
Mikhail Kalenkov wrote: Hi! > "Horvath, Csaba" appears in FIDE.spf two times. They have different > photo data, but currently it is useless to keep players with the same > name in spf file. > > The same applies also to "Nagy, Zoltan" I can improve my tool for generating this file. Thanks for th

Re: [Scid-users] on-demand photo loading

2009-02-06 Thread Alexander Wagner
Mikhail Kalenkov wrote: Hi! > Of course I meant 3.7beta4 (not 3.4beta4). Also I checked that > prebuilt index files drastically reduces start-up time. > I generate index files with the following script What about: if !(-e $indexfile) { GenerateIndexFile() } else { source $

[Scid-users] duplicates in FIDE.spf

2009-02-06 Thread Mikhail Kalenkov
"Horvath, Csaba" appears in FIDE.spf two times. They have different photo data, but currently it is useless to keep players with the same name in spf file. The same applies also to "Nagy, Zoltan" Mikhail Kalenkov. Strictly speaking duplicates allowed in spf file. I simply found some discrepancy

Re: [Scid-users] on-demand photo loading

2009-02-06 Thread Mikhail Kalenkov
2009/2/6 Mikhail Kalenkov : > 2009/2/6 Mikhail Kalenkov : >> 2009/2/5 Pascal Georges : >> >>> For example the use of an index file that gives data location and size of >>> player picture in the SPF file. Then use seek and read Tcl calls. >>> The index may be a Tcl array which is very efficient. >>

Re: [Scid-users] on-demand photo loading

2009-02-06 Thread Mikhail Kalenkov
2009/2/6 Mikhail Kalenkov : > 2009/2/5 Pascal Georges : > >> For example the use of an index file that gives data location and size of >> player picture in the SPF file. Then use seek and read Tcl calls. >> The index may be a Tcl array which is very efficient. > > I did it. I tested scid memory us

Re: [Scid-users] on-demand photo loading

2009-02-06 Thread Mikhail Kalenkov
2009/2/5 Pascal Georges : > For example the use of an index file that gives data location and size of > player picture in the SPF file. Then use seek and read Tcl calls. > The index may be a Tcl array which is very efficient. I did it. The code below parse at scid start-up spf files and store in