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

Re-packing #3

Open
martinlindhe opened this issue Jun 5, 2023 · 0 comments
Open

Re-packing #3

martinlindhe opened this issue Jun 5, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@martinlindhe
Copy link
Owner

martinlindhe commented Jun 5, 2023

A somewhat common use case is the ability to:

  1. unpack a custom archive
  2. make some changes
  3. reconstruct the custom archive with the changed files

This is a required step in modding of many games.

feng currently does not implement a repack feature, but it should be straight forward.

In order to re-pack a file, we need a input directory of previously extracted files (named correctly).

Map the input file, and iterate over it, replace the (maybe compressed) data blocks and re-calculate the required fields due to changed data sizes.

@martinlindhe martinlindhe added this to the 0.1 milestone Jun 5, 2023
@martinlindhe martinlindhe added the enhancement New feature or request label Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant