Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Other formats > IMP

Notices

Reply
 
Thread Tools Search this Thread
Old 12-22-2008, 02:27 PM   #1
mscott161
Enthusiast
mscott161 has a complete set of Star Wars action figures.mscott161 has a complete set of Star Wars action figures.mscott161 has a complete set of Star Wars action figures.mscott161 has a complete set of Star Wars action figures.
 
mscott161's Avatar
 
Posts: 42
Karma: 370
Join Date: Dec 2008
Device: ebookwise, sony
IMP GUI Converter/Editor

Hello,

Since the start of the GUI version of my ConvertIMP Program, I have continually added features as people have sent wish list items. I try to add new features to the program if they are a good fit, I am also try to keep the GUI from being too difficult to use.

This all started when conversing with Nick who has posted many elements to the IMP thread and has helped make the program what it is today. I will be working with him and others to make a good solid utility for users to be able to do something with the IMP format.

I will continue to edit this post with the new releases as I make them. Please be patient with it because it is Beta and I do not want users to mess up their IMP files. If there is a bug or problem, please post or PM me and I will remove the last release and fix the bugs before doing another one.

Thank you.
--Michael


- Version 1.3.5
I have now added the ability to mass convert the IMP Text Content to LRF. Found under Tools Menu. Or Select a book from the library and go to the Text Content Tab there is a Save LRF button. I would like to thank Chris Mumford for the BBeBLib in C# that allowed me to complete this milestone in the application.

- Version 1.3.6
I have add the TRow and TCel parsing which may have different effects to the HTML saving until string runs have been parsed.

Unless someone post that they want to see the source code this will be the last one and I will continue to update the below link but will only contain the executable.

- Just the Executable is at http://www.ebizsoft.com/download/convertimpgui.zip
Attached Files
File Type: zip ConvertIMPGUI.v.1.3.0.zip (662.3 KB, 1559 views)
File Type: zip ConvertIMPGUI.v.1.3.5.zip (560.0 KB, 1127 views)
File Type: zip ConvertIMPGUI.v.1.3.6.zip (269.4 KB, 3522 views)
File Type: zip ConvertIMPGUI.v.1.3.6a.zip (415.8 KB, 2052 views)

Last edited by mscott161; 09-10-2010 at 12:11 PM.
mscott161 is offline   Reply With Quote
Old 12-22-2008, 02:49 PM   #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: 2530531
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Nice!

At this rate, you'll be posting version 2.0 soon!

OK time to write that wish list...
nrapallo is offline   Reply With Quote
Old 12-22-2008, 10:47 PM   #3
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 nrapallo View Post
OK time to write that wish list...
Just but a few items...
  • In the Header section, display ImpType (2=EBW 1150/GEB 1150), ZoomState, Count of RESfiles and BytesRemainingInHeader.
  • Perform some sanity checks, mainly BytesRemainingInHeader -24 = length of book properties and if not correct, a Button to adjust BytesRemainingInHeader should be provided.
  • The Book section (should be called Book Properties) text usually gets cropped; the text box should have a horizontal scroll bar.
  • In the Book section, consider adding a string for the property's length/size like the TOC file entries. This way the Contents and Size will be listed underneath the Book Property heading.
  • In the Table of Contents (TOC) section, the random 4 letter filenames are not too important, so I would just list it along with the filetype it contains i.e. XHBG (JPEG). Consider revising the random 4-letter filenamse with their 4-letter filetype equivalent i.e.JPEG (JPEG). For filetypes with a space you can use an underscore. For DATA.FRK you can use DATA!
  • In the Images section, the image type could be displayed when expanded. I still don't see listed ALL the images used. Check the 'ImRn' filetype for the images used and their image type and original dimensions. Note for the EBW1150, those image types are written backwards like ' FIG' or 'GEPJ'
  • Under the Book Properties tab, for the RES File Name, allow a button that will autonmatically change it to the 'Author-Title' naming used for the .txt.
  • allow for the unimp'ing and re-imp'ing of files like facilitated by unimp.exe and reimp.exe.

OK, those were the easy/cosmetic things.

For the really advanced stuff, allow batch processing, handle REB1200 .imp ebooks, convert the text to html with character codes substitutions and weird characters substitution, allow linking to images and hyperlinks, use the embedded styles, < hr />, tables, forms, etc (you know the 'piece of cake' stuff ).

I'll help with the advanced stuff as I get the .IMP format better documented.

Now when this is all done, we can then feed the resulting .html with images/links/styles to Cailbre's html2lrf and presto, .lrf support! or .epub via html2epub!

Last edited by nrapallo; 12-23-2008 at 08:32 AM. Reason: typo
nrapallo is offline   Reply With Quote
Old 12-24-2008, 12:31 AM   #4
mscott161
Enthusiast
mscott161 has a complete set of Star Wars action figures.mscott161 has a complete set of Star Wars action figures.mscott161 has a complete set of Star Wars action figures.mscott161 has a complete set of Star Wars action figures.
 
mscott161's Avatar
 
Posts: 42
Karma: 370
Join Date: Dec 2008
Device: ebookwise, sony
GUI Update of With New Items

Nick and All,
I have made some GUI changes and provided image saving and display. Most all of the items from Nick's wish list above has been addressed.

I have placed the new update in the first post in this thread.

Happy Holidays,
--Michael
mscott161 is offline   Reply With Quote
Old 12-24-2008, 08:30 AM   #5
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
Nick and All,
I have made some GUI changes and provided image saving and display. Most all of the items from Nick's wish list above has been addressed.

I have placed the new update in the first post in this thread.

Happy Holidays,
--Michael
That's great, Michael! What turn-around time.

In the same time it took you to produce this new version, if you were a major corporation, I think you would be still at the stage of identifying your target users.

OK, some constructive/minor comments:
  • In the General tab, under Header, the RES File Count needs the closing ')';
  • note the ZoomState is the lower nibble i.e 0 which means Both Small View and Large View; 1=Small View and 2=Large View. The upper nibble of 0x20 (i.e. 32) is the ImpType 2=EBW1150.
  • under Book Properties, you now somehow omitted the SubCategory (it holds the number of pages the reader displays when in Small View and when in Large View respectively. While this cannot be edited, it could be displayed!
  • under Table of Contents, you list the file size. Other information to list would be Data size, Index size (and when divided by index headersize of 14 (for EBW1150) will yield the number of such Indices). So basically the format here is Filetype header (32 bytes), Data section, {IndexN}*
  • under Book Images, there are some duplicate images now listed . As my test .imp, I used REBtestdoc.imp, I don't understand why those multiple copies listed in 'ImRn' were stored. The 'ImRn' record indicates that there are 17 images stores, but only 8 seem unique i.e. there should be 1 .gif, 6 .jpgs, and 1 .png. See this imp_dump.pl printout
    Code:
     ======== ImRn ========
     Filename:BYVI, $0000, Filesize:    656, Filetype:ImRn, $0001
     Header:TOCconst:0001, TOCfname:ImRn, TOCoffset:    642
     Header:$00000001, Unknown:$0000, $00000282, $00000101, $00000000, $00000000
     Data length = 610, Index length = 14
      Number of images indexed = 17
       width:153, height: 61, aspect:2.51, $FFFB, $0000, offset:   1527, $00BC70D0, imgtype: FIG, imgID:0080, $0000
       width:153, height: 61, aspect:2.51, $FFFB, $0000, offset:  14851, $01E0DC48, imgtype: FIG, imgID:0080, $0000
       width:153, height: 61, aspect:2.51, $FFFB, $0000, offset:  14888, $01F479E0, imgtype: FIG, imgID:0080, $0000
       width:153, height: 61, aspect:2.51, $FFFB, $0000, offset:  14924, $00BE17B8, imgtype: FIG, imgID:0080, $0000
       width:153, height: 61, aspect:2.51, $FFFC, $0000, offset:  15012, $00BC9D20, imgtype: GNP, imgID:0080, $0000
       width:472, height:595, aspect:0.79, $FFFA, $0000, offset:  17845, $00BD94A0, imgtype:GEPJ, imgID:0080, $0000
       width:472, height:595, aspect:0.79, $FFFB, $0000, offset:  17847, $01F444C0, imgtype:GEPJ, imgID:8D4D, $0000
       width:153, height: 61, aspect:2.51, $FFFB, $0000, offset:  17898, $01EDFE80, imgtype: GNP, imgID:0080, $0000
       width:153, height: 61, aspect:2.51, $FFFF, $0000, offset:  18201, $01F44380, imgtype: GNP, imgID:0080, $0000
       width:153, height: 61, aspect:2.51, $FFFE, $0000, offset:  18512, $00C47C20, imgtype: GNP, imgID:0080, $0000
       width:153, height: 61, aspect:2.51, $FFFC, $0000, offset:  18823, $01E1A4C0, imgtype: GNP, imgID:0080, $0000
       width:153, height: 61, aspect:2.51, $FFFE, $0000, offset:  19156, $00BC7120, imgtype: GNP, imgID:0080, $0000
       width:153, height: 61, aspect:2.51, $FFFE, $0000, offset:  19485, $00BCDE50, imgtype: GNP, imgID:0080, $0000
       width:176, height:207, aspect:0.85, $FFFB, $0000, offset:  19949, $01F40D50, imgtype:GEPJ, imgID:4D80, $0000
       width:174, height:207, aspect:0.84, $FFFB, $0000, offset:  19951, $01F15318, imgtype:GEPJ, imgID:B7B8, $0000
       width:176, height:212, aspect:0.83, $FFFB, $0000, offset:  19953, $00BDD5C0, imgtype:GEPJ, imgID:8A1A, $0000
       width:174, height:212, aspect:0.82, $FFFC, $0000, offset:  19955, $00BF8D68, imgtype:GEPJ, imgID:0F4E
     Index1:Index1_const1:0080, len:   610, offset:     32, const0:0000
    
     ======== GIF  ========
     Filename:TGBQ, $0000, Filesize:   2154, Filetype:GIF , $0000
     Header:TOCconst:0001, TOCfname:GIF , TOCoffset:   2140
     Header:$00000001, Unknown:$0000, $0000085C, $00000101, $00000000, $00000000
     Data length = 2108, Index length = 14
      Number of GIF images = 1
     Index1:Index1_const1:0080,  $0000, len:  2108, offset:     32, $0000
    
     ======== JPEG ========
     Filename:BEDO, $0000, Filesize: 116352, Filetype:JPEG, $0000
     Header:TOCconst:0001, TOCfname:JPEG, TOCoffset: 116268
     Header:$00000001, Unknown:$0000, $0001C62C, $00000101, $00000000, $00000000
     Data length = 116236, Index length = 84
      Number of JPEG images = 6
     Index1:Index1_const1:0F4E,  $0000, len:  7767, offset:     32, $0000
     Index1:Index1_const1:8A1A,  $0000, len:  7628, offset:   7799, $0000
     Index1:Index1_const1:B7B8,  $0000, len:  6149, offset:  15427, $0000
     Index1:Index1_const1:4D80,  $0000, len:  6004, offset:  21576, $0000
     Index1:Index1_const1:8D4D,  $0000, len: 44637, offset:  27580, $0000
     Index1:Index1_const1:0080,  $0000, len: 44051, offset:  72217, $0000
    
     ======== PNG  ========
     Filename:RYJS, $0000, Filesize:   3977, Filetype:PNG , $0000
     Header:TOCconst:0001, TOCfname:PNG , TOCoffset:   3963
     Header:$00000001, Unknown:$0000, $00000F7B, $00000101, $00000000, $00000000
     Data length = 3931, Index length = 14
      Number of PNG images = 1
     Index1:Index1_const1:0080,  $0000, len:  3931, offset:     32, $0000
  • after you save an image, then when re-constructing the .html you will have to refer to it in a unique way. I used, for the filename, the Imagetype followed by the Image ID (in hex as it format well and is always 4 characters). Now the Image ID is unique only for its Imagetype. An example from REBtestdoc.imp is GIF_0080.gif, JPEG_0080.jpg, and PNG_0080.png
  • display the Image ID as a 4-byte hex. Also, clicking on that Image ID entry causes the program to crash!
  • In the Book Properties tab, when I click Rename IMP file button the program crashes.
  • I would relocate the Rename IMP file button to below and the Save button to the right where you had it in the previous version. This would allow those quick fix "Buttons" beside a property i.e. for Author a "Button" could change "Firstname Intial Lastname" to "Lastname, Firstname Initial" format. ID (should be called BookID) can be auto-updated via a "Button" using the GUID 32 character naming convention . Place a Fix BytesRemainingInHeader "Button" and other sanity checks "Buttons" at the bottom.
  • Save means Save .IMP Changes; and where is that Save Text "Button"?
  • In the Text Content tab, pressing it a second time should not display to Pop-up that it may take a while as it's already been decompressed.

That's it for now....

Have yourself Happy Holidays as well. And thanks for your present (ConvertIMP)!

Last edited by nrapallo; 12-24-2008 at 09:27 AM. Reason: typo
nrapallo is offline   Reply With Quote
Old 12-24-2008, 02:45 PM   #6
mscott161
Enthusiast
mscott161 has a complete set of Star Wars action figures.mscott161 has a complete set of Star Wars action figures.mscott161 has a complete set of Star Wars action figures.mscott161 has a complete set of Star Wars action figures.
 
mscott161's Avatar
 
Posts: 42
Karma: 370
Join Date: Dec 2008
Device: ebookwise, sony
New Version of the Convert IMP GUI v.1.1.3

Nick and All,

Most all of the items from Nick's wish list above has been addressed.

I have placed the new update in the first post in this thread.

Happy Holidays,
--Michael
mscott161 is offline   Reply With Quote
Old 12-24-2008, 03:55 PM   #7
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 9,616
Karma: 5071748
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2
Quote:
Originally Posted by mscott161 View Post
Nick and All,

Most all of the items from Nick's wish list above has been addressed.

I have placed the new update in the first post in this thread.

Happy Holidays,
--Michael
How is this one only 17K when the others were over 110K in size?

Dale
DaleDe is offline   Reply With Quote
Old 12-24-2008, 04:08 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
Dale:

It's just the executable file and doesn't have the source and project overhead/clutter. Maybe Michael can include the source code as well.

Still for 17k zipped it's amazing!!!!
nrapallo is offline   Reply With Quote
Old 12-25-2008, 11:09 PM   #9
mscott161
Enthusiast
mscott161 has a complete set of Star Wars action figures.mscott161 has a complete set of Star Wars action figures.mscott161 has a complete set of Star Wars action figures.mscott161 has a complete set of Star Wars action figures.
 
mscott161's Avatar
 
Posts: 42
Karma: 370
Join Date: Dec 2008
Device: ebookwise, sony
I replaced the zip file with one with the source code as well in it.
Sorry about that.

--Michael
mscott161 is offline   Reply With Quote
Old 12-31-2008, 01:02 PM   #10
mscott161
Enthusiast
mscott161 has a complete set of Star Wars action figures.mscott161 has a complete set of Star Wars action figures.mscott161 has a complete set of Star Wars action figures.mscott161 has a complete set of Star Wars action figures.
 
mscott161's Avatar
 
Posts: 42
Karma: 370
Join Date: Dec 2008
Device: ebookwise, sony
I have posted an update to the conversion gui program in my first post in this forum.
The new version is 1.1.4

-- Michael
mscott161 is offline   Reply With Quote
Old 12-31-2008, 06:20 PM   #11
mscott161
Enthusiast
mscott161 has a complete set of Star Wars action figures.mscott161 has a complete set of Star Wars action figures.mscott161 has a complete set of Star Wars action figures.mscott161 has a complete set of Star Wars action figures.
 
mscott161's Avatar
 
Posts: 42
Karma: 370
Join Date: Dec 2008
Device: ebookwise, sony
New Version 1.1.5 (In first post) - Have fixed the styles in the Create HTML. The Space Encyclopedia that Nick provided comes out pretty good. Still working on the Tables. Any Help with the format would be great.

-- Michael
mscott161 is offline   Reply With Quote
Old 01-01-2009, 05:38 PM   #12
mscott161
Enthusiast
mscott161 has a complete set of Star Wars action figures.mscott161 has a complete set of Star Wars action figures.mscott161 has a complete set of Star Wars action figures.mscott161 has a complete set of Star Wars action figures.
 
mscott161's Avatar
 
Posts: 42
Karma: 370
Join Date: Dec 2008
Device: ebookwise, sony
New Version 1.1.6 - I have added to the tree values retrieved from TRow and TCel. I believe my Tabl parse is correct. I hoping for some help in the TRow and TCel parse. Also Nick if you still have REB Test Document.IMP file that when using the Create HTML from the Tools menu displays pretty good along with the Space.IMP file.

If any one has code to take HTML to BBeB format or IRF left me know. I know that are programs like makelrf but I would like to incorporate the code in the application.

Thank you
-- Michael
mscott161 is offline   Reply With Quote
Old 01-01-2009, 10:28 PM   #13
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
New Version 1.1.6 - I have added to the tree values retrieved from TRow and TCel. I believe my Tabl parse is correct. I hoping for some help in the TRow and TCel parse. Also Nick if you still have REB Test Document.IMP file that when using the Create HTML from the Tools menu displays pretty good along with the Space.IMP file.
Michael:

Great achievements in so little time. Nice to see the styles working and table entries getting better support and finally being able to create .html from .imp ebooks!

I've had a hard time analyzing your results and reporting my findings BEFORE I see another revision is out and must re-do my testing.

For now, I have some quick findings (hopefully before your next revision gets posted) :
  • Your Create HTML menu item is a great addition; but why not place it in a Save HTML button beside (or in place of ) the Save Text button.
  • I've noticed that the extracted images (ID for the image type) are not always in the correct spot in the .html created. Check the first image in that Space Encyclopedia.imp against what shows up in the PC imp viewer.exe.
  • Under the General tab, the Header entry for IMP device shows 'Softbook 200/250e' when it should show 'EBW1150'.
  • It shows 'UnCompressed' even if the text is LZSS compressed.
  • The 'SubCategory' is not displayed as a Book Properties entries even though it does show up under the Book Properties tab.
  • When I click an image entry, you display the corresponding image. Consider displaying in that same section, text results that say imp_dump.pl would give for that record entry when "clicked'. No editing would be allowed; just display the info for that filetype in that section.
  • Under the Book Properties tab, the Format M L, F doesn't work as it only returns one character for each. Consider changing that button to Format L, F M instead, as this "sorts" better and is more common. Ensure that multiple button clicking of Format F M L and Format L, F M properly show the Author name.
  • Consider adding an About menu item with version number and your name (and possibly a link to this thread)!

Quote:
If anyone has code to take HTML to BBeB format or LRF let me know. I know that are programs like makelrf but I would like to incorporate the code in the application.

Thank you
-- Michael
The only code I myself know of to make .lrf ebooks is in python. Calibre's python source code is available for perusal as well as PDFRead's output.py which uses images instead of text. Why not feed your created .html to an external program 'html2lrf.exe" (or "html2epub.exe") using the Calibre command line support programs.

And thanks again for this program!

Last edited by nrapallo; 01-01-2009 at 10:36 PM.
nrapallo is offline   Reply With Quote
Old 01-02-2009, 01:51 AM   #14
mscott161
Enthusiast
mscott161 has a complete set of Star Wars action figures.mscott161 has a complete set of Star Wars action figures.mscott161 has a complete set of Star Wars action figures.mscott161 has a complete set of Star Wars action figures.
 
mscott161's Avatar
 
Posts: 42
Karma: 370
Join Date: Dec 2008
Device: ebookwise, sony
New Version 1.1.7

Quote:
Originally Posted by nrapallo View Post
Michael:

For now, I have some quick findings (hopefully before your next revision gets posted) :
  • Your Create HTML menu item is a great addition; but why not place it in a Save HTML button beside (or in place of ) the Save Text button.
  • I've noticed that the extracted images (ID for the image type) are not always in the correct spot in the .html created. Check the first image in that Space Encyclopedia.imp against what shows up in the PC imp viewer.exe.
  • Under the General tab, the Header entry for IMP device shows 'Softbook 200/250e' when it should show 'EBW1150'.
  • It shows 'UnCompressed' even if the text is LZSS compressed.
  • The 'SubCategory' is not displayed as a Book Properties entries even though it does show up under the Book Properties tab.
  • When I click an image entry, you display the corresponding image. Consider displaying in that same section, text results that say imp_dump.pl would give for that record entry when "clicked'. No editing would be allowed; just display the info for that filetype in that section.
  • Under the Book Properties tab, the Format M L, F doesn't work as it only returns one character for each. Consider changing that button to Format L, F M instead, as this "sorts" better and is more common. Ensure that multiple button clicking of Format F M L and Format L, F M properly show the Author name.
  • Consider adding an About menu item with version number and your name (and possibly a link to this thread)!
Nick,

I was able to put together the changes above.
  • I added the button to save HTML next to the Save Text button.
  • I Fixed the Image placement in the HTML so they are using the proper Resource ID for the Image in the HTML
  • I Fixed the Book Header for the IMP Device
  • I Fixed the Uncompressed / Compressed flag in the Book Header Display
  • I Added the SubCategory to the Book Properties Tree Node
  • Added an About Dialog
  • ???Can you give me a simple text layout of the image information you would like to see when clicking for the image display??? And do you want it added to the Tree or beside the Image Display???
  • ???The are several possible F L M combinations to try to handle without a specific set of rules this would be hard to control and some combination may be left out. I still have the code but temporary made the buttons invisible.

Thank you, I am glad the program is working for you. I appreciate the comments.

I added the list above to 1.1.7

-- Michael
mscott161 is offline   Reply With Quote
Old 01-02-2009, 08:57 AM   #15
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
[*]???Can you give me a simple text layout of the image information you would like to see when clicking for the image display??? And do you want it added to the Tree or beside the Image Display???
Sorry, I didn't exactly say what I meant to say. The image displaying routine is just fine as it is now. What I wanted to say was that for "other" RES filetype entries like BGcl, ImRn, etc just display where you showed previously the image (i.e. re-use that same section/space) some text output as shown above in post #5.
For example, BGcl could show:
Code:
 ======== BGcl ========
 Filename:OFQJ, $0000, Filesize:     54, Filetype:BGcl, $0000
 Header:TOCconst:0001, TOCfname:BGcl, TOCoffset:     40
 Header:$00000001, Unknown:$0000, $00000028, $00000101, $00000000, $00000000
 Data length = 8, Index length = 14
  BGcl_const1:FFFF, Red:FF ($FF), Green:FF ($FF), Blue:FF ($FF)
 Index1:Index1_const1:0080, len:     8, offset:     32, const0:0000
For ImRn, that would mean, show:
Code:
 ======== ImRn ========
 Filename:BYVI, $0000, Filesize:    656, Filetype:ImRn, $0001
 Header:TOCconst:0001, TOCfname:ImRn, TOCoffset:    642
 Header:$00000001, Unknown:$0000, $00000282, $00000101, $00000000, $00000000
 Data length = 610, Index length = 14
  Number of images indexed = 17
   width:153, height: 61, aspect:2.51, $FFFB, $0000, offset:   1527, $00BC70D0, imgtype: FIG, imgID:0080, $0000
   width:153, height: 61, aspect:2.51, $FFFB, $0000, offset:  14851, $01E0DC48, imgtype: FIG, imgID:0080, $0000
   width:153, height: 61, aspect:2.51, $FFFB, $0000, offset:  14888, $01F479E0, imgtype: FIG, imgID:0080, $0000
   width:153, height: 61, aspect:2.51, $FFFB, $0000, offset:  14924, $00BE17B8, imgtype: FIG, imgID:0080, $0000
   width:153, height: 61, aspect:2.51, $FFFC, $0000, offset:  15012, $00BC9D20, imgtype: GNP, imgID:0080, $0000
   width:472, height:595, aspect:0.79, $FFFA, $0000, offset:  17845, $00BD94A0, imgtype:GEPJ, imgID:0080, $0000
   width:472, height:595, aspect:0.79, $FFFB, $0000, offset:  17847, $01F444C0, imgtype:GEPJ, imgID:8D4D, $0000
   width:153, height: 61, aspect:2.51, $FFFB, $0000, offset:  17898, $01EDFE80, imgtype: GNP, imgID:0080, $0000
   width:153, height: 61, aspect:2.51, $FFFF, $0000, offset:  18201, $01F44380, imgtype: GNP, imgID:0080, $0000
   width:153, height: 61, aspect:2.51, $FFFE, $0000, offset:  18512, $00C47C20, imgtype: GNP, imgID:0080, $0000
   width:153, height: 61, aspect:2.51, $FFFC, $0000, offset:  18823, $01E1A4C0, imgtype: GNP, imgID:0080, $0000
   width:153, height: 61, aspect:2.51, $FFFE, $0000, offset:  19156, $00BC7120, imgtype: GNP, imgID:0080, $0000
   width:153, height: 61, aspect:2.51, $FFFE, $0000, offset:  19485, $00BCDE50, imgtype: GNP, imgID:0080, $0000
   width:176, height:207, aspect:0.85, $FFFB, $0000, offset:  19949, $01F40D50, imgtype:GEPJ, imgID:4D80, $0000
   width:174, height:207, aspect:0.84, $FFFB, $0000, offset:  19951, $01F15318, imgtype:GEPJ, imgID:B7B8, $0000
   width:176, height:212, aspect:0.83, $FFFB, $0000, offset:  19953, $00BDD5C0, imgtype:GEPJ, imgID:8A1A, $0000
   width:174, height:212, aspect:0.82, $FFFC, $0000, offset:  19955, $00BF8D68, imgtype:GEPJ, imgID:0F4E
 Index1:Index1_const1:0080, len:   610, offset:     32, const0:0000
Or trim to what is only "new" information and not yet displayed in your entries under the General tab, i.e. for BGcl , show just its data contents, simplified to 'BGcl Color Red:FF (OFF), Green:FF (OFF), Blue:FF (OFF)'. The data that gets displayed can be "collected" and assembled as a "string" for each RES filetype when you parse the RES records and then just displayed when the user clicks the BGcl or ImRn entries, etc.... For ImRn, consider displaying (when clicked) only one image's text output at a time.

Quote:
[*]???The are several possible F L M combinations to try to handle without a specific set of rules this would be hard to control and some combination may be left out. I still have the code but temporary made the buttons invisible.
I had previously "dissected" the Blackmask DVD with over 10,000 ebooks and was trying to get its 8.3 dos filenames to display in 'Author - Title' format where Author was in format Firstname Middlename Lastname. Below are a few text lines that were derived by me from the original Blackmask index so as to get my desired results, just look at the last string on each line of this tabbed spreadsheet data:
Code:
865	The Acorn-Planter Jack London The Acorn-Planter	The Acorn-Planter	Jack	London	litmax/acornplant.lit		"London, Jack - The Acorn-Planter"
866	Acres of Diamonds Russell H. Conwell Acres of Diamonds	Acres of Diamonds	Russell H	Conwell	litmax/acrdi.lit		"Conwell, Russell H - Acres of Diamonds"
867	Why Certain Plants Are Acrid Professor William B. Lazenby Why Certain Plants Are Acrid	Why Certain Plants Are Acrid	Professor William B	Lazenby	litmax/acridplant.lit		"Lazenby, Professor William B - Why Certain Plants Are Acrid"
868	Across the Years Eleanor H. Porter Across the Years	Across the Years	Eleanor H	Porter	litmax/acros.lit		"Porter, Eleanor H - Across the Years"
869	Liber LIX - Across the Gulf Aleister Crowley Liber LIX - Across the Gulf	Liber LIX-Across the Gulf	Aleister	Crowley	litmax/acrossgulf.lit		"Crowley, Aleister - Liber LIX-Across the Gulf"
870	Across the Moors William Fryer Harvey Across the Moors	Across the Moors	William Fryer	Harvey	litmax/acrossmoors.lit		"Harvey, William Fryer - Across the Moors"
Oh, by the way, when I say 'Format F M L' should be 'Format L, F M' I don't mean using the Book Properties with the same name, but instead using just one field (Author Firstname) as a source and performing that string manipulation on it ONLY i.e. Author 'Russell H Conwell' becomes 'Conwell, Russell H'. The tricky part is spotting surname suffixes like Sr., Jr. or III.

Quote:
Thank you, I am glad the program is working for you. I appreciate the comments.

I added the list above to 1.1.7

-- Michael
I like where this program is going: IMP format displayer and editor. It's been a long time coming and I am only glad I can be a "catalyst" for you to produce same. I am a "hobby" programmer and most suited to tweaking code already written than writing my own code from scratch (especially with a GUI!).

Last edited by nrapallo; 01-03-2009 at 08:15 AM.
nrapallo is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GUI bug? edbro Calibre 2 06-19-2010 09:55 AM
Gui confusements. brewt Calibre 8 12-30-2008 12:16 PM
Mobi2Mobi GUI Batch Jad Kindle Formats 8 10-22-2008 07:22 AM
iLiad GUI for the iLiad tribble iRex Developer's Corner 1 06-01-2007 02:29 PM


All times are GMT -4. The time now is 04:32 AM.


MobileRead.com is a privately owned, operated and funded community.