GithubHelp home page GithubHelp logo

aranchelk / boldretriever Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 17 KB

Bold Retriever is a utility for parsing files generated by Btrieve.

License: BSD 4-Clause "Original" or "Old" License

Haskell 100.00%

boldretriever's Introduction

Bold Retriever

What is Btrieve?

Btrieve is proprietary database software. For more information, look here:

What is Bold Retriever?

Bold Retriever is an alpha-quality utility for parsing binary database files generated by Btrieve (with extension .dbp). It was developed by reverse engineering a single .dbp test file. Btrieve is currently on version 12. The version of that test file is not known. "Your mileage may vary" is be a significant understatement.

How to use:

  1. Install haskell stack: https://docs.haskellstack.org/en/stable/README/

  2. Check out this repository and cd to the repo directory

    stack build

  3. Locate the Btrieve dbp file you want to parse.

  4. Btrieve uses a fixed width format for data, we need to find the positions for each column

stack exec findColumnLengths <your_file.dbp>

  1. Copy the last line outputted below "Boundaries:", you need them for them for the next step.
  • Note: This step is imperfect, column width is probably saved somewhere in the dbp's file control record (FCR), but FCR parsing is not implemented, this utility guesses based on presents of null characters. You can modify the outputted list of numbers to fix bad assumptions made by the utility.
  1. Parse the file stack exec parse <your_file.dbp> "<quoted list of numbers copied in the previous step>"

boldretriever's People

Contributors

aranchelk avatar

Watchers

James Cloos avatar  avatar

Forkers

simotronic

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.