Miranda NG Official Community Forum

Forum for English speaking Miranda NG users => Support/Help => Topic started by: Osoro on 03 02 2020, 14:53:51

Title: Database format
Post by: Osoro on 03 02 2020, 14:53:51
Hi there. I have old corrupted database, not ecrypted.
So i want to make simple tool for checking consistency and will try to find error manually.

Do we have anywhere documentation about database format, or it is can be find only on source code?
Title: Re: Database format
Post by: dartraiden on 03 02 2020, 17:44:22
How old? Is it MMAP or MDBX database?
Title: Re: Database format
Post by: Osoro on 03 02 2020, 18:33:52
2007
.dat file
winhex showing readable content inside
Title: Re: Database format
Post by: dartraiden on 03 02 2020, 18:51:21
miranda im + dbtool

Title: Re: Database format
Post by: Osoro on 03 02 2020, 21:14:53
It is not repairing automatically. Destroying history. So i want to try manually somehow.
Title: Re: Database format
Post by: ghazan on 05 02 2020, 17:20:06
Osoro,
it seems that the only way of recovering this file is writing your own tool that will uncrunch data from the old profile.
all structures are described in the /plugins/Dbx_mmap/src/dbintf.h, so you can easily create your own program that reads them