ShiftClick SelectionMode

Good day.
How do I change the ShiftClickSelectionMode parameter? 
I see 00000000 in "ShiftClickSelectionModeDefault.reg" and I can usre Notepad to make a change but how do intrerperate the instructions on page 156 in the PDF manual?  I want a group select (Shift Click) to:
Bit 0: (0) - The second limit for the Shift-Click's range will be 'last Ctrl-Clicked', irrespective of whether the action was "selection" or "de-selection"
Bit 1: (2) - The second limit for the range will be the current file if it wasn't Shift-Clicked (if it was, then it will again be the first file in the current folder)
Bit 2: (4) - Shift-Click always expands the selection, never de-selecting previous selections.
Thanks.   Cal

Dear Sir:

The setting you are looking for is 00000110 (bits 1 and 2 containing '1')

Correction: the .reg files are in hex numbers, not in binary. So 000110(binary) is 6(hex)



Alex Tutubalin/FastRawViewer team

Thanks. My binary math is weak but I see how this works.

This help is written very strangely according to the rest of help. It seems that they combined binary (Bit 0, 1, 2 = normally contains in binary only 0 or 1) and hexadecimal content (0/1, 0/2, 0/4) = maybe if you sum these hexa numbers depending on your choice you get number to write into .reg file. Co your choice is 0 + 2 + 4 = 6. But this is nowhere described and using word "bit" is confusing. Also in a help of "UseMMappedIO" they explain like it is only binary :-( :
bit field:

  • bits 0-7: thumbnail reader parameters
  • bits 8-15: full-size image reader parameters.

lowest bit in each 8-bit set defines RAW reading, other bits are reserved for future (JPEG, PNG,TIFF, etc).
UseMMapedIO script will set all bits to 1, NoMMapedIO wil revert these bits back to zero

For UseMMappedIO only lowest bits of each octet are meaningful now, other are reserved.

So, if you want to turn on mmaped IO for both thubmnail reader and raw reader you need

0000000100000001 binary


257 (decimal)

anyway, Mmaped IO is (slightly) faster only on very fast media like 4xNVME SSD in RAID0 (Intel VROC). On slower media the difference is negligible.


Alex Tutubalin/FastRawViewer team

Add new comment