The SFRM file format used to be written by CCD detectors. XDS correctly reads them if they are "unwarped"; unwarping can be done within the Bruker software called Proteum2. See also Bruker data.
For such files, Tim Grüne provides the program
sfrmtools at . It extracts parameters relevant for data processing with XDS from the header. The output should be saved in a file - only three more keyword/parameter lines are required for a minimal XDS.INP, namely e.g.
NAME_TEMPLATE_OF_DATA_FRAMES=/my/data/name_????.sfrm OVERLOAD=1000000 INCIDENT_BEAM_DIRECTION=0 0 1
Additional ones can of course be used to modify the operation of XDS, e.g.
JOB= CORRECT INCLUDE_RESOLUTION_RANGE=50 2.5 ...
New detector types (optionally?) write CBF files, which XDS natively reads. generate_XDS.INP generates XDS.INP for CBF data written by the PHOTON II detector.