Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HedgeLib++ - CAB Support #43

Open
Radfordhound opened this issue Jan 15, 2019 · 0 comments
Open

HedgeLib++ - CAB Support #43

Radfordhound opened this issue Jan 15, 2019 · 0 comments

Comments

@Radfordhound
Copy link
Owner

CAB files which contain ar files are are used by Generations PC within PFD files, so we'll obviously want to support this too.

The CAB format itself is well documented by Microsoft, so this much of it shouldn't be hard.

However, in addition to the CAB format, we also need to support its varying types of compression, or at very least, LZX:18 - the type used by Generations PC.

Thankfully, documentation for LZX is also available from Microsoft here, so we shouldn't have to do any cracking ourselves. However, as you can probably tell from the LZX documentation linked above, it's a very complex format that will therefore be difficult to implement proper support for.

I believe there are built-in Windows APIs that we could call upon to do this for us (and I mean more than just calling expand.exe). These would serve fine as a temporary solution, however, for the long-run I'd like to implement these in HedgeLib itself so as to allow for proper Linux support.

We can find an open-source project which supports LZX as well, though we need to keep licensing in-mind if we go this route.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant