View Single Post
Old 09-24-2008, 12:43 AM   #2
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
EDIT: I've now written a little dos command line utility in Perl called impmeta available here.

In our wiki pages, you will find IMP software, which lists
Quote:
Imp Librarian - windows - to catalog a collection of .IMP files and produce .csv files for import into MS Excel or equiv.
With it you can edit selected .IMPs (I found some files edited by Imp Librarian that could not be edited properly afterwards with GEBLibrarian - use with extreme caution & use on backups until you're sure this works for you!)

Also, I've been meaning to write an impedit utility for some time now (EDIT: see above), but have been distracted writing plugins for some program here ). It would be written in perl and have a similiar GUI interface to Mobi2IMP/PDFRead. (btw, that GUI was the brain child of ashkulz; I just copied it!)

In essence, the .imp ebook has fields after the first 48 bytes that are null byte terminated (dot represents that 0 byte):
Code:
ID . Category . Subcategory . Title . LAuthorname . MAuthorname . FAuthorname .
The only problem editing these directly with a hex/binary editor is that if the length changes for any field, the size of this header record in the imp file must be recalculated along with the offset to the .RES TOC entries. Not hard, but will take some time to code and perfect. I'll look at this soon, if ashkulz doesn't beat me to the punch.

For more information, see IMP and the detailed reverse-engineering work done by Jeffrey Kraus-yao in 2002 here.

If you promise to not get tired asking questions, I promise to not get tired answering them...

Last edited by nrapallo; 04-08-2009 at 10:43 AM. Reason: link to impmeta - dos command utility to change title/author/category in .imp ebooks
nrapallo is offline   Reply With Quote