https://github.com/arkntools/unity-js-tools
Some tools for unity-js, compiled from Rust to Wasm
https://github.com/arkntools/unity-js-tools
assetbundle unity
Last synced: 8 months ago
JSON representation
Some tools for unity-js, compiled from Rust to Wasm
- Host: GitHub
- URL: https://github.com/arkntools/unity-js-tools
- Owner: arkntools
- License: mit
- Created: 2023-08-03T06:51:37.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-13T06:28:48.000Z (about 2 years ago)
- Last Synced: 2025-05-22T04:17:27.183Z (about 1 year ago)
- Topics: assetbundle, unity
- Language: Rust
- Homepage: https://www.npmjs.com/package/@arkntools/unity-js-tools
- Size: 28.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# unity-js-tools
[](https://www.npmjs.com/package/@arkntools/unity-js-tools)
Some tools for [unity-js](https://github.com/arkntools/unity-js), compiled from Rust to Wasm.
## Include
- [PSeitz/lz4_flex](https://github.com/PSeitz/lz4_flex)
- [UniversalGameExtraction/texture2ddecoder](https://github.com/UniversalGameExtraction/texture2ddecoder)
## Notice
wasm-bindgen seems to have some kind of flaw that causes bit operations to be incorrect in rare cases.
This causes some texture decoding methods need to be manually implemented some parts to modify its results.
The following methods have been fixed:
- `decodeEtc2Rgba8`
Be careful, maybe there will be errors in other methods but have not been found yet.