Page 4 of 5

Re: Babylon dictionaries in .BDC format

PostPosted: Sat Dec 03, 2011 8:53 pm
by chulai
no, but I'm sure you don't need them either.

Re: Babylon dictionaries in .BDC format

PostPosted: Sat Dec 03, 2011 11:00 pm
by ikm
Those _sub files are network-based variants - they are not supported by GoldenDict and appear as empty dictionaries (which they essentially are).

Re: Babylon dictionaries in .BDC format

PostPosted: Sun Dec 04, 2011 1:12 am
by ctcx
Just out of curiosity, what does "empty network-based variant" mean in this case?
When using Babylon it can look for online results without previous dictionary installation, which means without those _sub.bgl files...

Re: Babylon dictionaries in .BDC format

PostPosted: Sun Dec 04, 2011 2:02 am
by chulai
I'm just guessing here... but If I recall correctly, Babylon allows to download the dictionary or subscribe to it, which means that it's going to always be used to search and show on results. Then, maybe "_sub" means subscription.

ctcx wrote:Just out of curiosity, what does "empty network-based variant" mean in this case?
When using Babylon it can look for online results without previous dictionary installation, which means without those _sub.bgl files...

Re: Babylon dictionaries in .BDC format

PostPosted: Mon Jul 08, 2013 1:33 pm
by sadeqzadeh
I tried to convert bdc glossaries using unpackBGL.exe (under wine), but it raises an error, something like "no read point found".
Here is the first glossary file I'm trying to convert (to StarDict format or tabed text):
<<the link is deleted>>
I also tried pyGlossary, but it couldn't help as well.
Any advice?
Thank you in advance.

Re: Babylon dictionaries in .BDC format

PostPosted: Mon Jul 08, 2013 2:08 pm
by Gloggy
Folks, please refrain from posting links to the copyrighted dictionaries.

Re: Babylon dictionaries in .BDC format

PostPosted: Tue Jul 09, 2013 1:57 am
by sadeqzadeh
Gloggy wrote:Folks, please refrain from posting links to the copyrighted dictionaries.


I'm sorry man! I had totally forgotten that's copyrighted.

Re: Babylon dictionaries in .BDC format

PostPosted: Tue Apr 15, 2014 9:15 pm
by ilius
I'm reverse engineering BDC format, and it's hopeful
There are two main differences in BDC from BGL:
1- BGL is gzip compressed, BDC is not
2- BGL keeps all the input and output phrases (words and descriptions) as cleartext (with some encoding), but BDC somehow encrypts the in/out strings (other than metadata which are cleartext). But the encryption method is not very complex (they haven't been very smart), it's kind of a character map with apparently a little randomness! This is the mapping I have discovered so far:
(You see there are two alternatives for some characters like O and S)

_ 05
a cb
b 37
c 39
d c1
e cf
f 33
g 3d
h cd
i c3
j 3f
k 31
l c9
m c7
n 3b
o 35, c5
p d5
q db
r 27
s 29, 26
t d1
u df
v 23
w 2d, d2
x dd
y d3
z 2f

Re: Babylon dictionaries in .BDC format

PostPosted: Thu Aug 14, 2014 12:11 am
by timofonic
Great!

Any news?

Re: Babylon dictionaries in .BDC format

PostPosted: Tue Oct 07, 2014 7:47 am
by motaleby
ilius wrote:I'm reverse engineering BDC format, and it's hopeful
There are two main differences in BDC from BGL:
1- BGL is gzip compressed, BDC is not
2- BGL keeps all the input and output phrases (words and descriptions) as cleartext (with some encoding), but BDC somehow encrypts the in/out strings (other than metadata which are cleartext). But the encryption method is not very complex (they haven't been very smart), it's kind of a character map with apparently a little randomness! This is the mapping I have discovered so far:
(You see there are two alternatives for some characters like O and S)

_ 05
a cb
b 37
c 39
d c1
e cf
f 33
g 3d
h cd
i c3
j 3f
k 31
l c9
m c7
n 3b
o 35, c5
p d5
q db
r 27
s 29, 26
t d1
u df
v 23
w 2d, d2
x dd
y d3
z 2f


Dear ilius
We've been waiting so long for your great job, please inform us the results.