Switch patch apply to use XDeltaSharp #21

Merged
waffle.lord merged 1 commits from :feat-xdeltasharp into main 2024-06-25 08:54:59 -04:00
Contributor

This change depends on: #20
(The diff will get a lot smaller once that PR is merged)

  • This resolves the persistent -1073741819 error some users receive during patching
  • XDeltaSharp doesn't support creating deltas, so patch creation still depends on xdelta3.exe
This change depends on: https://dev.sp-tarkov.com/waffle.lord/Patcher/pulls/20 (The diff will get a lot smaller once that PR is merged) - This resolves the persistent `-1073741819` error some users receive during patching - XDeltaSharp doesn't support creating deltas, so patch creation still depends on xdelta3.exe
DrakiaXYZ added 2 commits 2024-06-25 00:43:30 -04:00
- Skip MD5 hash generation if the file size differs, as it's guaranteed to be different
- Disable xdelta compression, LZMA does a better job and quicker
- This resolves the persistent `-1073741819` error some users receive during patching
- XDeltaSharp doesn't support creating deltas, so patch creation still depends on xdelta3.exe
Author
Contributor

I provided a custom patcher to Aqua in the SPT discord containing this code, and uncompressed patches. They were unable to utilize the xdelta3.exe based patcher due to the Access Violation error, and had success on first try running this code

I provided a custom patcher to `Aqua` in the SPT discord containing this code, and uncompressed patches. They were unable to utilize the xdelta3.exe based patcher due to the Access Violation error, and had success on first try running this code
waffle.lord merged commit e2c1e9831d into main 2024-06-25 08:54:59 -04:00
Sign in to join this conversation.
No Reviewers
No Label
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: waffle.lord/Patcher#21
No description provided.