# 请教pdb文件怎么解包

**URL:** <https://forum.freemdict.com/t/topic/27993>\
**Category:** 技术交流与词典编修\
**Tags:** 技术\
**Created:** [2024 年4 月 10 日 23:39 UTC](https://forum.freemdict.com/t/topic/27993 "2024-04-10T23:39:58Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ppxia](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/ppxia/32/58538_2.png) [@ppxia](https://forum.freemdict.com/u/ppxia)\
**Post date:** [2024 年4 月 10 日 23:39 UTC](https://forum.freemdict.com/t/topic/27993/1 "2024-04-10T23:39:58Z")

</div>

偶然看到网上有AHD5的DATA包下载，寻思pdb是什么数据库格式，是不是有可能提取？  
[https://rexdlbox.com/index.php?id=american-heritage-english-plus-apk](https://rexdlbox.com/index.php?id=american-heritage-english-plus-apk)

---

<div class="post-metadata">

**Author:** ![shaoshi](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/shaoshi/32/14529_2.png) [@shaoshi](https://forum.freemdict.com/u/shaoshi)\
**Post date:** [2024 年4 月 10 日 23:45 UTC](https://forum.freemdict.com/t/topic/27993/2 "2024-04-10T23:45:08Z")

</div>

Pdb：Palm平台的Kdict、Zdict格式。用DeKDic转换为纯文本。

pdb的词库很古老了，不太可能是什么好东西。需要词库的话，在本坛找mdx格式吧。

pdb的词库，在stardict风行时，大概都被转换为stardict词库了。

mdict接着流行，stardict词库又被转移到mdx词库了。

再去翻电子档案的古董，没有意义。

参看：

[词库种类及使用方法](https://forum.freemdict.com/t/topic/17795)

---

<div class="post-metadata">

**Author:** ![atauzki](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/atauzki/32/1365_2.png) [@atauzki](https://forum.freemdict.com/u/atauzki)\
**Post date:** [2024 年4 月 11 日 01:38 UTC](https://forum.freemdict.com/t/topic/27993/3 "2024-04-11T01:38:06Z")

</div>

我还以为msvc的调试符号文件什么时候也能做字典了 😅

---

<div class="post-metadata">

**Author:** ![ppxia](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/ppxia/32/58538_2.png) [@ppxia](https://forum.freemdict.com/u/ppxia)\
**Post date:** [2024 年4 月 11 日 02:25 UTC](https://forum.freemdict.com/t/topic/27993/4 "2024-04-11T02:25:02Z")

</div>

光看apk，年代似乎没有那么久远，也就5年前吧。  
如果是iSilo那就真是太古早了。

---

<div class="post-metadata">

**Author:** ![shaoshi](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/shaoshi/32/14529_2.png) [@shaoshi](https://forum.freemdict.com/u/shaoshi)\
**Post date:** [2024 年4 月 11 日 02:31 UTC](https://forum.freemdict.com/t/topic/27993/5 "2024-04-11T02:31:44Z")

</div>

假如是改造过的pdb，可能没办法解包。

last\_idol的心得  
Pdb ：现存有两种格式用这个后缀，一种是 SQLite 的实现，还有一种是 Palm Database 的实现，Pleco，AHD+ 用的后者，Pleco 对这个格式做了大改动。

> [@词库种类及使用方法](https://forum.freemdict.com/t/topic/17795/3):
>
> 做过类似调查，补充下： Pdb ：现存有两种格式用这个后缀，一种是 SQLite 的实现，还有一种是 Palm Database 的实现，Pleco，AHD+ 用的后者，Pleco 对这个格式做了大改动。 EPWING : Logovista 的内置格式，早先词典格式的标准是公开的，EBWin/EBPocket 可以读取到词典数据，现在新版本的部份数据已经加密。 StarDict ：很多…

@last_idol  
我想这种现存的pdb无法破解吧？

---

<div class="post-metadata">

**Author:** ![last\_idol](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/last_idol/32/2205_2.png) [@last\_idol](https://forum.freemdict.com/u/last_idol)\
**Post date:** [2024 年4 月 11 日 04:12 UTC](https://forum.freemdict.com/t/topic/27993/6 "2024-04-11T04:12:17Z")

</div>

没有办法，付费词典 APP 目前无法提取的两种词典格式就是 `.pdb` 和 `.sdc`，这里有问题追踪：

> <https://github.com/ilius/pyglossary/issues/233>
>
> .pdb format file is used by mobi systems in android. 
> I want to convert it to s…tardict. After that i will it in koreader. Please provide support

> <https://github.com/ilius/pyglossary/issues/181>
>
> Would be nice to have support for SlovoEd in pyglossary.
> 
> However be careful b…ecause the company that develops dictionaries has a patent on this format and they may take the whole repository down if you post it here, even as open source.
> 
> To bypass this, push plugin somewhere else as another user and post the link here, in this issue

---

<div class="post-metadata">

**Author:** ![ppxia](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/ppxia/32/58538_2.png) [@ppxia](https://forum.freemdict.com/u/ppxia)\
**Post date:** [2024 年4 月 11 日 10:28 UTC](https://forum.freemdict.com/t/topic/27993/7 "2024-04-11T10:28:12Z")

</div>

嗯嗯，本来只是想着app数据现成，看来是此路不通。

---

<div class="post-metadata">

**Author:** ![last\_idol](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/last_idol/32/2205_2.png) [@last\_idol](https://forum.freemdict.com/u/last_idol)\
**Post date:** [2025 年9 月 14 日 06:01 UTC](https://forum.freemdict.com/t/topic/27993/9 "2025-09-14T06:01:35Z")

</div>

你发几个文件我用下面那个工具试试。Pleco 也是用的这个格式，但是据说是改版过的， MobiSystems 的是离线文件，直接从 WebView 那可以拦截到对应文本，但是它没啥好用的词典，没动力这么搞。
