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

gust_elixir fails to recreate archives with dummy entries #31

Closed
VitaSmith opened this issue Feb 1, 2021 · 0 comments
Closed

gust_elixir fails to recreate archives with dummy entries #31

VitaSmith opened this issue Feb 1, 2021 · 0 comments
Assignees

Comments

@VitaSmith
Copy link
Owner

Some archives, such as Ryza 2's pc20c_model.elixir.gz have dummy elixir entries (i.e. 0 sized entries with the name dummy), which we obviously don't extract.

However, because we don't register these entries in the JSON list of extracted files, one may then get an error when recreating the elixir archive:

> gust_elixir.exe pc20c_model
Creating 'pc20c_model.elixir.gz'...
Saved backup as 'pc20c_model.elixir.gz.bak'
ERROR: number of files doesn't match header

gust_elixir should therefore keep the dummy entries listed in the .json and add those dummy entries back to the re-created .elixir[.gz].

@VitaSmith VitaSmith self-assigned this Feb 1, 2021
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

No branches or pull requests

1 participant