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

Added Addon::Writer + A few other changes #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RaphaelIT7
Copy link
Contributor

[+] Added -lowmemory option to write everything directly to the .gma file
Reduces the needed memory to only the size of the biggest file in the entire addon.
[+] Added -lowmemory and -nocrc to the help list.
[#] Reallocating the file buffer only once instead of every time.
[#] if necessary, write the .gma in chunks if the buffer gets too full.
NOTE: If this happens we cannot create a CRC of the .gma because at this point it would probably fail to load or cause a crash.

[+] Added -lowmemory option to write everything directly to the .gma file
Reduces the needed memory to only the size of the biggest file in the entire addon.
[+] Added -lowmemory and -nocrc to the help list.
[#] Reallocating the file buffer only once instead of every time.
[#] if necessary, write the .gma in chunks if the buffer gets too full.
NOTE: If this happens we cannot create a CRC of the .gma because at this point it would probably fail to load or cause a crash.
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