[PR #56] Extract Ms-cabs while reading instead of loading all datablocks into memory #93

Closed
opened 2026-01-29 21:16:59 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/SabreTools/SabreTools.Serialization/pull/56

State: closed
Merged: Yes


Also fixes https://github.com/SabreTools/SabreTools.Serialization/issues/44 somehow.

While this is marked as draft, it's basically done. The only things I still want to do are add failsafes so that as much extraction as possible can continue to happen if errors occur, fix some edge cases (at present, I only know of one file in one cab set that's a regression, the other issues seem to have already been present), and convert most of my TODOs into PR comments. While I did mention before that I wanted to split up the main extraction loop, trying to do so resulted in some really ugly code due to how much state needs to be shared, so I went back on that. I'm perfectly fine with splitting things up if still asked, though.

**Original Pull Request:** https://github.com/SabreTools/SabreTools.Serialization/pull/56 **State:** closed **Merged:** Yes --- Also fixes https://github.com/SabreTools/SabreTools.Serialization/issues/44 somehow. While this is marked as draft, it's basically done. The only things I still want to do are add failsafes so that as much extraction as possible can continue to happen if errors occur, fix some edge cases (at present, I only know of one file in one cab set that's a regression, the other issues seem to have already been present), and convert most of my TODOs into PR comments. While I did mention before that I wanted to split up the main extraction loop, trying to do so resulted in some really ugly code due to how much state needs to be shared, so I went back on that. I'm perfectly fine with splitting things up if still asked, though.
claunia added the pull-request label 2026-01-29 21:16:59 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SabreTools/SabreTools.Serialization#93