Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

howto including deleted records #11

Open
jenswes opened this issue Aug 19, 2023 · 1 comment
Open

howto including deleted records #11

jenswes opened this issue Aug 19, 2023 · 1 comment

Comments

@jenswes
Copy link

jenswes commented Aug 19, 2023

Hello, thanks a lot for your work

while reading this, i'm wondering if this could be used to including deleted records i have a fp5 file and hoping it will include accidentialy deleted records.

In https://github.com/evanmiller/fmptools/blob/main/HACKING

fp5 sector layout:

    Offset  Length  Value
    0       1       Deleted? 1=Yes 0=No

in src/fmp.h it is declared as int deleted;

in src/block.c

src/block.c:    // block->deleted = sector[0];
src/block.c:    block->deleted = 0;

so my idea was forcing each block to be not deleted :-)
but after compiling i'll get the same amount of data as without the patch

thanks for any hints

@evanmiller
Copy link
Owner

Since a "block" might consist of many records, I'd guess that its deleted attribute won't be applicable to individually deleted records.

Do you know what any of the deleted data looks like? It might help to search the file e.g. with a hex editor to verify that the deleted records are actually in the file before trying to reverse engineer it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants