Skip to content

Fix PBO path resolution - #227

Open
bjoern-sobolewski wants to merge 1 commit into
SQFvm:masterfrom
bjoern-sobolewski:fix-pbo-path-resolution
Open

bjoern-sobolewski wants to merge 1 commit into
SQFvm:masterfrom
bjoern-sobolewski:fix-pbo-path-resolution

Conversation

@bjoern-sobolewski

Copy link
Copy Markdown

Support paths with a leading slash and make PBO path lookup case-insensitive to match Arma3 behavior.
Check both the archive and member name when detecting recursive includes so files in the same PBO can include one another.
Fix the filename shown in read errors and return a nonzero CLI exit code when an archive cannot be opened or a member read fails.

Tested on Windows x64. Also checked rooted, unrooted and mixed-case include paths against Arma3's ui_f.pbo.

Support paths with a leading slash and make PBO path lookup case-insensitive to match Arma3 behavior.
Check both the archive and member name when detecting recursive includes so files in the same PBO can include one another.
Fix the filename shown in read errors and return a nonzero CLI exit code when an archive cannot be opened or a member read fails.
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

Successfully merging this pull request may close these issues.

1 participant