Author: Stefan Meyer-Kahlen
Date: 02:50:22 01/13/00
Go up one level in this thread
On January 12, 2000 at 17:04:32, Bruce Ramsey wrote: >Hi - Shredder4 supports the Shredder3 "dump" command, and also has menu item >Settings\Dump File\Use. Those toggle dumping. That is, if it's off, then the >command turns it on, and if it's off, then the command turns it on. > >Is there a command or menu item in Shredder4 that forces dumping on? Or that >forces dumping off? > >I tried "dump+" and "dump-" which were rejected, and "dump on" and "dump off" >which were accepted, but were clearly ignoring the on/off argument and simply >toggling as with "dump" > >.ini file entries, any sort of thing would be fine. > >And, this isn't an earth-shattering sort of thing, just sort of a would-be-nice >thing. I use a lot of little applets that I write in VB6 to drive apps like >Shredder, BookUp, BlitzIn, etc. When my VB6 applet needs to track something >like whether or not Shredder currently has dumping turned on, well without a way >to force the state (rather than toggle it), I resort to manually verifying the >dump state in Shredder and then manually telling my VB6 applet the state at the >time Shredder and the VB6 applet have just started up. Like I said, not a >super-important sort of thing, as I have the manual work-around. > >thanks, Bruce You can enter "dump" at Shredder's command line, but sorry, it also switches the state only. As you seem to be familiar with programming there might be a way to solve this: Shredder stores all of his settings after quitting the program in the file shredder.cfg and is loading it at program startup to set his internal variables. The flag for dumping is stored as a 4 byte value at offset 368 (hopefully I counted right, if not, sorry, but it is easy to find out yourself) in the file. 0 means dumping will be switch off after the next program start, 1 means that dumping will be on. Here's what to do now: Just check the flag in the file before you start Shredder in your batch and send the "dump" command according to your needs. Does this make sense to you? Please let me know weather you succeeded or not. Stefan
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.