Skip to content

rpkg-rs v2: Electric Boogaloo#14

Draft
dafitius wants to merge 5 commits into
mainfrom
v2
Draft

rpkg-rs v2: Electric Boogaloo#14
dafitius wants to merge 5 commits into
mainfrom
v2

Conversation

@dafitius

@dafitius dafitius commented Jun 5, 2026

Copy link
Copy Markdown
Owner

This pull request introduces several improvements and breaking changes to rpkg-rs, hence the version update to 2.0.0.

  • The API for specifying game versions has been refactored to use the new GlacierGame, WoaGame, and LegacyGame enums instead of the WoaVersion.
  • The legacy resource package reading logic is now unified with the standard api
  • Support for Knt has been streamlined by using the GlacierGame versioning
  • All deprecated functions, structs and modules have been removed, or repurposed!

dafitius added 2 commits June 5, 2026 22:01
- Replaced WoaVersion with GlacierGame, split into Woa(WoaGame), Legacy(LegacyGame), and Knt.
- Added glacier-base and upgraded glacier-ini.
- Added validation errors for unsupported legacy package building, invalid package-version/game combinations, and unsupported legacy reference flags.
- Removed deprecated functions and modules

- PartitionManager, ResourcePartition, ResourcePackage and PackageBuilder now carry GlacierGame.

- Added KNT parsing/building behaviour
- Streamlined Legacy parsing behaviour

- Progress callbacks were tightened from FnMut to Fn in partition mounting APIs.
@dafitius
dafitius marked this pull request as draft June 5, 2026 20:21
dafitius added 3 commits June 5, 2026 22:44
The new PackageBuilder validation stuff probably warrants some new tests
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