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:
Originally Posted by mscott161
[*]???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.
|