On 19/02/11 15:06, pepe wrote: > On 19/02/11 13:10, f...@libero.it wrote: > >> >> >>> ----Messaggio originale---- >>> Da: jgarcia2...@telefonica.net >>> Data: 19/02/2011 10.46 >>> A: "Scid Users List"<scid-users@lists.sourceforge.net> >>> Ogg: [Scid-users] Time per move on analysis. >>> >>> Thanks very much for adding the possibility to set a match between >>> engines in the Analysis Window. >>> >>> When selecting "Finish Game" on the Analysis Window, the initial time >>> per move is hardcoded to 5 seconds. On succesive calls (stop engine, >>> restart it, select again "Finish Game") it reminds the seconds I choose >>> the previous call for both engines. Scid ignores the setting "Autoplay >>> Time Delay" under "Options"->"Moves" >>> >>> I have tried to find the relevant code in analysis.tcl with no success. >>> >>> >> Hi, the code is in tcl/tools/analysis.tcl: >> set finishGameCmd1 "movetime" >> set finishGameCmdVal1 5 >> set finishGameCmd2 "movetime" >> set finishGameCmdVal2 5 >> >> I didn't used the "Autoplay Time Delay" because i thought to save the values >> in options.dat so they will be reminded even after closing scid; but i was to >> lazy to do that. >> Probably in the future. >> Bye, >> Fulvio >> >> > Ok, I found it. Thanks for your quick response, I'll see to make a patch > to do the reading and autosaving from/to options.dat, but it will take > time even if I ever succeed. > > Bye, > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Scid-users mailing list > Scid-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/scid-users > I include a patch to change the harcoded delay of 5 seconds to the value "Autoplay Time Delay" available in Menu-Options and saved in options.dat
I confess I got a bit lost trying to set two new variables. Besides, I didn't know if the variable autoplayDelay would be needed anymore. Instead of working with three "time delays", I find it cleaner to have just one. And with this patch I get all the flexibility I need. So, add me to the "lazy people" list. Keep on the good work, ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Scid-users mailing list Scid-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scid-users