FileID.library V1.0 documentation --------------------------------- written by BLOODROCK of SYNDICATE The idea to this library was born as I thought about expanding Packer Manager by a "WhatIs"-like function, as a universal replacement for such tools. The goal is, to join as much features as possible together into one single tool (PacMan). But why not supporting specific functions for public, like the great decrunch- library does ? FileID.library is the logic result. The FileID.library was made for identifying files by checking it's contents. There are some other libraries already existing, like WhatIs.library or DataTypes.library. But the DataTypes.library supports too many extras, resulting in low speed and big datatype identification files. For a simple file identification, this library is not "the perfect thing". FileID.library should not tell a program, what to do and how to manage a file. It shall just return a simple information about what kinda type the file is. Some programs already exist (ID, WhatIs, etc.) doing that job. But other programmers can't use it's services for their own programs. This is the goal of FileID.library. The WhatIs.library shows up a way. But the only library version I ever saw, just knows approx. 20 different file types and the descriptions are too short, I think. No one (including the author itself) seems to expand the library brain file. Also, WhatIs.library comes up in two different versions, one version for Kick -1.3, another version for Kick 2.0+. I really don't understand the reason for that. (Note to S.R. and P.C.: don't worry :^) The WhatIs_brain_file idea is very good, of course. But I don't think about doing the same. I'll expand the library myself, trying to hold a maximum library speed. FileID.library was written in highly optimized assembly code. A user brain file version couldn't reach that high speeds. If you want FileID.library to identify your favourite/special file types, just contact me and send me some example files and, if possible, include some informations about how these files can be identified. Note that FileID.library won't ever identify viruses. For virus hunting, please use a good virus killer, like VT. Those programs do this job much better and safer. It will be much more work to hunt and kill viruses in a really safe manner. This would only explode the library size. Also, I really don't feel like collecting and reassembling hundreds of viruses. This is a life-time job, and I really have other things to do. Don't lay any bets on the results of a FileID analysis. If your textfile begins with the words: "DMS! -A standard Amiga disk packer...", FileID will tell you that the file was a DMS archive, because the first four bytes equal "DMS!"... Some file types can't be safely identified, like some system files (libs, devs etc.). For example, a keymap starts with a DOS hunk header, followed by a node structure. Unfortunately, no LN_TYPE was defined for keymap nodes. FileID.library can only guess sometimes... FileID.library can be used on every Amiga without any system requirements (I hope...:^) Sorry, but there are only assembly includes available. List of recognized file types ----------------------------- Note that (directory) is only returnded by FIIdentifyFromName(), of course. V 1.0: File type range from 0 to 289. (FileID, description) ------------------------------------------------------------------------------ 245 3D Construction Kit data 246 3D Construction Kit object 236 3D Professional lightsource 235 3D Professional object 237 3D Professional scene 238 3D Professional script 79 AC-Basic comp'ed AmigaBasic program 225 Adorage animation 226 Adorage script 122 AdPro loader/saver/operator * approx. 85% ID rate * 243 Advanced Layouter layout 244 Advanced Layouter page 242 Advanced Layouter pattern 92 Ami-Pack archive 169 Amiga E compiler module 77 AmigaBasic listing 78 AmigaBasic listing (list protected) 215 AmigaFox layout 40 AmigaGuide database 201 AmigaVision (MultiVision) commands * not tested yet * 202 AmigaVision (MultiVision) events * not tested yet * 200 AmigaVision (MultiVision) flow 272 AmigaVision helpfile 190 AmiWrite printer font 261 AMOS-Basic listing 262 ANIMagic seg file 36 application icon 102 Arc archive 76 Arj archive 211 B2-MIDI full instrument score 212 B2-MIDI instrument set 210 B2-MIDI song 263 Bars & Pipes Professional song 229 BeckerText document 230 BeckerText mask 223 Caligari 3-D object 222 Caligari poly font 224 Caligari rendering environment 22 CanDo deck 228 Canon Studio dither data 264 Chamaeleon harddisk driver * correct name is Chamäleon * 49 Cloanto Personal FontMaker file 117 CompDisk archive 153 CompuGraphic .metric font 152 CompuGraphic outline font 266 Crossword Construction Set grid 265 Crossword Construction Set puzzle 69 David Whittaker module * not all formats * 47 DCTV Paint clip * not tested yet * 48 DCTV Paint palette * not tested yet * 46 DCTV raw picture * not tested yet * 285 Deliplayer/Eagleplayer 58 Delta Music 2.0 module 91 Deluxe Music Construction Set score 213 DeluxeVideo video 34 device icon * You'll never see it. if true, icon 121 (directory) \_ is corrupt * 29 disk icon 118 Disk Imploder self-extr. archive * V 1.0, V2.27 * 116 DiskImploder archive 100 Disney Animation Studio anim * several formats * 1 DMS archive 54 DOS device driver 85 DOS FFS bootblock 84 DOS OFS bootblock 30 drawer icon 221 DynaCADD drawing 220 DynaCADD vector font 61 Face The Music module 43 Fantavision movie 192 FinalCopy II document 191 FinalCopy II PS-font 94 Freeze packed 53 function library 59 Future Composer 1.3 module 60 Future Composer 1.4 module 274 Future Composer synth instrument 267 GadgetToolsBox project 239 Genesis landscape 219 GFA basic listing 56 GIF picture 268 GoAmiga! Datei database 62 Hippel-COSO module 269 HS-Pascal compiler unit 193 hyphenation table (several prgs.) 50 IFF 1-32 bit sample (Mac, AppleII) * not tested yet* 45 IFF 2-D object 44 IFF animated bitmap (Deluxe Video) 21 IFF animation/animbrush 25 IFF formatted text 19 IFF picture/brush 23 IFF raster font * not tested yet* 20 IFF sound sample 24 IFF vector font * not tested yet * 41 IFF-ACBM picture (AmigaBasic) 171 IFF-LIST file 26 IFF-Sonix music score 194 ImageMaster shape 28 Imagine/Turbo Silver rendering data 232 InterBase database 233 InterBase printer driver 270 IntroCAD drawing 63 Jam Cracker module 97 JPEG picture 231 Kick-Pascal compiler unit 89 KICKstart disk bootblock 35 KICKstart disk icon 198 KindWords/AmiWrite document 189 KonScript clips 71 LhA/Lharc archive 72 LhASFX self-extracting archive * V 1.2 * 115 LhPak self-extracting archive 96 LhWarp archive 271 Liam/Adam database 207 LightWave 3-D object 88 linkable object code 18 locale catalog 172 MaxiPlan worksheet 258 Maxon RCT definition file 257 Maxon RCT source 120 Maxon Word document 234 MaxonCAD drawing 64 MED/OctaMED module 65 MED/OctaMED song/song+samples 284 MED/OctaMED synth sound 227 Morphus project 124 MPeg picture 103 MS-DOS PC executable 218 Music-X data 217 Music-X IFF data 273 MusicMaker instrument 144 NickPrefs BusyPointer prefs 126 NickPrefs Floppy prefs 143 NickPrefs WBPicture prefs 106 Oktalyzer module 112 Old PacMan decrunched abs_load file * save all data before running it ! * 57 P-Compress 93 PACK_scn1.library packed * used with AmigaMensch * 113 PacMan decrunched abs_load file * save all data before running it ! * 114 PacMan decrunched KillSys abs_load * save all data before running it ! * 204 PageLiner dictionary 205 PageLiner document 206 PageLiner tags 276 PageSetter II document 279 PageStream document 282 PageStream export handler * Two different IDs * 280 PageStream font 283 PageStream import handler * Three different IDs * 281 PageStream printer driver 277 Painter 3D outline file 111 PAK self-extracting archive 209 patch file (IFF format) * format used by several programs * 173 PDraw clips 174 PDraw font 176 PDraw page 175 PDraw project 170 PostScript file 109 PostScript font 2 PowerPacker data 3 PowerPacker data/password 188 PPage document 186 PPage filter 187 PPage page 250 PPrint colormap 254 PPrint document 253 PPrint form 249 PPrint image * Two different IDs * 255 PPrint object 251 PPrint page * Both PPrint and PPrint Deluxe * 252 PPrint pattern 256 PPrint text file 182 Premiere Text document 32 project icon 66 Promizer 4.0 module 145 Proper Grammar project 101 ProTracker module 27 ProWrite document 108 PS-Adobe font 183 Publishing Partner Master graphics 184 Publishing Partner Master text 197 Real3D data 147 Reflections material 146 Reflections scene 87 ReSource file 95 Restore archive 195 Retina monitor prefs 196 RexxPlus compiled ARexx program 80 Ron Claren module 149 RSI Demomaker demo (final save) * Both Demomaker I and II * 148 RSI Demomaker demo (short save) * Both Demomaker I and II * 150 RSI Demomaker vector object 151 RSI Demomaker vectorball 104 Samplitude Jr. sample 248 Saxon Script PS-font 119 Scala script * All versions Scala -> Scala IC * 185 Scenery Animator landscape 208 Sculpt3D object 98 Sonic Arranger module 99 Sonic Arranger synth sound 105 Sonix sample info file 110 SoundFX 1.3 module 81 SoundMon module 216 SSA animation 82 StarTrekker 4-channel module 83 StarTrekker 8-Channel module 275 StarTrekker AM sound 125 SuperBase form 154 SuperJam! band 155 SuperJam! chord 156 SuperJam! drum map 157 SuperJam! instrument 158 SuperJam! keyboard 159 SuperJam! patch 160 SuperJam! section 161 SuperJam! song 162 SuperJam! style 67 Synthesis 4.0 module 131 system Country prefs 52 system font 51 system font contents file (.font) * Both normal and Tag-fonts * 127 system Font prefs 128 system IControl prefs 129 system Input prefs 55 system keymap file 130 system Locale prefs 132 system Overscan prefs 133 system Palette prefs 134 system Pointer prefs 123 system printer driver 137 system Printer prefs 135 system PrinterGFX prefs 136 system PrinterPS prefs 138 system ScreenMode prefs 139 system Serial prefs 140 system Sound prefs 142 system WBConfig prefs 141 system WBPattern prefs 42 Term config file 68 TFMX module (song file) 247 The Director film 203 TME score * no TME modules * 31 tool icon 33 trashcan icon 214 TurboSilver RGB image * RGBN and RGB8 * 199 TV Paint palette 0 unknown data file 107 unknown executable file 38 unknown IFF file 17 unknown standard prefs file 37 unknown Workbench icon 39 unknown Xpk file 90 UnPack archive (AmigaPlus disk mag) 259 Vector Trace 3-D object 70 Vertex 3-D compact object 260 Video Director tape driver 278 VideoScape 3D object 177 VideoTracker data 178 VideoTracker rotor object 240 Vista DEM file 241 Vista script 179 VizaWrite data 180 VizaWrite document 181 Voyager settings 86 Warp/NibWarp archive 168 X-CAD data * all remaining data types * 163 X-CAD database 164 X-CAD font 165 X-CAD menu 166 X-CAD object 167 X-CAD symbol 4 Xpk BLZW packed 5 Xpk CBR0 packed 6 Xpk DLTA encrypted 7 Xpk ENCO encrypted 8 Xpk FEAL encrypted 9 Xpk HUFF packed 10 Xpk IDEA encrypted 11 Xpk IMPL packed 12 Xpk NONE stored 13 Xpk NUKE packed 14 Xpk RDCN packed 15 Xpk RLEN packed 16 Xpk SHRI packed 74 Zip archive 73 Zoo archive 75 Zoom archive * Both old Zoom and Zoom 5.x * ------------------------------------------------------------------------------