summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2022-10-14Added flag for downloadable resource to include them in default build targetAki
This allows to make sure that resources that are not part of datafile will get extracted before install target is executed.
2022-09-17Fixed datafile not adding source filesAki
2022-09-17Path normalization will now remove cwd from relative pathAki
2022-09-17Changed to install ogg files directly into the file systemAki
The current implementation of ogg loaded uses exclusively ov_open. The loader will need to be switched to ov_open_callbacks to support loading from the memory.
2022-09-17Added cmake function to install resources directlyAki
2022-09-17Fixed access to possibly null pointerAki
2022-09-16Fixed archive entry path on WIN32Aki
2022-09-16Added vox datafileAki
2022-09-16Added option to skip source directory from datafileAki
2022-09-15Renamed EventDispatch and EventTarget by adding UI prefixAki
2022-09-11Replaced Datafile and StarsEx/Archive with dat and ArchiveExAki
2022-09-11Archive Find is now case insensitive like originallyAki
2022-09-11Added method to retrieve amount of entries in archiveAki
2022-09-11Fixed WIN32 build of datAki
There might be small differences between option handling and fnmatch vs. PathMatchSpecA, but that's understandable.
2022-09-11Moved FilterFile aroundAki
2022-09-11Listing option now accepts pattern filtering like extractAki
2022-09-11Extracted fnmatch filtering to a higher-order funcAki
2022-09-11dat will now extract all files if no patterns are providedAki
2022-09-11Fixed extracting files to current working directoryAki
2022-09-11Fixed handling return value of create_directoriesAki
2022-09-11Implemented file extraction in dat utilityAki
2022-09-11Extended dat update action with recursive behaviourAki
2022-08-20Added options to inspect archive content in dat utilityAki
Old PrintX methods were replaced by higher order functions ForEachX that are intended to give slighly more granual control and move the responsibility of what actually happens to the user without introducing a whole iterator.
2022-08-20Added stub of CLI utility for handling archivesAki
This will eventually deprecate Datafile
2022-08-20Merged on-demand Archive creation to constructorAki
2022-08-17Added some utility scripts I used for some datafiles inspectionsAki
2022-08-17Renamed ArchiveEx namespaceAki
2022-08-17Hid Header definition from public archive headerAki
2022-08-17Added function to create an empty archiveAki
2022-08-11Renamed block map generation methodAki
2022-08-11Renamed Insertion and Extraction methodsAki
2022-08-11Code now consistently uses unique_ptr for arraysAki
Now, I realize this is a rather interesting choice. I want them to be consistent. In case of extraction the array gets released as part of the legacy interface. Because of this std::vector is out of question. All other cases could use it, but they all have the same start and purpose. Only that one differs and I don't like making it unique (pun intended).
2022-08-11Implemented inserting entries into archiveAki
2022-08-11Fixed null-terminated extractionAki
2022-08-09Added methods to inspect blocks in the archiveAki
This actually yields predicted tendency to leave a single unused block at the start of the archive in case where directory starts to need more blocks and none of new files can fill it in. Interestingly it also shows a long sequence of unused blocks just before the directory that is right at the end of the archive. The cause for that can be pointed out in original implementation of FindDataBlocks method.
2022-08-09Cleaned-up selected parts of newly added codeAki
2022-08-08Added a functionality that enables extracting files by their pathAki
2022-08-07Added method to expand stored filesAki
2022-08-07Reimplemented part of archive formatAki
This is getting reimplemented rather than refactor mostly in order to make clear which parts are needed for backwards compatiblity (reading-wise) and which are not. The current implementation has quite a number of quirks and potential failure points despite not being large. Understanding them is not worth it.
2022-08-03Extended size of cast even moreAki
It looks that after update of mingw there were some narrowing problems again, but only for selected constants. This is worrying but not pressing at all.
2022-04-14Reformatted Pcx to match newline and indent conventionsAki
2022-04-14Renamed PCX format source to match conventionAki
2022-04-14Removed unused Reset method in loaderAki
2022-04-14Removed source groups as they didn't find their use in the endAki
2022-04-14Switched to use new Sources everywhere applicable in the LoaderAki
2022-04-13Removed unused includes of DataLoaderAki
2022-04-12DataSource now properly includes file reading functionsAki
2022-04-12Fixed leaked cwd source from loaderAki
2022-04-12Remvoed unused UseVideo of DataLoaderAki
2022-04-12Removed prefix from data sourcesAki
This to avoid any potential issues due to use of mutable state across several objects that is in the end expected to be the same. This fits well as a function parameter.