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
- This page will only work when hosted on a proper local or remote web server.
133
134
- The web server should be configured with 'Cross-Origin Isolation' (preferred), **or** the browser can be started with `SharedArrayBuffer` enabled, **or** you can add a loader to display the page with the correct headers configured (surprisingly, this is possible).
134
-
- The `callMain([])` array strings are the same as the individual 7-Zip command-line arguments.
135
+
- The `callMain([])` array strings are identical to the command-line version of 7-Zip on desktop systems, with the exception of how they are formatted.
You can use `js7z.NODEFS`, `js7z.WORKERFS` and `js7z.PROXYFS` as the first parameter of `js7z.FS.mount()` to mount more file system types, providing you are using a build with those features enabled.
208
209
210
+
Note that it is possible to work on files over 2GiB in size -- this limit only affects the processing part of 7-Zip, which is mostly used by internal compression/decompression dictionaries. It does not affect in-memory filesystem objects, which are allocated outside of the WebAssembly 'heap'.
211
+
209
212
Bypassing the File System
210
213
-------------------------
211
214
212
-
Like in Unix/Linux systems, you *can* manually pipe data to and from `stdin` and `stdout`, thereby bypassing the file system and Emscripten's 2GB in-memory storage limit. This does not work in all situations because compressing some file formats requires random access to files (e.g. to update tables of contents), so doing this is not usually recommended or necessary.
215
+
Like in Unix/Linux systems, you *can* manually pipe data to and from `stdin` and `stdout`, so you can avoid loading certain filetypes all at once. This does not work in every situation, and is not usually recommended, because compressing/decompressing many file formats requires random access to files (e.g. to query or update tables of contents).
213
216
214
-
With `NODEFS` backend mounts, the storage limit should not be a problem.
217
+
With `NODEFS` backend mounts, files can be randomly accessed directly on storage.
215
218
216
219
Multi-Threaded vs. Single-Threaded Builds
217
220
-----------------------------------------
@@ -268,7 +271,7 @@ Usage of these compilation flags will be displayed in 7-Zip's output.
268
271
269
272
Selecting extra exception catching will add `+EC` to the flags. This feature allows you to see further details of failures, such as extraction security issues, corrupt archive data, and incorrect passwords. Using this increases the build size, so it is switched off by default.
270
273
271
-
At the final stage of the build, `js7z.js` and `js7z.wasm` will be written into the `Alone2/b/g` folder. If multi-threaded mode is chosen, `js7z.worker.js`*may* be added. On recent versions of Emscripten, this file is an unused compatibility stub and can be deleted.
274
+
At the final stage of the build, `js7z.js` and `js7z.wasm` will be written into the `Alone2/b/g` folder.
0 commit comments