ooz-wasm 2.0.0 - third-party component of palversum.com ======================================================= What it is A WebAssembly build of "ooz", an open-source decompressor for the Kraken, Mermaid, Selkie, Leviathan, LZNA and Bitknit formats. palversum.com uses it for one thing only: to unpack the Oodle-compressed container of a Palworld save file when a visitor imports their own save. It runs only inside its own small Web Worker (the decoder worker) in the visitor's browser; the save file is never uploaded. License GNU General Public License, version 3 or (at your option) any later version (GPL-3.0-or-later). Full text: LICENSE.txt in this folder. ooz: Copyright (C) 2016, Powzix. ooz-wasm: Alexander Drozdov. Corresponding source ooz-wasm-2.0.0-source.tar.gz in this folder: the complete source of the version we ship (the ooz C++ sources in lib/, the CMake build file, the build workflow, the JavaScript wrapper and package files). It is a copy of the upstream repository at the commit that was published as npm package ooz-wasm 2.0.0: https://github.com/SnosMe/ooz-wasm (commit ebed82851988add824e092dc4db320c8fa39aaca) Original ooz: https://github.com/powzix/ooz npm package: https://www.npmjs.com/package/ooz-wasm/v/2.0.0 Building it Install the Emscripten SDK, then in the unpacked folder: emcmake cmake -B build -DCMAKE_BUILD_TYPE=Release cmake --build build The result, build/ooz.js (the WebAssembly embedded as base64), and index.js are what the site's build bundles into its decoder worker (the bundler only minifies them). Our part of the decoder worker The decoder worker holds ooz-wasm and one short wrapper written for palversum.com, which takes compressed bytes and returns the unpacked bytes. That wrapper is published here as oodle-worker.txt, under the same license (GPL-3.0-or-later). The site builds it together with ooz-wasm with Vite (an ES module worker, minified). The rest of palversum.com does not include or link this component. The save reader runs in a separate worker and talks to the decoder worker only by messages: compressed bytes in, unpacked bytes out.