You are on page 1of 4

//

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
t.
//
//
//
//
//

Auto-recognize file format tests.


The tests will be executed in the order they appear in this list.
To make comments, or temporarily disable a test, put a "//" or
a "#" at the beginning of the line. Blank lines are allowed and
have no effect.
test format:
[extension list],[begin offset],[end offset],[pattern],[codetest]
extension list:
A list of extensions to associate with this test.
The extensions must be separated with the '|' character.
If a loader is to be associated with this test, list the
primary extension mentioned in the myrdrv.ini file first.
begin offset:
The first byte of the pattern will be searched for, starting at this offse
Special Case : -1 (See below)
end offset:
The first byte of the pattern will be searched for, ending at this offset.
If the begin offset and the end offset are the same, then the pattern must

//
start at that offset.
//
Special Case : -1 (See below)
//
// pattern:
//
A string representing the pattern. Must be enclosed in double quotes.
//
To represent non-printable characters, a backslash character or the
//
double quote character, put down the hexadecimal representation of the
//
character in this format: "\ff" example: "\ff\ff\7f\80\a0\80\80"
//
If there is no pattern test, but there is a code test available, just set
//
the begin and end offsets to 0 and insert an empty pattern. example:
//
foo,0,0,"",CT_foo
//
// codetest:
//
If the pattern test is not conclusive enough and there is a code test that
//
can be executed, describe it's enumerated name here. If the pattern test
//
is solid enough as it is, just put "none". When a code test is listed, a
//
file must pass both the pattern test as well as the code test, to be accep
ted
//
as one of the specified file formats.
//
// Special Case :
//
If the begin and end offset are both set to -1, then this test is NOT a
//
pattern search offset into the file. Instead, it is an OLE compound
//
document test. The data contained in the "pattern" field represents
//
a series of uniquely named storage or stream elements. Each name is
//
seperated by a space. The test will compare the names of all the file's
//
root storage level elements against the suggested list. If all items
//
specified in the test string are found, then the test is passed.
plt|000,0,7,"\1B\2A\6F\35\57\45\ED", none
grpxml,40,60,"<IGCBIPrintNINFile", none
ica,0,6,"\00\40\D3\A8\A8\00",none

ica,0,6,"\00\49\D3\A8\A8\00",none
ica,0,2,"\5A\00",none
csf,0,0,"\6c\00\00\00Informative Graphics Corp. Secure Content Format",none
xdl,30,50,"<IGCDLDocument xmlns",none
i3f,0,0,"Informative Graphics Intermediate File",none
mvs|m3r|mvp,0,0,"Informative Graphics View Set",none
cal|cg4|dls|gp4|mil|,0,0,"srcdocid:",CT_iso
dcx|pcx,0,0,"\b1\68\de\3a",none
dif,0,0,"\ff\ff\7f\80\a0\80\80",none
edc,0,0,"\49\49\2A\00\08\00\00\00\0B",none
edc,0,0,"\f0\f1\7a\f1\7a\c2\7a\c1\c4\d4\f0\f0\f7",none
rle,0,0,"\08\09\fe\02\09",none
iso|cal|cg4|dls|gp4|iso|mil,3,3,"\81\01\31\a2\48\84\04\58",CT_iso
mrk|sym,4,4,"ASCII MARKUP FILE FORMAT",none
sam,0,100,"[ver]\0D\0A\094\0D\0A[sty]",none
dgn,-1,-1,"Dgn~H Dgn~S Dgn-Md",none
dsn,-1,-1,"Cells Parts Views Symbols Graphics Packages ExportBlocks",none
dft,-1,-1,"JDraftViewerInfo PSMroots PARASOLID JSitesList PSMspacemap",none
//idw,-1,-1,"RSeStorage",CT_idw
//iam,-1,-1,"RSeStorage",CT_iam
icd,-1,-1,"Doc-1 Viewable",none
mrk|sym,0,0,"Informative Graphics Markup",none
mrk|sym,0,0,"< ID 'Informative Graphics Markup",none
cc, 0,64,"<CCDoc version=",none
xml,0,64,"?xml version=",CT_xml
rtl,0,0,"EMBEDDED RTL RASTER",none
bmp,0,0,"BM",none
tif,0,0,"\4d\4d\00\2a\00",none
tif,0,0,"\5A\00",none
jp2,0,0,"\00\00\00\0C\6A\50\20\20",none
dx,0,0,"ARF0\00\00\00",CT_dx
edm,0,0,"\80\00\00\00",none
ftk,0,0,"\00\48\4d\5f\00",CT_ftk
g3|g4|rnl,0,0,"GTX",CT_gtx
g3|g4|rnl,0,0,"NSC",CT_gtx
html,0,0,"<html>",none
html,0,0,"<HTML>",none
html,0,0,"<!DOCTYPE HTML PUBLIC",none
html,0,0,"<!DOCTYPE html PUBLIC",none
psd,0,0,"8BPS",none
tif,0,0,"II*",none
tif,0,0,2"\5A\00",none
tif,0,0,"\00\4d\d3\a8\a8\00",none
pcx|dcx,0,0,"\0a\05",none
dwf,0,0,"(DWF V00.30){",none
cit,0,0,"\08\09\fe\02\18",CT_cit
cit,0,0,"\08\09\fe\04\18",CT_cit
cit,0,0,"\08\09\fe\05\18",CT_cit
cit,0,0,"\08\09\fe\09\18",CT_cit
cit,0,0,"\08\09\fe\0A\18",CT_cit
cit,0,0,"\08\09\fe\0B\18",CT_cit
cit,0,0,"\08\09\fe\0D\18",CT_cit
cit,0,0,"\08\09\fe\0F\18",CT_cit
cit,0,0,"\08\09\fe\14\18",CT_cit
cit,0,0,"\08\90\fe\01\18",CT_cit

cit,0,0,"\08\09\fe\01\41",CT_cit
dgn7,0,0,"\08\09\Fe\02\01\08",CT_dgn
dgn7,0,0,"\08\09\Fe\02\08\01",CT_dgn
dgn7,0,0,"\C8\09\Fe\02\01\08",CT_dgn
dgn7,0,0,"\08\09\Fe\02\00\00",CT_dgn
//dgn,0,0,"\D0\CF\11\E0\A1\B1\1A\E1",none
cit,0,0,"",CT_cit
prt,0,0,"\a5\0f\f0\5a\1e\02\00\00\30",none
png,0,0,"\89\50\4E\47\0D\0A\1A\0A",none
ps,0,0,"%!PS",none
ps,0,256,"%%Title:",none
ps,0,256,"%%Creator:",none
ps,0,256,"%%BoundingBox:",none
ps,0,256,"",CT_ps
mi|cmi,0,0,"#~1",none
mi|cmi,0,0,"#~2",none
cmi|mi,0,0,"\1f\9d\8c",none
pcx|dcx,0,0,"\0a\00",none
pcx|dcx,0,0,"\0a\02",none
pcx|dcx,0,0,"\0a\03",none
dcx|pcx,0,0,"\0a\04",none
jpg|jpeg,6,64,"JFIF",none
jpg|jpeg,6,64,"Exif",none
jpg|jpeg,0,0,"\ff\d8\ff\ed",none
dwg|dxf,0,0,"AC100",none
dwg|dxf,0,0,"AC101",none
dwg|dxf,0,0,"AC102",none
dxf|dwg,0,256,"$ACADVER",none
dxf,0,0,"0\0d\0aSECTION",CT_dxf
dxf,0,64,"SECTION",CT_dxf
dxf,0,1024,"$EXTMAX",CT_dxf
dxf,0,20,"\20\20\30\0D\53\45\43\54\49\4F\4E\0D",none
pdf,0,0,"%PDF-1.",none
pdf,0,0,"%PDF-2.",none
pdf,0,0,"%PDF-3.",none
pdf,128,160,"%PDF-1.",none
pdf,128,160,"%PDF-2.",none
pdf,128,160,"%PDF-3.",none
906|907,0,8,"\1f\1f\20\24\22\23",none
906|907,0,8,"\16\16\20\28\21\24\21",none
906|907,0,8,"\1f\1f\20\24\21\23",none
dg,0,0,"S5000* BUILD",none
dg,16,16,"S5000* BUILD",none
dg,36,36,"S5000* BUILD",none
dg,0,0,"S5000* BLD",none
dg,16,16,"S5000* BLD",none
wp5,0,0,"\ff\57\50\43",none
dg,36,36,"S5000* BLD",none
dls,0,0,"IGC1\01\00\00\00",none
dsf,0,0,"Informative Graphics Document Stack",none
gif,0,0,"GIF87a ",none
gif,0,0,"GIF89a ",none
906|907,0,8,"\20\21\20\20\21",none
906|907,0,8,"\26\26\26\26",none

dxf,0,256,"$EXTMAX",CT_dxf
wrl,0,0,"#VRML",CT_vrml
isf,0,0,";; HSF V1.00",CT_isf
doc,-1,-1,"WordDocument",none
sat,0,0,"",CT_acis
stl,0,0,"",CT_stl
igs,0,0,"",CT_iges
ps,0,512,"/inch",none
daf,0,256,"AcVObjArray",none
plt|000,0,0,"\1B%-1B",CT_hpgl
axp,0,0,"\00\08\00\00\00\00\00\00\00\00\00\00",CT_axp
plt|000,0,0,"",CT_hpgl
plt|000,0,75,"\3b\4e\50",CT_hpgl
plt|000,0,75,"HP-GL",CT_hpgl
plt|000,0,200,"PJL ENTER LANGUAGE=",none
plt|000,0,11,"\42\45\47\4D\46\20\22\4F\63\65",none
plt|000,0,7,"\1B\2A\6F\35\57\45\ED", none
plt|000,0,75,"BEGMF \22OCE GRAPHICS", none
plt|000,0,75,"BEGMF", CT_hpgl
rtf,0,10,"{\\rtf",none
dwf,0,0,"(DWF V",none
mot,0,0,"",CT_mot
cgmct,0,0,"BegMF ",CT_cgmct
cgmct,0,0,"BEGMF ",CT_cgmct
cgm,0,512,"PICTURE 1",CT_cgm
cgm,0,256,"cgm",none
cgm,0,256,"CGM",none
cgm,0,0,"",CT_cgm
cc,0,0,"* CAMCAD Data File",none
cc,0,0,"!PADS-POWERPCB",none
cc,0,0,"ACCEL_ASCII",none
cc,0,0,"A!",none
cc,0,0,"(cadif",none
cc,0,0,"(edif",none
cc,0,54,"GENCAM:",none
cc,0,0,"G04 CAM350",none
cc,0,0,"P JOB VeriBest PCB",none
cc,0,0,"# BOARD STATION RELEASE",none
cc,0,256,"BOARD board OFFSET",none
cc,0,0,"\28\4D\49\4E\0D\0A\28\56\65\72\73\69\6F\6E",none
cc,0,0,"PCB FILE 6 VERSION",none
txt,0,0,"",CT_text
rlc,0,0,"",CT_rlc

You might also like