View Single Post
Old 12-19-2008, 01:44 PM   #8
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: 2530531
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by mscott161 View Post
What would you like to edit?

--Michael
Where do I begin (as shouts can be heard from around the world from .imp users! ):

Per the .imp specs:
Edit - Book properties start at offset 0x30
Yes* - ID: null terminated C string
YES - Bookshelf Category: null terminated C string
N/A - Subcategory: null terminated C string, not displayed on REB1200
YES - Title: null terminated C string
N/A - Last name: null terminated C string
N/A - Middle name: null terminated C string
YES - First name: null terminated C string

Note * = there is a way to auto-generate this ID.; N/A = not allowed; YES = allow edits

Afterwards, the length of Book Properties (including 7 null's) needs to be updated so that BytesRemainingInHeader is set to length of Book Properties + 24!

Also, it would be nice if the Name of .RES directory could be changed to the .imp filename (minus .ext) or even auto-generated to be 'Author-Title' as you used for the (decompressed) text filename. The DictionaryLength (length of directory name) in the 48 byte header would have to be updated then as well. (p.s. you called it Dictionary, but I think you meant Directory...)

That's it for now...

Check please!

Last edited by nrapallo; 12-19-2008 at 01:48 PM.
nrapallo is offline   Reply With Quote