This is a simple command line extraction tool for Linux. It supports BIF, RIM and ERF archives.
http://sikon-sf.gorodok.net/ktsextract.gz)
Usages:
ktsextract l /windows/bin/kotor/data/scripts.bif - list contents of an archive
ktsextract e /windows/bin/kotor/modules/001ebo.rim module.ifo - extract file
ktsextract x /windows/bin/kotor/modules/101per_dlg.erf /home/me/dir - extract all files
The binary should be self-sufficient and shouldn't require any additional libraries, but the program uses a library called "libktscommon", which is available from the CVS repository of this project:
http://sourceforge.net/projects/kotortoolset)
This program is in the library source's "extras" directory.
If people are interested, I can write a GTK+/GNOME front-end for the library, already in progress.
http://sikon-sf.gorodok.net/kotor_explorer.png)