![]() |
#16 |
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
|
![]() |
![]() |
![]() |
#17 |
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
Added ability to extract only one .imp file.
See post #1 above and use the 'extract.bat.txt' attachment (just save as 'extract.bat') and in the MS-DOS command prompt window, type: 1. unimp "Impfilename.imp" and 2. extract "Resdirname" (note no .RES and Resdirname may differ from Impfilename) Last edited by nrapallo; 05-16-2008 at 04:52 PM. Reason: Oops, fixed a major typo! |
![]() |
![]() |
![]() |
#18 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,999
Karma: 300001
Join Date: Jan 2007
Location: Citrus Heights, California
Device: TWO Kindle 2s, one each Bookeen Cybook Gen3, Sony PRS-500, Axim X51V
|
Quote:
Derek |
|
![]() |
![]() |
![]() |
#19 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,745
Karma: 134321338
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Is the goal to be able to extract the contents of the IMP file with the full formatting and graphics for easy conversion to another format of our choice?
|
![]() |
![]() |
![]() |
#20 | |
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
Quote:
I doubt that I will be able to get the original html "look" since it is not stored in the .imp file. Only the basic components are, like a record that tells you where all the font/styles changes are located in the file, another record indicates where to end the line so that it doesn't spill over the screen size of that .imp and other records that stores the images, hyperlinks used, etc. Basically all the building blocks are there (scattered) and it would not be trivial to reassemble the .html! Possible, but would be like reverse-engineering everything. This is the next best thing for now. Later, I wouldn't mind doing something along the lines of an Impperl suite of programs ala Mobiperl. Until now no programs have been able to extract any information from .imp files, so this is the begininng of the journey.... |
|
![]() |
![]() |
![]() |
#21 |
Enthusiast
![]() ![]() Posts: 47
Karma: 136
Join Date: Mar 2008
Location: UK
Device: Ebookwise 1150, Kindle 3
|
![]()
It's really wonderful that you've managed that! Now I might actually get a new e-ink reader. I love my ebookwise but I cracked the screen and the battery is giving up after 3 years of intense use. Living in the UK, I'd have to get a new one, so I'm thinking of switching to e-ink.
Any idea of a timeline for the new ebooktechnologies reader? At the moment I'm actually thinking of getting the Iliad (for the pdf support as I'm an academic) and because it seems closest to the ebookwise in other functions. ![]() |
![]() |
![]() |
![]() |
#22 |
Enthusiast
![]() ![]() ![]() ![]() Posts: 42
Karma: 370
Join Date: Dec 2008
Device: ebookwise, sony
|
Would like to help.
Nick,
I know you are working on the conversion of imp to other formats. I have been working on the same goal. I have viewed the source code for the LZSS compression but have not been successful in tweeking it to decompress the text from the imp. Can you give me and insite? I would be willing to same source code in the endever. My code is currently in c# and working toward a imp to lrf converter. Michael |
![]() |
![]() |
![]() |
#23 | |
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
Quote:
The LZSS decompressor routine has already been re-written (and working) in Perl. It's been incorporated into EBook-Tools by mobileread.com member AZed by way of a LZSS.pm. It currently is only available in trunk, but should be released soon in version 4.0. If you would like to PM me with your email address, I can help you with the C source code of same, but since it's a hack, I'm relucant (embarrassed) to post it here. We (AZed and myself) have a lot more "goodies" in the EBook-Tools bag, like metadata editing and .html and images extraction. So stay-tuned! I had previoulsy reverse-engineered the .imp format (as did ashkulz), but had no way of implementing what I had learnt via code. Now that I'm involved with EBook-Tools I forsee a lot of re-writing of existing programs to do things the EBook-Tools way. Perhaps you can use this for your conversions as well! ![]() |
|
![]() |
![]() |
![]() |
#24 |
Enthusiast
![]() ![]() ![]() ![]() Posts: 42
Karma: 370
Join Date: Dec 2008
Device: ebookwise, sony
|
Nick,
My email is michaels@ebizsoft.com. The problem I have is on the encoding bit. I read a offset then the length, but the numbers are pointing to bytes that have nothing in them. I am also using a byte array to hold the compressed data and using it as the incoming file and output is to a string that at the end I write to a file to check. I have parsed the PNG files, !!sw, confused on the values for !!cm. I am assuming the default 64 resource. I have been working on the style and extended style data to parse. All is in objects so I can hopefully at the end put together other formats. Michael |
![]() |
![]() |
![]() |
#25 | |
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
Quote:
I just sent you my source for deimp.exe and imp_dump.pl which parses a .imp into it's component filetype records and extracts the images and text. I have not yet parsed !!cm (didn't need to just yet as deimp is used), but have parsed !!sw (which I think is useless/nonfunctional?). I have a lot of "notes" on this, but have not yet coded (in Perl) all of the .RES filetypes. If you are interested in further reverse-engineering of the .imp format, then I think a new thread is in order. I know quite of few will join in! The main information on .imp reverse-engineering comes from the Jeffrey Kraus-yao's excellent website http://krausyaoj.tripod.com/reb1200.htm (or on the REB1200 for Dummies website http://www.chromakinetics.com/REB1200/imp_format.htm) . Last edited by nrapallo; 12-17-2008 at 03:23 PM. |
|
![]() |
![]() |
![]() |
#26 | |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Apr 2010
Location: Houston, TX
Device: ebook ETI-2, Palm5
|
Quote:
Another question please. What is an alternative to the ebookwise ETI device? Are they going to come out with an e-ink device that will read my .imps and other formats? I know it's in not in the works that the powers that be would let us have one or multiple devices that would read all the formats. (sigh) Thank you |
|
![]() |
![]() |
![]() |
#27 | ||
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
Quote:
Quote:
![]() |
||
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with converting to IMP format | sofbal14 | IMP | 3 | 01-19-2010 02:53 PM |
Converting RB to IMP format | sputnik | Fictionwise eBookwise | 3 | 01-04-2010 02:53 PM |
Converting .IMP | tigriss7 | Calibre | 2 | 10-19-2009 11:00 PM |
Converting IMP | ssimon2000 | IMP | 2 | 02-28-2009 07:38 AM |
Converting *.imp to rtf/hmtl/doc | dreddengineer | Workshop | 6 | 07-06-2006 12:07 PM |