You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to write a minimal example that uses the APE-is-also-a-ZIP feature, so I thought it would be helpful to collect the below info all at one spot (if there isn't already).
Is every APE a ZIP file?
Do I have to add any additional headers/object files to make the APE a ZIP?
Alternatively, can I disable this feature when building the APE? Does disabling offer any benefit (binary size/speed)?
After compilation, can I use zip/unzip or similar software to add data files to the APE?
How do I add data files to the APE at compile time? Does it change if I'm adding multiple folders of files?
Can I use regular filesystem calls (fopen etc.) on the internal ZIP store or are there custom functions?
If using fopen etc. what location do I specify to read from the internal ZIP store?
Can the APE "self-modify" itself at runtime i.e. write/add/delete files from its internal ZIP store?
Can I use a compilation flag/runtime call to toggle the "self-modify" feature (eg only reads allowed)?
Any important differences to note when loading a file from the internal store vs a local file (r/w speed, memory usage, OS-related issues)?
The text was updated successfully, but these errors were encountered:
I wanted to write a minimal example that uses the APE-is-also-a-ZIP feature, so I thought it would be helpful to collect the below info all at one spot (if there isn't already).
zip
/unzip
or similar software to add data files to the APE?fopen
etc.) on the internal ZIP store or are there custom functions?fopen
etc. what location do I specify to read from the internal ZIP store?The text was updated successfully, but these errors were encountered: