Skip to content

ptruong88/DigitViewer

 
 

Repository files navigation

y-cruncher v0.6.3's Digit Viewer

This is the full self-contained source code for y-cruncher v0.6.3's Digit Viewer.
It includes everything including the heavily optimized back-end conversion code.

To Compile (Windows):

  • Double-click Windows - Compile All.cmd.
  • You need to have Visual Studio 2012 installed in the default directory.

To Compile (Linux):

  • Run Linux - Compile All.sh from the directory it is in.
  • x64 and a sufficiently new version of GCC is required.

A Visual Studio 2012 project has been provided.
The compiled Windows binaries have also been included.
Running Digit Viewer.exe will automatically do CPU-dispatching to select one of the 4 binaries to run.

If you intend to use and modify the code, the classes of interest are in: /source/y-cruncher/DigitViewer
You can see how they are used in source/DigitViewerOptions.h


To date, I've been too lazy to write a document on the compression format and how the .ycd files are laid out. But it should be pretty easy to see from just examining it through a hex viewer.

Two things that might be useful:

  • Base 16 .ycd files are stored as 64-bit integers words with 16 digits per word.
  • Base 10 .ycd files are stored as 64-bit integers words with 19 digits per word.

In both cases, each 8-byte word is little-endian.


Directories:

About

y-cruncher v0.6.3's Digit Viewer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published