Take a look at mp3tofid.c inside the mp3tofid distribution -- inside the savefids() function, there's code for writing the v3 database format, as well as the playlists and tags files.
_________________________
- Tony C
my empeg stuff