Skip to content

jcr6/JCR6_CPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JCR6 for C++

NOTICE!

This is still a work in progress! It will not be fully functional, yet! But most of the library's functionality should operate normally. You can use the files in this repository under the terms of the zlib license, unless explicity stated otherwise inside the source file.

STATUS

  • All this library can now do properly is recognize a JCR6 file as such... Big deal, that was the EASY part... :P
  • A heading config can be read now, but at the current time, nearly no JCR6 files have this, so I cannot test this.
  • The file table can be read now, however:
    • Patching is not yet possible, so JCR6 files with dependencies can get crazy results
    • I didn't yet write any compression drivers, so currently JCR6 files with a packed file table cannot be read, but... Technically speaking it should be possible already to write such a driver, and if you are crazy enough to do so, it SHOULD work.... :) (I will study how to do that properly myself in C++, but my prime concern is getting the core to work, so this will come later).
  • I've put in a function which will load an entire JCR6 entry into a string, a routine I've used a lot in other languages, and since it was easy to implement in C++ it simply had to be there.
  • And I also did a function which will put all lines of a text file into a vector. Similar functions have also been used in other languages by me. Some of my GINI parsers have also been based on this.
  • Patching implemented although not fully tested yet. This should cover all the reading stuff, as far as non-packed files are concerned. What the best way is to do packed files is another chapter in this story.
  • zlib support.... I will investigate if I can include lzma as well.
  • Support for the "Where is All the Data?" (aka WAD) format. I often do this in order to make sure the extension with Dir Drivers works.
  • JCR6 writing routines have been added. I am not fully sure if they work yet (I doubt it) as they are not yet tested at all.
  • All parse errors have been fixed. This doesn't mean it all works, but at least the compiler doesn't moan :)
  • Writing works now. We're almost there, to give this library its true 'zlib' license at last ;)
  • Alias support
  • Now the dependency calls in writing are needed, but they come later, what I wanna make sure of before I can consider this a 'release' in the zlib license, is that the zlib driver also works when writing data.
  • 'zlib' now also supported when writing JCR6 files
  • And the 'zlib' license has been put into motion now. From now on that is the official license.

Releases

No releases published

Packages

No packages published