Re-wrote a bunch to try to figure out why things weren't working.

Turned out I was reading if a block was compressed exactly opposite.
Started to work more on looking up dirs.
This commit is contained in:
Caleb Gardner
2020-11-16 14:56:19 -06:00
parent 06b188d53c
commit 7a2f9a87ba
25 changed files with 504 additions and 3363 deletions
+7 -5
View File
@@ -10,16 +10,18 @@ I am focusing purely on unsquashing before squashing.
# Working
* Reading the header
* Reading data (slightly important :P)
* Reading inodes
* Reading directories
* Basic gzip compression (Shouldn't be too hard to implement other, but for right now, this works)
# Not Working (Yet). Roughly in order.
* Actually reading the compressed data
* Reading Inodes
* Reading the Directory structure
* Understanding the directory table. It's a bit weird TBH.
* Reading the UID, GUID, Xatt, Compression Options, Export, and Fragment tables.
* Implement other compression types
* Squashing
# Where I'm at
* Redid a bunch. Implemented a custom reader that can read across blocks.
* As of yet, doesn't seem to be reading things quite right (seems to be issue with encryption reading)
* Re-redid a bunch to try to make sure I wasn't durping. After that didn't work, I tried to figure out why things wheren't working, then realized HOW I was durping.