xfam v1.2.1
XnView file association manager (or xfam) is a small alternative for XnView's build in association manager. You can create, delete and restore XnView file associations. Additionally custom file type icons can used with the associations and you can create new menu items in the right-click context menu of the associated file types.

Xfam isn't meant to be full replacement for XnView's own association manager since it only covers the most used file types supported by XnView.

The associations created by xfam are fully compatible with XnView v1.9 or newer, but you can use it for older XnView versions too, if you use the incompatible mode.
Two main modes
Xfam has two main modes: XnView compatible (default) and incompatible mode. Associations created in XnView compatible mode are compatible with XnView's own associations manager and associations created in incompatible mode will not show up in XnView's own associations manager.

You can change this mode in the options page.

Uncompatible XnView grouping
============================

extensions		group key	name				icon index

psd			xfamfile_psd	Adobe Photoshop			13
iff,blk			xfamfile_iff	Amiga IFF			4
gif,giff		xfamfile_gif	CompuServe GIF			3
icl			xfamfile_icl	Icon Library			1
jpg,jpeg,jif,jfif,jpe	xfamfile_jpg	JPEG / JFIF			5
jpc			xfamfile_jpc	JPEG-2000 Code Stream		16
jp2,j2k,jpx,jpf		xfamfile_jp2	JPEG-2000 JP2 File Format	15
pic,pict,pict2,pct	xfamfile_pic	Macintosh Quickdraw/Pict	7
pbm,rpbm,ppma		xfamfile_pbm	Portable Bitmap			1
pgm,rpgm		xfamfile_pgm	Portable Greyscale		1
png			xfamfile_png	Portable Network Graphics	8
ppm,rppm		xfamfile_ppm	Portable Pixmap			1
cr2,crw,nef		xfamfile_raw	Raw Image File			14
tif,tim,tiff		xfamfile_tif	TIFF Revision 6			10
tga,targa,pix,bpx,ivb	xfamfile_tga	Truevision Targa		9
bmp,rle,vga,rl4,rl8	xfamfile_bmp	Windows Bitmap			2
cur			xfamfile_cur	Windows Cursor			%1
dib			xfamfile_dib	Windows DIB			1
emf			xfamfile_emf	Windows Enhanced Metafile	11
ico			xfamfile_ico	Windows Icon			%1
wmf			xfamfile_wmf	Windows Metafile		12
pcx,pcc,dcx		xfamfile_pcx	Zsoft Publisher Paintbrush	6
xbm,bm			xfamfile_xbm	X11 Bitmap			1
xpm,pm			xfamfile_xpm	X11 Pixmap			1
sld			xfamfile_Slide	XnView Slide			0



XnView compatible grouping
==========================

extensions		group key	name				icon index

blk,bm,bpx,dcx,dib,
giff,icl,ivb,j2k,jfif,
jpf,jpx,pbm,pcc,pct,
pgm,pict,pict2,pix,pm,
ppm,ppma,rl4,rl8,rle,
rpbm,rpgm,rppm,targa,
tiff,tim,vga,xbm,xpm	XnView.Image	XnView Image			1
psd			XnView.psd	Adobe Photoshop			13
iff			XnView.iff	Amiga IFF			4
gif			XnView.gif	CompuServe GIF			3
jif,jpe,jpeg,jpg	XnView.jpg	JPEG / JFIF			5
jpc			XnView.jpc	JPEG-2000 Code Stream		16
jp2			XnView.jp2	JPEG-2000 JP2 File Format	15
pic			XnView.pic	Macintosh Quickdraw/Pict	7
png			XnView.png	Portable Network Graphics	8
cr2,crw,nef		XnView.raw	Raw Image File			14
tif			XnView.tif	TIFF Revision 6			10
tga			XnView.tga	Truevision Targa		9
bmp			XnView.bmp	Windows Bitmap			2
cur			XnView.cur	Windows Cursor			%1
emf			XnView.emf	Windows Enhanced Metafile	11
ico			XnView.ico	Windows Icon			%1
wmf			XnView.wmf	Windows Metafile		12
pcx			XnView.pcx	Zsoft Publisher Paintbrush	6
sld			XnView.Slide	XnView Slide			0
Create XnView file associations
Creating new associations is designed so that xfam doesn't "steal" associations from other applications unless the user want to do so and even when association is replaced a backup will be created for the old association so it can be restored later on.

Path to XnView executable:
Locate the XnView executable (xnview.exe) if it isn't set already.

XnView command line parameters:
You can add additional command line parameters for XnView. You will find the list of possible command line options from XnView. (Select Info / Command line help... from the XnView menu)

Custom icon set for file associations:
You can select custom file type icon set for the file associations. If this field is empty, default XnView file type icons are used.

If association already exist:
Action for case that the association already exist.

Never replace association - All existing association that are not created by xfam or XnView will not be replaced in any case.
Ask before replace - xfam will ask if the existing association should be replaced.
Always replace association - All existing associations will be replaced or updated.
Create new items in context menu
Context menu items are additional "open actions" what appears in the file right-click menu. Example: When you right-click a txt file you should see a "Print" menu item just below Open. With This feature you can create your own menu items.

Note: You can not delete created context menu items with this tool and replaced context menu items cannot be restored.

Path to menu item executable:
Locate the executable what deals with the context menu item. By default this is XnView, but you can use any program you want.

Executable command line parameters:
You can add additional command line parameters for the menu item application.

Context menu label text:
Set the text that appears in the right-click context menu of the associated file types. This field can be left empty if any of the verbs is selected.

Action (verb):
Menu items can be uniquely assigned to specific actions (verbs). Verbs are used to open a file in a specific way.

If menu item already exist:
Action for case that the context menu item with same text or same verb already exists.

Never replace menu item - Menu item will not be replaced in any case.
Ask before replace - xfam will ask if the context menu item should be replaced.
Always replace association - All existing context menu items will be replaced.
Delete & restore file associations
Simply select all the associations from the list that you want to delete or restore.

Note: you can only delete associations what created by xfam or XnView.
Links
XnView homepage: http://www.xnview.com/
Xfam homepage: http://koti.mbnet.fi/vaultec/
Xfam on XnView Forum: http://newsgroup.xnview.com/viewtopic.php?t=5868