Giter VIP home page Giter VIP logo

bxl_to_eagle's Introduction

bxl_to_eagle

Note: This code DOES NOT WORK!

This was an attempt at decoding the bxl files from Ultra Librarian.

I read somewhere that bxl files are Huffman encoded and that the first 4 bytes are the length of the original uncompressed file. But from what I understand that's not enough information to actually decode these files.

To actually decode Huffman encoded files we need the actual Huffman, binary probability tree holding all the characters from the original file. I do not know if the probability trees are stored in the bxl file themselves or if the Ultra Librarian is using a single probability tree for all of it's bxl files.

In either case, at the present, we don't actually have enough information to extract bxl files ourselves.

The next step would be to reverse engineer Ultra Librarian a bit and see if we can figure out where it's getting the Huffman tree from. Once we have that, we'd have to modify the coder.rb or build our own decoder to read in the tree.

coder.rb

By the way, I yanked the coder.rb from https://github.com/lithium3141/HuffmanCoding

I also modified it slightly to deal with ASCII-8BIT formatted inputs instead of UTF-8. I also put a simple error check in case the returned byte didn't make sense in the charactor set...

bxl_to_eagle's People

Contributors

jameshagerman avatar

Stargazers

Miklós Márton avatar yulei avatar

Watchers

James Cloos avatar  avatar yulei avatar

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.