UniFM/res/config/types.ini

52 lines
1.9 KiB
INI
Raw Permalink Normal View History

2018-11-14 19:08:50 +02:00
; Here we map file extensions with modules used to open files with such extensions.
; Module names are the same as in modules.ini
; Each record has the following syntax:
; ext1 [ext2 [ext3 ...]] = module.package.ModuleClass
[Open]
zip jar sdt scs nth = com.classpath.zip.ZipFile
rar = com.innosystec.unrar.Archive
ppk = com.one.PlainPackage
mid amr wav aac mp3 imy m4a xmf awb midi wma ra = modules.audio.AudioModule
jpg jpe gif png bmx jpeg wbmp ico = modules.image.ImageModule
3gp mp4 m4v wmv rm = modules.video.VideoModule
txt jad log ini inf cdf xml col j java jcc mf = modules.text.TextModule
tmo vcs vnt = modules.TMOModule
mod xm s3m = modules.audio.TrackerModule
ncs mcs ths = modules.color.ColorModule
mvi = modules.image.VectorModule
mbac = modules.mascot.MascotViewer
mtra = modules.mascot.AnimationViewer
bmp = modules.mascot.TextureLoader
m3u = modules.playlist.M3UModule
class = modules.mocha.Decompiler
swf = modules.SWFViewer
;htm html mht mhtml wml = modules.PlatformRequestModule
; Next, we need to map extensions to file creation modules. The syntax is expectingly reversed,
; but note that there must be only one extension for each module:
; module.package.ModuleClass = ext
; All extensions assigned here are just the default ones, user will be able to edit them when creating file.
; If some module is not mentioned down there, then no default file extension will be assigned to it.
[Create]
modules.ZipFileSource = zip
modules.PPKFileSource = ppk
modules.text.TextFileSource = txt
modules.playlist.M3UFileSource = m3u
modules.color.ColorFileSource = ncs
modules.NullFileSource = stub
modules.FileSplicer = splice
; The same as previous section, except that these modules don't create anything,
; but some other modules need to know, which files are opened with them.
[Special]
modules.mascot.MascotViewer = mbac