Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > PocketBook

Notices

Reply
 
Thread Tools Search this Thread
Old 06-22-2016, 02:40 AM   #1
4sparw
Junior Member
4sparw began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2016
Device: Pocketbook Touch Lux 3
DIC BGL Mystery

Hi, I'm trying to convert my BGL dictionary to a pocketboot format, but the pocketbook dictionary converter(more versions) keeps crushing(tried it even in windows, didn't work either). It just shuts down after the convert.exe dict.xdxf pt order.
I would love to have the dictionary in my reader, it would greatly help me with my studies, but I've been struggling with it for days and not even one of the many instructions found on the internet have helped me. So is there anyone who could solve me the mystery?
I have linux mint, I can run Dictionary converter on WINE, also Linguae, I have dictconv, also pyglossary and still no luck Oh, forgot about the Stardict, but it was also an enormous not so successful attempt to install koreader and run the dictionary as a stardict dictionary. I have the newest firmwer I believe(W626.5.12.530). The dictionary is here:
Code:
https://ulozto.cz/xpNVq8w8/adict-bgl
If anybody could help me I would greatly appreciate it. Converting it or solving the mystery why I can't convert it myself.
Thanks in advance
4sparw is offline   Reply With Quote
Old 06-22-2016, 03:22 AM   #2
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 3,015
Karma: 18765431
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
Did you create the collates.txt, keyboard.txt and morphems.txt files yourself?
rkomar is offline   Reply With Quote
Advert
Old 06-22-2016, 03:25 AM   #3
4sparw
Junior Member
4sparw began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2016
Device: Pocketbook Touch Lux 3
No, I cpied them from one of the Pocketbook dictionary converter, is there anything wrong with them? I admit I didn't even open them, I supposed they would be ok since they're from the converter.
Edit: (of course you cannot see them, so if you want to, i can post them here i guess, but they are from the PB dictionary converter, should be fine)
4sparw is offline   Reply With Quote
Old 06-22-2016, 03:47 AM   #4
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 3,015
Karma: 18765431
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
I think the keyboard.txt file is fine, but the collates.txt can be improved, and the morphems.txt should be completely replaced (it is a copy of the English morphemes file). Still, they won't stop the conversion program from running, just produce a less useful dictionary.

I'll try converting with my version of converter.exe (older version without cygwin libraries) and let you know how it goes.
rkomar is offline   Reply With Quote
Old 06-22-2016, 03:57 AM   #5
4sparw
Junior Member
4sparw began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2016
Device: Pocketbook Touch Lux 3
Would be wonderful. Thanks.
Still bothers me that I'm not able to do it and I don't know why (yes, I hate unsolved mysteries) so I welcome any suggestions how to make it work, what worked for other people... I'm opened to any experiment
4sparw is offline   Reply With Quote
Advert
Old 06-22-2016, 04:38 AM   #6
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 3,015
Karma: 18765431
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
I dimly recall trying to work with BGL format dictionaries before, and after doing some searching, I see it was five years ago based on the following post: https://www.mobileread.com/forums/sho...&postcount=130

So, you have to convert BGL to .dict, then to .xdxf, and finally to the PocketBook format. The converter.exe program doesn't work with BGL files itself.
rkomar is offline   Reply With Quote
Old 06-22-2016, 06:33 AM   #7
4sparw
Junior Member
4sparw began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2016
Device: Pocketbook Touch Lux 3
I tried that. Didn't work. Probably somewhere in the process I make mistake or there are not compatible conversions or something just goes wrong and it shuts the converter.exe down even when I feed it with the file converted to xdxf. That's why I seek help here, I've tried to convert it over and over whole weekend and few more hours this week but it just doesn't work.
4sparw is offline   Reply With Quote
Old 06-25-2016, 03:59 AM   #8
4sparw
Junior Member
4sparw began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2016
Device: Pocketbook Touch Lux 3
Nobody else? Any suggestion, idea how to make it work?
4sparw is offline   Reply With Quote
Old 06-25-2016, 05:17 AM   #9
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 3,015
Karma: 18765431
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
I didn't try it myself because I don't have linguae working anymore (I don't think I used it after that test five years ago). If you upload the xdxf file somewhere, then I or someone else can try that. Chances are there are problems with that file. Maybe some lines are too long, or... The BGL file I tried many years ago converted with those tools without problem.
rkomar is offline   Reply With Quote
Old 06-30-2016, 11:04 AM   #10
4sparw
Junior Member
4sparw began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2016
Device: Pocketbook Touch Lux 3
Sounds possible(the long lines). Sorry fr the long waiting, I got so busy I completely forgot to upload it. There are two files, the dict is the converted by myself, the brpt-en is downloaded from the internet. I tried to convert it too but also with no success. Thanks in advance for your help.
https://uloz.to/!Meo1CtAnZ/dict-xdxf
https://uloz.to/!SZSWAMbRH/brpt-en-xdxf
4sparw is offline   Reply With Quote
Old 07-04-2016, 05:45 PM   #11
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 3,015
Karma: 18765431
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
I tried both files, and they worked. The big one took a minute or two to pack. I used the converter program that was released in 2009. I also tried with the latest version (with the cygwin runtime libraries), and that one crashed on me. So, you should download the one attached in that post I linked to above. I then just used that converter.exe file with the locales language files that came with the cygwin version of the converter program.

I looked inside the dict.xdxf file, and it looked like the XML was malformed. There were lots of
Code:
<IMG src="
elements that weren't closed. I took them out, but it didn't change the output. I guess the converter was able to figure out how to ignore them.

Last edited by rkomar; 07-04-2016 at 05:57 PM.
rkomar is offline   Reply With Quote
Old 07-05-2016, 02:52 AM   #12
4sparw
Junior Member
4sparw began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2016
Device: Pocketbook Touch Lux 3
Well, at least I know it can work, thanks a lot, unfortunately it didn't change the crushing problem here. I already had the 2009 version, I tried every possible version I found on internet and it just keeps crushing, tried to run it as root, tried to move the files to a folder, doublechecked what I write (converter.exe dict.xdxf pt), no mistakes, but it just keeps crushing. i even tried to run it on my sisters computer which has windows, it crushed. Could I ask you for a favor, could you upload it somewhere so I could download it? It doesn't need to be there for a long time, I will keep trying to solve my mystery crushing, so I could do it myself, but for now I would really use the dictionary.
4sparw is offline   Reply With Quote
Old 07-05-2016, 03:19 AM   #13
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 3,015
Karma: 18765431
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
The second argument to the converter.exe has to be the name of a directory where the language files are. In my case, I copied the 2009 version of converter.exe, the xdxf files, and the locales directory from the most recent converter zip file into the same directory. Within the locales directory were many subdirectories for languages, including locales\pt for Portuguese. With these files, I ran the following command in the Windows command shell:

Code:
converter.exe dict.xdxf locales\pt
The same command also worked for the brpt-en.xdxf file.

I've managed to just squeeze the two dic files onto my ISP file sharing site, and I'll message the URL to you. I'll have to remove them soon, since I have almost no room left.
rkomar is offline   Reply With Quote
Old 07-12-2016, 10:10 AM   #14
4sparw
Junior Member
4sparw began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2016
Device: Pocketbook Touch Lux 3
I have the pt directory right there in the converter directory, so I put there only pt. converter.exe dict.xdxf pt, should work but it doesn't, tried to create loc directory and put the pt directory there and modify the command, but it didn't work. It just crushes. Not sure why. Any linux(mint) user who has some experience?
4sparw is offline   Reply With Quote
Old 07-12-2016, 05:20 PM   #15
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 3,015
Karma: 18765431
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
Are you running the converter using wine?
rkomar is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert .bgl dictionaries to mobi format? mobiuser Kindle Formats 7 12-06-2013 06:15 AM
Apps reading .BGL, .DZ and other formats Lomedin General Discussions 14 08-31-2013 05:10 PM
looking for Japanese reader with dic nukito Which one should I buy? 52 03-28-2013 07:24 AM
Better hyph_en.dic? WS64 Kobo Reader 2 07-15-2012 08:31 AM


All times are GMT -4. The time now is 01:05 PM.


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