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

Allow loading Resources from zip files #1803

Merged
merged 1 commit into from
Sep 23, 2022

Conversation

Birdulon
Copy link
Member

Description

Allows setting config.folderStructure.resources to a .zip file, to avoid the need to extract resources to a folder and save a bit of space on the install footprint.
On my machine, the zip is a bit over 200MiB compared to 1.1GiB for the extracted folder.
Should also skip the extraction step for Cultivation in the future ;)

Issues fixed by this PR

Type of changes

  • Bug fix
  • New feature
  • Enhancement
  • Documentation

Checklist:

  • My code follows the style guidelines of this project
  • My pull request is unique and no other pull requests have been opened for these changes
  • I have read the Contributing note and Code of conduct
  • I am responsible for any copyright issues with my code if it occurs in the future.

Move Resources loading from String filenames to Paths
Add zip support
@Birdulon Birdulon merged commit fbc0219 into Grasscutters:development Sep 23, 2022
@Birdulon Birdulon deleted the ResourceZip branch September 23, 2022 13:04
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.

None yet

1 participant